- 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
- DB2 V9權威指南
- Design Principles for Process:driven Architectures Using Oracle BPM and SOA Suite 12c
- 移動UI設計(微課版)
- 零基礎學Scratch少兒編程:小學課本中的Scratch創意編程
- PyTorch Artificial Intelligence Fundamentals
- 深度強化學習算法與實踐:基于PyTorch的實現
- Python Data Structures and Algorithms
- HTML+CSS+JavaScript網頁制作:從入門到精通(第4版)
- Java程序設計教程
- Visual Basic 程序設計實踐教程
- VMware vSphere 5.5 Cookbook
- 瘋狂Java講義精粹
- Visual FoxPro程序設計
- Java實踐指南
- 思維黑客:讓大腦重裝升級的75個超頻用腦法