4 ms·
Because open-source projects survive on people having fun improving them. There just isn't that many people working on the Rust language as a day job, and they
by PoignardAzur 3y ago
Because open-source projects survive on people having fun improving them.
There just isn't that many people working on the Rust language as a day job, and they all have their hands full. Some of them have been working on foundational stuff that is required to get async rust to work, but it's work taking place over years.
To give an example, the Inside Rust blog recently posted [1] an article about the Rust Trait System Refactor initiative, which is a refactor of one of most complex chunks of the rustc compiler, started earlier this year.
That refactor is required to unlock some advanced lifetime syntax. Advanced lifetime syntax is required for some specific GAT improvements. GAT improvements are required to unlock async traits.
It's not just "people are too lazy to write the documentation". A lot of thought went into this.
[1] https://blog.rust-lang.org/inside-rust/2023/07/17/trait-system-refactor-initiative.html https://blog.rust-lang.org/inside-rust/2023/07/17/trait-syst...
- natded 3y ago[dead]
- gotshadowban 3y ago[flagged]
- pdimitar 3y agoWhile I commend the effort, I am not sure that an even more complex lifetime syntax is what the Rust devs wanted... We'll see then.
- vacuity 3y agoI'm not sure if parent is correct about adding lifetime syntax. To my understanding, the new trait solver will fix bugs and make features more consistent ("why can I put a trait bound here but not there?"). People have mentioned 'self for self-referntial structs but I think that's just wishful thinking right now.