Just-in-time compiler for the Erlang VM

By Erlang Central | Published: March 26, 2012

After the success of the Java Hot Spot VM, just-in-time compilers are become more and more popular in more and more languages. Just-in-time compilers attempt to make code run faster by compiling parts of your programs to native code in order to speed up execution time. Just-in-time compilers have been shown to speed up performance by up to a factor of 5 for specific benchmarks and it is about time that the Erlang VM is fitted with one of its own.

This talk will give a brief overview of the different approaches one can take to just-in-time compiling and then dive into the details of how the Erlang VM executes code. After laying the ground work I will try to explain how a JIT can be done for the Erlang VM and finish of with a status report of what work has been done so far.

Talk objectives: Explain how a JIT compiler could be implemented for the Erlang VM and report on what has been done so far in the prototype at Ericsson.
Target audience: Developers interested in future developments and details of the Erlang VM.
Download Presentation Download


  • Lukas Larsson

    JIT Problem solver
    Erlang Solutions

    Lukas Larsson first came in contact with Erlang 2004 while studying in Göteborg. After finishing his studies he has been working with Erlang at Erlang Solutions for about 6 years in many different industries. For the last 18 months he's been a consultant at the Erlang/OTP team at Ericsson AB, mainly working on he development of the Erlang VM and common_test.

    Lukas Larsson

Follow Erlang Central:

Have an Erlang Question?

Reach out to the Erlang community