Re:Async and Await in Rust: a full proposal
by imtringued on Sunday July 15, 2018 @05:49PM
(#17537283)
>only allows context switching at well-defined points in your program.
Erlang works the same way. The VM scheduler will only context switch on a function call. for or while loops don't exist in Erlang which means there is no risk of blocking the scheduler.
Erlang works the same way. The VM scheduler will only context switch on a function call. for or while loops don't exist in Erlang which means there is no risk of blocking the scheduler.