- Secret Recipes of the Python Ninja
- Cody Jackson
- 149字
- 2021-06-25 22:14:43
Comparing source code to bytecode
Interpreted languages, such as Python, typically take raw source code and generate bytecode. Bytecode is encoded instructions that are on a lower level than source code but not quite as optimized as machine code, that is, assembly language.
Bytecode is often executed within the interpreter (which is a type of virtual machine), though it can also be compiled further into assembly language. Bytecode is used primarily to allow easy, cross-platform compatibility. Python, Java, Ruby, Perl, and similar languages, are examples of languages that use bytecode interpreters for different architectures while the source code stays the same.
While Python automatically compiles source code into bytecode, there are some options and features that can be used to modify how the interpreter works with bytecode. These options can improve the performance of Python programs, a key feature as interpreted languages are, by nature, slower than compiled languages
- 算法基礎:打開程序設計之門
- Visual C++數字圖像處理技術詳解
- SQL基礎教程(視頻教學版)
- Python全棧數據工程師養成攻略(視頻講解版)
- Visual Basic程序設計(第三版)
- Python函數式編程(第2版)
- 工業機器人離線編程
- 大規模語言模型開發基礎與實踐
- Python 快速入門(第3版)
- Mastering Leap Motion
- Test-Driven iOS Development with Swift
- Android熱門應用開發詳解
- R語言:邁向大數據之路
- Mobile Test Automation with Appium
- Hadoop MapReduce v2 Cookbook(Second Edition)