#18: JIT: bytecode, interpreters and compilers
by Tomasz Nurkiewicz
Source code can then be executed in two ways. Language implementations in general either interpret or compile it. In order to run an interpreted program you need one extra binary: an interpreter. Interpretation is simple: you read source code line by line and execute it. The compilation is much harder. A special program called a compiler reads your source code ahead of time (AOT) and translates it into machine code. After this translation your program is standalone. You don’t need a compiler to run it. Only you and your CPU.
More materials
- A crash course in just-in-time (JIT) compilers
- If Python is interpreted, what are .pyc files?
- Advanced Vector Extensions
- “What’s new in PHP 8.0?” Nikita Popov (about JIT)
- JIT in Ruby
dis
in Python
Be the first to listen to new episodes!
To get exclusive content:
- Transcripts
- Unedited, longer content
- More extra materials to learn
- Your user voice ideas are prioritized