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

The author does point out that these problems come up when implementing various data structures.

It might be surprising to some folks, but there is a lot of unsafe code in Rust, and a lot of that is in the standard’s data structure implementations.

Also —

Common in network programming, the pain of lifetimes, is in async.

The model sort of keels over and becomes obtuse when every task requires ownership of its data with static lifetimes.



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

Search: