3 ms·
It they had not messed up async it would be much better
by afiori 10mo ago
It they had not messed up async it would be much better
- ViewTrick1002 10mo agoGiven the constraints I still haven’t seen an asynchronous proposal for Rust that would do things differently. Keep in mind that one requirement is being able to create things like Embassy. https://github.com/embassy-rs/embassy https://github.com/embassy-rs/embassy
- afiori 10mo agoI agree, I think they should have delayed it. In a different universe rust still does not have async and in 5 years it might get an ocaml-style effect system.
- ViewTrick1002 10mo agoAnd in that universe Rust is likely an inconsequential niche language.
- afiori 10mo agoIf rust skipped async features I think it would not have damaged it much
- ViewTrick1002 10mo agoAlmost the entire early large scale adoption came from people writing async web services. From 2023: > In that regard, async/await has been phenomenally successful. Many of the most prominent sponsors of the Rust Foundation, especially those who pay developers, depend on async/await to write high performance network services in Rust as one of their primary use cases that justify their funding. https://without.boats/blog/why-async-rust/ https://without.boats/blog/why-async-rust/