Re:Why and How I Switched from Python to Erlang
by ngrilly on Thursday July 07, 2016 @05:39PM
(#12052249)
Can you provide links to the Rust N:M threading libraries you recommend? How is the stack managed in these libraries (does it start small and is resized at runtime)?
Same question for Ruby :-)
Re:Why and How I Switched from Python to Erlang
by steveklabnik on Thursday July 07, 2016 @07:26PM
(#12052736)
https://crates.io/crates/mioco
https://crates.io/crates/coroutine
I don't know much about the details, as I haven't used them myself, I just know they exist.
In Ruby, there's Thread and Fiber. MRI's GIL hurts it here, but other implementations don't have this problem.