2 ms·
You can write nifs that way but it seems like a pain in the ass https://www.erlang.org/doc/apps/erts/erl_nif#enif_schedule_nif https://www.erlang.org/doc/apps/
by throwawaymaths 2y ago
You can write nifs that way but it seems like a pain in the ass
https://www.erlang.org/doc/apps/erts/erl_nif#enif_schedule_nif https://www.erlang.org/doc/apps/erts/erl_nif#enif_schedule_n...
After all, many of the BIFs have been replaced internally by NIFs
And there's this, which would scare me:
https://erlang.org/documentation/doc-15.0-rc3/erts-15.0/doc/html/automaticyieldingofccode.html#introduction https://erlang.org/documentation/doc-15.0-rc3/erts-15.0/doc/...