Questions tagged [porting]
The porting tag has no usage guidance.
47
questions
0
votes
3
answers
110
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 ...
-1
votes
2
answers
733
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?
0
votes
1
answer
229
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 ...
-1
votes
2
answers
155
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?
2
votes
2
answers
184
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 ...
4
votes
2
answers
5k
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 ...
5
votes
5
answers
527
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 ...
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?
12
votes
1
answer
315
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 ...
3
votes
1
answer
357
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 ...
1
vote
1
answer
151
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 ...
7
votes
1
answer
9k
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 ...
2
votes
1
answer
584
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 ...
0
votes
2
answers
200
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(...
20
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 ...
7
votes
3
answers
3k
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, ...
3
votes
3
answers
1k
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 ...
-1
votes
4
answers
1k
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 ...
9
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 ...
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 ...
1
vote
1
answer
69
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, ...
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 ...
6
votes
1
answer
776
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. ...
7
votes
1
answer
394
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 ...
2
votes
1
answer
149
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 ...
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 ...
0
votes
1
answer
207
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 ...
1
vote
1
answer
208
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 ...
3
votes
1
answer
317
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 ...
5
votes
3
answers
479
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 ...
2
votes
3
answers
401
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 ...
12
votes
5
answers
3k
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 ...
9
votes
3
answers
278
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 ...
17
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 ...
1
vote
3
answers
519
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 ...
2
votes
1
answer
445
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.
4
votes
3
answers
308
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 ...
3
votes
2
answers
180
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 ...
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 ...
11
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?
10
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 ...
8
votes
7
answers
3k
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?
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'...
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 ...
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 ...
3
votes
3
answers
395
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 ...
5
votes
4
answers
361
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.
...