In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you what is the use of compiled high-level language source programs in the computer. I hope you will gain something after reading this article. Let's discuss it together.
The compiled high-level language source program can be executed after compilation and connection. For a specific platform, the compiled high-level language will compile the source code into machine code that can be executed by the hardware of the platform, and package it into an executable program format that can be recognized by the platform.
The compiled high-level language source program can be executed after compilation and connection.
The computer cannot understand the high-level language, let alone directly execute the high-level language, it can only directly understand the machine language, so if a program written in any high-level language is to be run by the computer, it must be converted into a computer language, that is, machine code. There are two ways to do this:
1. Compilation
2. Explanation
As a result, high-level languages are also divided into compiled languages and interpreted languages.
The main difference is that the former source program can be compiled and run on the platform, while the latter is compiled during the run. Therefore, the former runs fast, while the latter has good cross-platform.
Compiled language
Using a special compiler, for a specific platform, the high-level language source code is compiled into machine code that can be executed by the hardware of the platform, and packaged into an executable program format that can be recognized by the platform.
Characteristics
Before the execution of a program written in a compiled language, a special compilation process is needed to compile the source code into a file in machine language, such as a file in exe format. When you want to run it again later, you can directly use the compilation results, such as running the exe file directly. Because you only need to compile once, and you don't need to compile later, the compiled language is efficient.
Summary
1. One-time compilation into platform-related machine language files, run-time out of the development environment, high efficiency
two。 Related to specific platforms and generally cannot be migrated to other platforms
3. The existing C, C++, Objective and so on are compiled languages.
After reading this article, I believe you have a certain understanding of "what is the use of compiled high-level language source programs in computers". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for your reading!
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.