Skip to main content
7 votes

How to port gcnew and gcroot from Visual C++ to gcc

Those calls can't be ported, at least not directly. gcnew is not a C++ keyword, it is from "C++/CLI", which is a different language currently not supported by gcc. This older SO question says there ...
Doc Brown's user avatar
  • 220k
4 votes

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

I guess the most effective solution is not a technical one, but an organizational solution (which is mostly independent from the version control system you are using): make it mandatory for everyone ...
Doc Brown's user avatar
  • 220k
2 votes

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

Done that, in different directions. You want to have your app, with additional header files, and some source files implementing the same functionality for windows and Linux (where the code needs to be ...
gnasher729's user avatar
  • 49.4k
2 votes
Accepted

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

Doing a Big Rewrite is usually a mistake. Trying to maintain two separate codebases takes a lot of effort, as you have discovered. With a Python 2 → 3 migration, the typical approach is to gradually ...
amon's user avatar
  • 136k
1 vote

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

If the capabilities of your new ISA are similar to existing ones, then you can save a lot of work. For example, you could add a new backend to LLVM and get many programming languages for free. To do ...
gnasher729's user avatar
  • 49.4k

Only top scored, non community-wiki answers of a minimum length are eligible