C++/java/python Relations and differences

Source: Internet
Author: User

Word:

Python: Suitable for quick development of gadget applet, whether it is a website or a small game is very convenient. But Python scripts are less efficient and unsuitable for programs that require higher operating efficiencies;

JAVA: A rigorous object-oriented programming approach, at the same time there are many large-scale development framework, more suitable for enterprise-class applications;

C++:c++ is a multi-paradigm programming language. It not only supports the traditional process-oriented programming, but also support object-oriented programming, and the introduction of paradigm programming, C + + operating efficiency, while it is easier to build large software, suitable for high efficiency requirements of the software, such as machine learning in the neural network, large game kernel programming and so on.

From the linguistic features:

Python is a scripting language that interprets execution and does not need to be compiled, so it's convenient and fast, and it's a great way to write small tools that work well across platforms.
C + + is a need to compile the running language, on a specific machine after compiling on a specific machine running, high efficiency, security and stability. However, the compiled program is generally not cross-platform.

Java can be either an interpretation or a compilation of execution.

From the garbage collection mechanism:

C + + requires programmers to receive recycling, while Java and Python have their own garbage collection mechanism GC. The difference between the two, Python's garbage collection mechanism is mainly used by the reference counting method


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.