The advantages and disadvantages of static language, dynamic compiling language and dynamic language

Source: Internet
Author: User

Recent study of dynamic language, static language, dynamic compilation language and dynamic language between the difference between the pros and cons feel a little confused, their own summary, the first post what is wrong to welcome you master advice:

Static language: Now popular Java, C # and other languages should be static, the relevant syntax in the writing code phase has been compiled calibration, if the code is wrong, will error;

Dynamic Language:

Distinguish between dynamic compilation syntax and dynamic syntax, in C #, for example. NET4. 0 provides the dynamic compilation related class library, mainly through the CodeDom and the compiler class implementation, the specific class name is no longer described in detail, the network is described in detail, the main role of this syntax for the CodeDom standard Code and files dynamically programmed into the assembly, at compile-time calibration, after compilation, The related classes in the assembly can be instantiated through a reflection mechanism, and methods are called, with the drawback that the loaded assembly cannot be unloaded automatically and must be uninstalled through the application domain.

Dynamic syntax compiles an assembly through scripting syntax such as JSP, CSP, but is not calibrated during the compile phase and is calibrated at run time through the DLR mechanism.

The problem is: Dynamic compilation language and dynamic language can achieve dynamic effects, but whose performance is high, whose syntax is simple?

The advantages and disadvantages of static language, dynamic compiling language and dynamic language

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.