The mainstream of the mobile phone platform is many, and the main platform of the language support is similar;
1, Windows system WP8 on the main support VB, C #, C + +,
2, Apple system iOS support OBJECT-C, C + +
3, Android system support Java, C + +
So how do you choose a cross-platform language?
C#.net Java is not a cross-platform, what is the difference between them and the cross-platform of C + +?
Convenient for others is also convenient for themselves, if you think it is OK to click like it, this can help other people find a way to solve the problem faster, there are questions can also leave a message oh, thank you!
Tools/Materials
Method/Step
The cross-platform of C #. NET Java means that the bytecode (byte code) files of the intermediate files that they generate in the "compiling system" do not need to be recompiled and can be used directly by the "running system";
The cross-platform of C + + is not to be re-written code, need to recompile the "running system" corresponding to the machine code (binary code), can be used by "operating system";
As shown (all nouns are called):
Java, C # cross-platform is based on the "virtual machine", through the virtual machine in the program when the "compiled system" generated bytecode (byte code) into the "Operating system" machine code (binary code), is an explanatory language;
C + + is the machine code (binary code) that generates code directly on the "running system" on the "compiling system", which is a compiled language;
Java, C # 's cross-platform is limited by "virtual machines", such as:
1.. NET environment is only available on Windows, Linux (Android) and Unix (iOS) are not supported;
2, Java mobile phone platform is mainly Android support, Windows (WP8) and Mac (iOS system) are not supported;
3,. NET, and Java virtual machines are not installed by default on XP systems;
4. The XP system does not support high versions of. NET, such as. NET 4.5
C + + is not limited by the virtual machine, as long as it can be compiled into a "running system" of "Machine Code", which is why a large number of cross-platform applications to develop the use of C + + reasons;
- 4
The cross-platform interpretive language was praised, and finally failed to cross the platform of the Dream;
Being ironic can not boast the platform of the compiler language, but the success of the cross-platform dream;
Cross the platform behind, a beautiful temptation, a contrary dream;
The differences between Java C #. NET and C C + + cross-platform