News for hackers. Stuff that matters.
Re:Rusty Ownership and the Lifecycle’s Stone by protortyp on Sunday November 27, 2022 @03:20PM (#33766432)
Hm interesting, I have to look into GATs then. Anyhow it also got easier with scoped threads. But doing it the old way was always a pain point for me.
Re:Rusty Ownership and the Lifecycle’s Stone by insanitybit on Sunday November 27, 2022 @06:47PM (#33768207)
Scoped threads definitely help, yeah. Before that you'd want to use a scoped thread crate or rayon.