The Erlang scheduler is very interesting. I attempted to reimplement it in JavaScript with some success. It works like the first version of the scheduler but I could see web workers being used to make it more like the current version. <a href="https:&#x2F;&#x2F;github.com&#x2F;bryanjos&#x2F;processes" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bryanjos&#x2F;processes</a>