3 ms·
My brief understanding of NIFs is they're similar to unsafe in Rust where a bunch of VM guarantees are only held so long as the NIF is well-behaved. I believe t
by vvanders 6y ago
My brief understanding of NIFs is they're similar to unsafe in Rust where a bunch of VM guarantees are only held so long as the NIF is well-behaved. I believe there was also some limits on how long a NIF could execute before starving the Erlang scheduler[1].
[1] http://erlang.org/doc/man/erl_nif.html http://erlang.org/doc/man/erl_nif.html