Erlang processes on BEAM achieve context switches in approximately 20 nanoseconds, significantly faster than typical OS thread switches which can take 500-1000 nanoseconds due to kernel calls and saving the entire CPU state.
Open the full topic