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

Rust

5989 readers
21 users here now

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

Wormhole

!performance@programming.dev

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
top 4 comments
sorted by: hot top controversial new old
[–] SorteKanin@feddit.dk 12 points 7 months ago (2 children)

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

[–] snaggen@programming.dev 16 points 7 months ago (1 children)

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

[–] taladar@sh.itjust.works 9 points 7 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.

[–] anton@lemmy.blahaj.zone 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