this post was submitted on 22 Mar 2024
51 points (98.1% liked)

Rust

6011 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
51
2024 Edition Update (blog.rust-lang.org)
submitted 8 months ago by snaggen to c/rust
top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 8 months ago (2 children)

Overall nothing really "exciting", but good stuff anyway.

[–] snaggen 17 points 8 months ago (1 children)

That is the boring part when projects gets more mature...

[–] [email protected] 9 points 8 months ago

That is the good kind of boring though. The actual stability that is achieved by not having (m)any major pain points left in the design.

[–] [email protected] 2 points 7 months ago

Keyword reserving is always exciting.
In this case it's gen, which allows iterators build on the state machines currently powering async.

Here is a contrived use case from me.
It's not as groundbreaking as async but it's a convenience. And hey, you could write futures without the async/await keywords, but it's easier with them