I think Rust's `async` has been a great success for commercial "sponsors" of Rust, because it increased the complexity of the language so much that it's hardly possible anymore to contribute to it without being full-time employed to do so.
The decision for `async` handed a lot of power to Amazon et al.
Re:Rewriting Rust
by mwcampbell on Thursday September 26, 2024 @07:15AM
(#41657015)
> If we could go back in time and have the rust project decide to never implement async, I wonder what rust would look like today.
If withoutboats is right [1], then Rust would never have received the industry backing to be as successful as it is now.
[1]: https://without.boats/blog/why-async-rust/ especially the section "Organizational considerations"
"Pleasing to corporate sponsors" isn't what comes to mind when I think about great programming languages.
Re:Rewriting Rust
by mwcampbell on Thursday September 26, 2024 @08:34AM
(#41657639)
But it probably is a prerequisite for any project achieving its mission on a large scale. I'd rather have a programming language that makes a big positive impact in the security, reliability, and efficiency of software that lots of people use, than one that's aesthetically pleasing but not widely used.
It's not an either or.
We have hundreds of languages made to please the corporate overlords.
Can't we just have one language that's actually nice to use?
C and C++ were never sponsored by large companies, and they did just fine. Zig is the same, today. (It has some small sponsors, but nothing like the corporate support of rust.)
>C and C++ were never sponsored by large companies,
I don't know what you had in mind for "sponsored" but others would disagree and say both C and C++ were "sponsored by AT&T Bell Labs" because the people who created them (Dennis Ritchie, Bjarne Stroustrup) were employees of AT&T. Analogous to Rob Pike, et al. of Go Language being employed/sponsored at Google.
If we could go back in time and have the rust project decide to never implement async, I wonder what rust would look like today. There's a good chance the language & compiler would be much nicer as a result.