Introduction to programming languages

Source: Internet
Author: User
Machine language

Is the machine can understand the language, shape like 010101010010101010101010010101.

  • Advantages: lowest level, fastest speed
  • Cons: complex, lowest development efficiency
Assembly
  • Pros: Lower level, faster than machine language
  • Cons: Complex, development efficiency is only higher than machine language
High-level language compilation

C,c++

  • Pros: Languages such as C + + must be compiled before they can be run, and compiled into binary code that the machine can run directly.
  • Cons: Each change must be recompiled, with poor cross-platform
Explanatory type

python,javascript,php

Similar to the "simultaneous translation" in daily life, it runs on the side of translation, so it is inefficient. And the binaries cannot be generated, and the application cannot detach from the interpreter.

However, there is a Python interpreter on Mac or Linux by default.

  • Advantages: Cross-platform development, high development efficiency
  • Cons: Inefficient running, relying on the interpreter (why inefficient is so hot, because now the hardware level up.) )

For example, C language executes a program for 0.001 seconds if Python is 10 times times slower than it is 0.01 seconds (the fastest response time for humans is 0.3s so it's almost impossible to feel)

Introduction to programming languages

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.