In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Most people do not understand the knowledge points of this article "javascript is a compiled language?", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "is javascript a compiled language?"
Javascript is not a compiled language, but an interpreted language. JavaScript is a literal scripting language, while all scripting languages are interpreted; code written in JavaScript does not need to be compiled and can be run directly, and the browser will directly interpret the source code and perform operations such as creating variables in memory.
The operating environment of this tutorial: windows7 system, javascript1.8.5 version, Dell G3 computer.
Javascript is not a compiled language, but an interpretive language, a literal scripting language.
The compiled language compiles the source code into machine code (so-called executable programs, such as the exe file of windows system). At run time, the computer only needs to give the machine code directly to CPU for execution. Compiled language is characterized by fast running speed and high efficiency. The disadvantage is poor portability.
The analytic language appears directly in the form of source code, and then parses it into machine code and executes it in real time at run time.
All scripting languages (including, of course, JavaScript) are interpreted. One of the biggest features of these languages is that they cannot exist independently and must be parasitic in other programs (such as browsers).
JavaScript is an interpretive scripting language. Unlike C, C++ and other languages that need to be compiled and then run, code written with JavaScript does not need to be compiled and can be run directly.
Code written in JavaScript does not need to be compiled and can be run directly. Also because JavaScript is an interpretive language, this means that the system knows if there is anything wrong with each piece of code only when it is running.
Extended knowledge: interpretive vs compilation
Compiled languages are generally faster than interpreted languages at run time, because compiled languages are already machine code and do not need to be interpreted as machine code.
An interpretive language can run, debug, and test your ideas quickly after writing a line or a short program.
The above is about the content of this article, "is javascript a compiled language?", I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.
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
© 2024 shulou.com SLNews company. All rights reserved.