News for hackers. Stuff that matters.
Re:Rust 1.63 by masklinn on Thursday August 11, 2022 @01:50PM (#32429394)
> I would be very interested in hearing from experienced folks about how important this is/what useful patterns it unlocks.

For Rust it allows thread to play better with lifetimes, which means there are scenarios where you don’t need the overhead of a lock (and usually the Arc that does with it, unless you go with a global) or queue, you can just work with on-stack “unsynchronised” borrows and it’s thread safe.

That means lower syntactic and runtime overhead in the cases where it’s an option.

It was already available in crossbeam so it’s not novel novel, but not needing a dependency for it is useful still.

Re:Rust 1.63 by davidatbu on Thursday August 11, 2022 @02:15PM (#32429695)
Thanks! I didn't know that it was already available in crossbeam, that helps a lot in understanding the significance of this feature.