Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Scoped threads have been reintroduced to Rust

Right, but those are a mere shadow of what they used to be, which was JoinHandle with a lifetime parameter. You can’t build a thread pool or async runtime with static borrowing across tasks, which makes the use case very narrow.

> There's also significant interest in introducing true linear types to Rust, where destructors would be guaranteed to run

I’m glad to hear that. I’ve always hoped it’s possible to introduce non-breaking through a new auto trait but there are many delicate details around unwinds and such that may be gnarly. As well as an accumulated dependence on Arcs in library code.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: