- Learning Linux Shell Scripting
- Ganesh Naik
- 134字
- 2021-06-25 22:02:45
Compiler and interpreter – differences in process
In any program development, the following are the two options:
- Compilation: Using a compiler-based language, such as C, C++, Java, and other similar languages
- Interpreter: Using interpreter-based languages, such as Bash shell scripting.
When we use a compiler-based language, we compile the complete source code and, as a result of compilation, we get a binary executable file. We then execute the binary to check the performance of our program.
On the other hand, when we develop the shell script, such as an interpreter-based program, every line of the program is input to the Bash shell. The lines of shell script are executed one by one sequentially. Even if the second line of a script has an error, the first line will be executed by the shell interpreter.
推薦閱讀
- Hands-On Graph Analytics with Neo4j
- Introduction to DevOps with Kubernetes
- 21天學(xué)通PHP
- 走入IBM小型機(jī)世界
- 圖解PLC控制系統(tǒng)梯形圖和語句表
- 機(jī)器自動化控制器原理與應(yīng)用
- ROS機(jī)器人編程與SLAM算法解析指南
- 智能工業(yè)報警系統(tǒng)
- 自動化控制工程設(shè)計
- Google SketchUp for Game Design:Beginner's Guide
- Hands-On Reactive Programming with Reactor
- Xilinx FPGA高級設(shè)計及應(yīng)用
- 特征工程入門與實踐
- 從實踐中學(xué)嵌入式Linux操作系統(tǒng)
- 深度學(xué)習(xí)500問:AI工程師面試寶典