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

They do help somewhat by making ownership more explicit, i.e. they are hints that the programmer can use to do the kind of analysis that rust would do automatically.

Dereferencing a moved-from unique_ptr is UB, but many compilers do abort in their hardened modes.

edit: spelling



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: