Questions tagged [porting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
222 views

What does "de-MFC'ifying"a GUI app consist of? [closed]

I'm planning to port or rewrite an MFC GUI C++ app, to use in a GNU/Linux environment, and hopefully make it cross-platform. The app has few, if any, dependencies other than MFC and the standard C++ ...
einpoklum's user avatar
  • 2,496
0 votes
3 answers
148 views

Merging Python2.7 code to its ported Python3.9 version

I am working on a Django based project that is version controlled with SVN. My main objective is porting it from Python2.7 to Python3.9. Whilst I port the project, my team brought some updates, now I ...
Mehmet Eren BULUT's user avatar
-1 votes
2 answers
867 views

How to port gcnew and gcroot from Visual C++ to gcc [closed]

I have the task to port some code from Visual C++ to gcc. Some calls are gcnew and gcroot to handle managed code inside cpp module. How can these calls be ported to gcc in a fashionable way?
TonyI's user avatar
  • 19
0 votes
1 answer
322 views

Windows Qt5-based app porting to Linux

I'm here today, because I'd like to ask you a question about porting application built with Qt5 to linux. I have been asked to port this application to linux, I don't yet have the source code, but I ...
pzaj's user avatar
  • 143
-1 votes
2 answers
164 views

What changes are needed to run a 32 bit software on a 64 bit system? [closed]

If I have software written in C for 32 bit system, what changes do I need to make in it to run it on a 64 bit system?
Waseem Abbas's user avatar
2 votes
2 answers
198 views

When to port vs when to develop?

Background My boss gave me a project he gave up on, it's a CFF/OTF font subsetting + embedding feature. There is no deadline(well, it's more of a research project than a feature request). So I started ...
legokangpalla's user avatar
4 votes
2 answers
7k views

How I can organise a project in more programming languages in Git repos? [closed]

At work I'm using Java, but I'm planning to study some other programming languages as Python or Clojure. I'm thinking of coding one project in Java in my Git repository and, during my study, coding ...
alepuzio's user avatar
  • 341
5 votes
5 answers
549 views

Should I ignore features of one language when I plan to port my code to another which doesn't have such features?

I'm currently toying around with a very large project. A interpreter for a simple scripting language. After weeks of planning, I decided that the best course of action would be to prototype part of ...
Christian Dean's user avatar
4 votes
5 answers
2k views

Is C is a portable language for new architectures or it is specific to ISAs?

How is the C language portable to any instruction set (I mean for new architectures)? Do we have to write a new C compiler for each new architecture?
Y07's user avatar
  • 127
12 votes
1 answer
330 views

Maintain API vs. using idioms in a port

I'm working on a port from Python to Rust and ran into some code that can't be expressed as naturally in Rust as they can in Python. One case of this is using default parameters: class Foo: def ...
erip's user avatar
  • 241
3 votes
1 answer
405 views

Porting an Apache licensed library from Java to C#, do I need to update the licensing to protect myself?

I'm porting the ESRI geometry-api-java library to C#. They have placed the library under the Apache License. They also mention it in the README.md. They have a small bit of licensing info in the ...
David's user avatar
  • 133
1 vote
1 answer
156 views

Porting security from Java/.NET to PHP

This probably a rather naive question given my limited knowledge in the code I've been looking at, but I want to get my head around it before I start diving into writing actual code myself. I'm ...
Flosculus's user avatar
  • 183
8 votes
1 answer
10k views

How do C/C++ programs get ported to different platforms? [closed]

Java applications can run on different platforms because they always run on top of a Virtual Machine specifically developed for each platform. So, there's no native installation, you just drop the ...
user avatar
2 votes
1 answer
596 views

Porting Silverligtht application to web application with Asp.net and HTML 5

I work as internal software developer. We used Silverlight to build our application, but we have been asked to start considering their replacement. Currently our set-up is: Silverlight application ...
MACN's user avatar
  • 185
0 votes
2 answers
205 views

Web developer sending port in web service from server to client

I'm working on a project where I have two websites (client and a server). I've opened web service and I'm trying to "send" a picture from my server to the client [WebMethod] public string PictureUrl(...
Buk Lau's user avatar
21 votes
2 answers
4k views

License terms when porting free software to another language

I'm exploring in the idea of porting an existing software package to another language. It's released under the Apache License 2.0, and is distributed for free; but there's a big different between ...
Marcus Downing's user avatar
7 votes
3 answers
4k views

Is it good to split big repository into smaller ones to have separate history/issue etc or keep it big? [duplicate]

We are currently porting our huge svn repo to git and we are thinking to export subdirectories of repository, each one containing source code of independent binaries, documentation or robot tests, ...
Patryk's user avatar
  • 1,269
3 votes
3 answers
2k views

Cloning existing software for commercial purposes - legal implications

I have been asked to clone some existing software for a company. Basically its an old 16 bit DOS console app, which was supplied free of charge in I believe the late 80's. Having replaced the machine ...
Hector's user avatar
  • 139
-1 votes
4 answers
2k views

Benefits of porting C library to C++ [closed]

Say we take any C library such as libpng or libvorbis and convert it so that it compiles as C++ (only the minimum changes to make it compile as C++ code). Can the compiler do extra optimizations when ...
links77's user avatar
  • 117
10 votes
1 answer
4k views

Is it viable to make a port from a C++ application to Java through LLVM

how viable is it to port a C++ application to Java bytecode using LLVM (I guess LLJVM)? The thing is that we currently have a process written in C++ but a new client has made mandatory to been able ...
Javier Mr's user avatar
  • 209
15 votes
5 answers
1k views

Does Scrum make sense when implementing a new compiler backend?

I have an existing language that I need to port to a new platform. I'll probably attempt this by changing the backend of the existing compiler. It is a significant amount of work to re-write the ...
Dave Hillier's user avatar
  • 3,938
1 vote
1 answer
75 views

Choosing the simplest platform version of a source when porting to another platform

The question will sound weird as I'm not very experienced in C, C++ and ASM. Let's say I have a hard time finding a C# managed, safe-code-only solution to solve a problem. Then I find that in 1998, ...
Léon Pelletier's user avatar
3 votes
1 answer
125 views

Ported Functions Licensing

I have found several functions in python 2.7.2 to be very useful and I recreated them in C++ for my own uses. How do I properly give python credit for them? Do I even have to? I never actually looked ...
calccrypto's user avatar
6 votes
1 answer
798 views

What licensing implications (if any) are there when porting code from one language to another? [duplicate]

I'm considering taking an old PHP4 web application and re-writing it using ASP.Net MVC4 in C#. The old application was licensed under GPL2. I'm unsure how this affects my new application, if at all. ...
Hades's user avatar
  • 161
7 votes
1 answer
435 views

Copyright/Licensing on a complete rewrite

There was an application for PalmPilots that I liked back when PalmPilots were a thing. I want to recreate it (or at least what I remember of it) for modern mobile devices. The problem is, after ...
smpolymen's user avatar
2 votes
1 answer
152 views

upgrading to newer version of compiler [closed]

I had legacy code that was originally build for some quite old version of compiler. We are talking about native code, not managed. Now it is ported to almost newest version of the compiler. Every ...
fen's user avatar
  • 131
0 votes
1 answer
1k views

Is it legal and ethical to reverse engineer software to port it to another system? [closed]

I love gaming, I love games that allow modding and I love linux. But the fact that most games right now are targeted for windows (consoles aside), most mods and modding tools are also targeted for ...
Igor Zinov'yev's user avatar
0 votes
1 answer
213 views

How to handle "porting" software that's still in development

My company is building an iOS version of an Android app that our client is developing (but has not yet released). We have access to the latest builds and source, however since the software is ...
BAM's user avatar
  • 491
1 vote
1 answer
215 views

Adapting parts of an open-source project for my own use

I'm in the process of coding a game and almost done with the game mechanics to the point where it's pretty playable. I later discovered an open source version of the kind of game I'm making with the ...
Chris C's user avatar
  • 645
3 votes
1 answer
324 views

A progressive plan from vb6 to .net, sound?

We are about to start a new project using an existing SQL DB, but this project is going to need to reuse a number of core features from an existing vb6 app that uses the same database. The approach I ...
Brandon Moore's user avatar
5 votes
3 answers
570 views

Porting library, what to do with JavaDoc comments/credits

I ported a library to Java, but am wondering what to do with the JavaDoc comments. The original library used javadoc comments too, so do I leave the @author tags from the original code? And how do I ...
Adam Harte's user avatar
2 votes
3 answers
430 views

Package name best practice when porting a library

What is the suggested way (specifically in the open-source world) for the package name when porting a library. Say I am porting someone else's library where they have used a reverse domain name ...
Adam Harte's user avatar
12 votes
5 answers
4k views

Are there any language agnostic unit testing frameworks? [closed]

I have always been skeptical of rewriting working code - porting code is no exception to this. However, with the advent of TDD and automated testing it is much more reasonable to rewrite and refactor ...
Bringer128's user avatar
9 votes
3 answers
282 views

When would be the best time to start porting the code of my own project? [closed]

If I have a personal programming project that I plan to port in another language so it could run in other environments, would it be more ideal to start porting the code as soon as possible and work on ...
Chris C's user avatar
  • 645
18 votes
5 answers
4k views

When should you rewrite? [duplicate]

Possible Duplicate: When is a BIG Rewrite the answer? In Joel Spolsky's famous (or infamous) article Thins You Should Never Do, Part I, he makes the case that doing a rewrite is always a wrong ...
BIBD's user avatar
  • 421
1 vote
3 answers
521 views

Ruby on Rails: Converting a Rails 3 app to Rails 2?

I just recently learnt ruby on rails using ruby 1.9.2 and rails 3 using Michael Hartl's tutorial. I'm making an application which I wanted to host on my preexisting server. However, I found that they ...
Ankit's user avatar
  • 11
2 votes
1 answer
453 views

How can a Silverlight app talk to another app on a Mac?

Is there any way that a Silverlight out-of-browser app can communicate with another app (for example an Objective-C app) installed on a Mac? Any help or suggestion will be highly appreciated.
Mike's user avatar
  • 183
4 votes
3 answers
316 views

What are your recommendations for porting a huge VC++6 project to later VS version?

We have a huge legacy C project which runs in VC++6. And I hope this will be ported to later versions of visual studio. But I think it will be a huge work. Actually, I just tried to recompile the ...
Gulshan's user avatar
  • 9,422
3 votes
2 answers
196 views

Maintaining Method Signatures across languages?

I'm finishing up a port I did of a portion of a Java Library. The library calculates sunrise and sunset for a given latitude and longitude. The original Java library also calculated various times ...
Moshe's user avatar
  • 5,012
4 votes
2 answers
2k views

Resources or advice useful coming to C# from python 2.7.1 [closed]

I'm a python monkey at heart. I eat drink sleep and dream in it, and have found that it's taught me much more about writing quality code than my degree in Computer Science ever did, however I've been ...
theheadofabroom's user avatar
14 votes
6 answers
7k views

What tips can you offer to someone porting code?

What advice (tips, techniques, gotchas, et cetera) do you have for someone who is porting a code library from one language to another, or rewriting it to work in a different compiler, environment?
Moshe's user avatar
  • 5,012
11 votes
3 answers
3k views

When porting code, must I follow the original license?

I'm an iOS developer and I've found myself porting code from several other languages recently for various projects and it got me thinking about code licensing. When porting code, is that considered ...
Moshe's user avatar
  • 5,012
8 votes
7 answers
4k views

Best way to estimate cost related to porting code from language A to language B?

Have a client thinking about estimating the cost of porting a project from language A to language B. What's the best way to put together an request for proposal to do this?
blunders's user avatar
  • 4,530
1 vote
2 answers
122 views

old KDE project

So I have this old C++, KDE project for QT 3.3.x. The IDE's version is 3.0.0-10, the one that comes with Linux RedHat 7.3. I'd want to get rid of the dependency to this environment, in other words I'...
Simone's user avatar
  • 163
5 votes
3 answers
3k views

Any experience porting a Powerbuilder application to Java (or another language)? [closed]

Does anyone out there have any experience porting a large Powerbuilder client/server application to a Java application (or another language)? By large I mean something on the order of 2 million lines ...
Dave Kincaid's user avatar
3 votes
1 answer
1k views

Strategies for porting application from Win32 API to GTK+

I have a legacy application written in C, using the raw Win32 API. The general level of abstraction is low and raw dependency on <windows.h> is common. I would like to port this application to ...
Vitor Py's user avatar
  • 4,838
3 votes
3 answers
397 views

A list of the most important areas to examine when moving a project from x86 to x64? [closed]

I know to check for/use asserts and carefully examine any assembly components, but I didn't know if anyone out there has a fairly comprehensive or industry standard check-list of specific things at ...
RobotHumans's user avatar
5 votes
4 answers
365 views

Does it make sense to make an Android version of my application?

I am a teenage hobbyist in high school, and I mostly release my software as open source; therefore I have little experience actually selling software, let alone in a specific area -- Android phones. ...
houbysoft's user avatar
  • 331