By native code, I meant Erlang bytecode compiled using HiPE or an LLVM-based JIT like [1], not Erlang calling out to NIFs. I assume the generated code would need to insert preemption checks.<p>[1] <a href="http:&#x2F;&#x2F;www.erlang-factory.com&#x2F;upload&#x2F;presentations&#x2F;516&#x2F;SF-JIT-Pres.pdf" rel="nofollow">http:&#x2F;&#x2F;www.erlang-factory.com&#x2F;upload&#x2F;presentations&#x2F;516&#x2F;SF-JI...</a>