"does a java to c++ converter/tool exist? [closed]" Code Answer


it's possible to do anything given enough time, money and resources. is it practical? beyond trivial examples not really. or rather it depends on what constitutes an acceptable error rate.

the real problem is that the idioms are different in java to c++. java to c# for example would actually be far easier (because the idioms are much more similar). the biggest of course is that c++ has destructors and manually managed memory. java uses finally blocks for this kind of behaviour and has garbage collection.

also java has a common object supertype. c++ doesn't.

the generics to templates would be nigh on impossible i would imagine.

By Viriato on January 6 2022

Answers related to “does a java to c++ converter/tool exist? [closed]”

Only authorized users can answer the Search term. Please sign in first, or register a free account.