Fireside chat on JIT compiler
summary
Erlang/OTP ships a straightforward JIT in 24 that compiles BEAM to native code with 30–100% speedups reported (typical 30–40%, up to 2×), minimal optimizations by design, and a roadmap to add type-info propagation in v25/v26 to remove runtime type checks. An x86 emitter exists and an ARM/M1 backend is upstreamed using a pre-release asmjit/arc64 branch with prompt + tests reached in about 3–4 weeks of work. Tooling keeps perf/ebpf relevance; fprof stays needed for per-process profiling. Code size and linkage have no practical limits.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:56Who are you
- 1:55What is JIT
- 6:35Arm support
- 8:28Whats next
- 9:38Type optimizations
- 13:47Profiling tools
- 14:37Profiling on Linux
- 17:12DBPF
- 27:17New tools
- 29:42Saving type information
- 31:42Private functions
- 33:27Highlights
- 36:27Specializing functions
related talks
39mJIT Compiler for Erlang OTP
12mLightning Talk: Expected Application of BeamAsm
01h 04mJust-in-Time Compilation: The Next Big Thing?
25mCo-operative JIT Compilation for Resource-Constrained Low-Power Coprocessors
20mBYOJ: Build your own JIT with Ruby
01h 01mFaster Compile Times and Better Performance: Bringing Just-in-Time Compilation to C++
30mAn Incremental Approach to JIT Construction
40mJoy of Meta-Tracing Just-in-Time Compilation: More Than Just a VM Generator
