3 ms·
"Erlang/Elixir multitasking is often called preemptive, but in fact it is a little bit more subtle than that." The same is technically true of Go. In practice,
by jerf 11y ago
"Erlang/Elixir multitasking is often called preemptive, but in fact it is a little bit more subtle than that."
The same is technically true of Go. In practice, in both cases, unless you're backing to a lot of C code, or in the case of Go, manage to write a really tight loop that never gives the scheduler a chance to run, it is not something that comes up in practice very often. (I'm at a total of 0 after ~6 years of use of Erlang and Go. YMMV, since I never did use any oddball C extensions, but every month for both languages that's less of a restriction than it used to be.)