News for hackers. Stuff that matters.
Re:The Case of a Leaky Goroutine by masklinn on Monday March 25, 2024 @11:50AM (#39817861)
> My #1 complaint about Rust is that leaking a future is safe.

There’s no other way given the leakpocalypse decision. You’d need an entirely new leak-proof language to fix that, and that means you need alternatives for Rc and Arc (or a way to prevent them creating a cycle).

Re:The Case of a Leaky Goroutine by hedora on Tuesday March 26, 2024 @11:19AM (#39829008)
I'd gladly give up Rc and Arc if it meant the borrow checker treated spawn() like a normal function call.

All the code I write is async, so the borrow checker is effectively broken for me. (Wrapping everything in Arc creates weird false sharing at runtime, and I don't want to spend time debugging that class of performance nonsense.)