Erjang - With the JVM under the Hood
summary
Erjang implements a full Erlang VM on the JVM and actually runs recent Erlang and much of Elixir with networking, hot code replacement, ports and native modules. It JITs BEAM bytecode into JVM code and faces verifier and 64KB method limits, stack-unwinding for suspends, and tail-call encoding. Benchmarks show big wins for floats and big-message passing — JIT compiles BEAM to JVM, ~20M msgs/s vs ~5–6M on BEAM, ~70× faster floating-point hotspots — and the system is usable and largely compatible.
AI-written summary · about
chapters (13)
- 0:00Intro
- 1:52EXACTLY FOUR YEARS AGO...
- 3:03HIGHLIGHTS
- 12:03JAVA/JVM CONS
- 22:29RING: 100.000 PROCESSES
- 25:14JIT COMPILER
- 28:29CODE CONCEPTS
- 36:51ERANG TYPES
- 41:46TYPE/FLOW ANALYSIS
- 45:10ENCODING PROCESSES
- 49:55ELIXIR IS MY HOPE FOR ADOPTION
- 50:32MAKING ELIXIR RUN
- 51:14RUNNING ELIXIR
related talks
34mBEAM: What Makes Erlang BEAM
01h 06mWhat every Node.js developer needs to know about Elixir
16mHarnessing the power of the Erlang VM
52mRobotics and Sensors Using Erlang
24m10 things I learned making the fastest JS server runtime in the world
46mGraal: Using JVM libraries in Node.js
01h 00mNode.js: Faster, Higher, Stronger with GraalVM
05mInterview with
