The differences between Java C #. NET and C C + + cross-platform

Source: Internet
Author: User

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
    • Visio
    • Win7
Method/Step
  1. 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):

  2. 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;

  3. 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. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.