In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "how to divide the category of web programming language". In daily operation, I believe many people have doubts about how to classify the category of web programming language. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubt of "how to divide the category of web programming language". Next, please follow the editor to study!
Compiled language
A language that requires a compiler (compiler) to compile the source code into machine code before it can be executed. Generally need to go through the compilation (compile), link (linker) these two steps. Compilation is to compile the source code into machine code, and linking is to concatenate the machine code of each module with the dependent library to generate an executable file.
Advantages: compilers generally have the process of pre-compilation to optimize the code. Because the compilation is done only once and does not need to be compiled at run time, the program execution efficiency of the compiled language is high. It can be run independently from the language environment.
Disadvantages: if you need to modify after compilation, you need to recompile the entire module. When compiling, the machine code is generated according to the corresponding running environment, there will be problems in transplanting between different operating systems, and different executable files need to be compiled according to the operating system environment.
Representative languages: C, C++, Pascal, Object-C and the recently popular new Apple language swift
Interpretive language
Interpretive language programs do not need to be compiled, which saves a process compared with compiled languages, and interpretive languages are translated line by line when the program is run.
Advantages: it has good platform compatibility and can run in any environment, as long as the interpreter (virtual machine) is installed. Flexible, when you modify the code, you can modify it directly, you can deploy it quickly without downtime maintenance.
Cons: explain it every time you run it, and it's not as good as compiled languages in terms of performance.
Representative languages: JavaScript, Python, Erlang, PHP, Perl, Ruby
Mixed language
Since the compiling and interpreting types have their own shortcomings, some people will think of integrating the two types and taking the essence to discard the dregs. There are semi-compiled languages. For example, when compiling, Clover Magazine C # is compiled not directly into machine code but into intermediate code. The .NET platform provides intermediate language runtime to run intermediate code, which is similar to the Java virtual machine. Net is compiled into IL code and saved in dll. When it is first run, JIT compiles it into machine code and caches it in memory, and executes it directly next time.
At this point, the study on "how to classify the web programming language" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un