4 ms·
Yes, Erlang's zero-sharing model is what I think Rust should have gone for in its concurrency model. Sadly too few people have even heard of it.
by fmajid 2y ago
Yes, Erlang's zero-sharing model is what I think Rust should have gone for in its concurrency model. Sadly too few people have even heard of it.
- chubot 2y agoThat would be an odd choice for a low-level language ... languages like C, C++, and Rust let you use whatever the OS has, and the OS has threads A higher level language can be more opinionated, but a low level one shouldn't straight jacket you. i.e. Rust can be used to IMPLEMENT an Erlang runtime If you couldn't use threads, then you could not implement an Erlang runtime.
- steveklabnik 2y agoVery early on, Rust was like this! But as the language changed over time, it because less appropriate.