Python and C, Java, C # Comparison

Source: Internet
Author: User

C Language: code compiled to get machine code, machine code on the computer directly running, each instruction directly control CPU work.

Other languages: Code compiles the bytecode, and the virtual machine executes the bytecode and converts it to machine code to run on the processor.

Python's syntax is concise, the class library is rich, and if you implement the same functionality, Python may need 10 lines of code, and C may need 100 lines of code.

Python execution is less efficient, and the C language is the most efficient.

1. Ease of view. Python is far simpler than Java, C #.
2. Development speed. Python is far better than Java, C #
3. Running speed. Java, C # is much better than standard python,pypy and Cython can catch Java, but neither is mature enough to do the project.
4. Available resources. Java, C # rich in resources, Python very few, especially Chinese resources.
5. Degree of stability. Python3 and 2 are incompatible, causing some confusion and the failure of a large number of class libraries. Java, C # because there are enterprises behind the support so much more stable.
6. Whether open source. Python is completely open source from the beginning. Java is developed by Sun, but now there are gun openjdk available, and C # is gradually open source.
7. Compile or explain. are all explanatory types.


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.