Reputation: 41
I am asking myself if it would be easier and more flexible to program a multiplatform application in Java and compile it to native binaries (the way Eclipse was written) or to use a cross-platform C++ framework like QT. Where are the advantages/disadvantages?
Upvotes: 1
Views: 406
Reputation: 45968
It depends on your preferences. If you have much experience with C++, then stay to it. Platform-independence alone is not an argument, as Qt does an excellent job on guaranteeing platform-independent code and everybody can recompile a program on another system (that's actually what you want to do with your Java programs, too).
Upvotes: 1
Reputation: 22524
You will find less platform specific problems with Java, but:
Upvotes: 2
Reputation: 533870
I would just let the JVM do the compiling to native code.
You might assume its better to pre-compile it but for 98% of the time its not, it just harder and more complicated.
Upvotes: 0