The BEAM VM manages context switching entirely within user space, circumventing the substantial overhead of transitioning to the OS kernel for each switch, which typically involves saving and loading extensive system-level states and memory maps.
Open the full topic