▲ | fmajid 15 hours 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 8 hours ago | parent | next [-] | |
That 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 6 hours ago | parent | prev [-] | |
Very early on, Rust was like this! But as the language changed over time, it because less appropriate. |