News for hackers. Stuff that matters.
Re:Elixir and Rust is a good mix by dist1ll on Thursday April 13, 2023 @08:06PM (#35563871)
> light-weight threading with preemptive scheduling prioritizing latency over throughput

Tasks for backend systems are usually pretty homogeneous. I'm not sure how in such cases the overhead of preemption is in any way better than cooperative multitasking.

Re:Elixir and Rust is a good mix by calo_star on Thursday April 13, 2023 @11:30PM (#35565215)
Erlang processes indeed do cooperative multitasking under the hood, something like yielding control to the scheduler roughly every 1000 function calls.