- Learning Linux Shell Scripting
- Ganesh Sanjiv Naik
- 132字
- 2021-08-20 10:44:27
Compiler and interpreter – difference 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 contrary, when we develop the Shell script, such as an interpreter-based program, every line of the program is input to 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.
推薦閱讀
- Python程序設計教程(第2版)
- Java 9 Programming Blueprints
- Python網絡爬蟲從入門到實踐(第2版)
- Learning SQLite for iOS
- Scientific Computing with Scala
- IBM Cognos Business Intelligence 10.1 Dashboarding cookbook
- Swift 4 Protocol-Oriented Programming(Third Edition)
- 編寫高質量代碼:改善Objective-C程序的61個建議
- PrimeFaces Blueprints
- Wearable:Tech Projects with the Raspberry Pi Zero
- Isomorphic Go
- 樹莓派開發從零開始學:超好玩的智能小硬件制作書
- Serverless從入門到進階:架構、原理與實踐
- Python AI游戲編程入門:基于Pygame和PyTorch
- VB語言程序設計教程(第2版)