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

But only in a controlled way. Unsafe doesn't change the semantics of existing code, it only adds the ability to do a few extra things. So you're still going to get a lot of safety checks, even within an unsafe block. You still have to be careful, but it's not no-holds-barred.


Yeah. I've read your chapter on this repeatedly, and then the Rustinomicon, both hugely useful, but so far all I've done is use of for Rust -> C bindings and vice versa.

It's taken me a year to feel good about my Rust code, I'm still getting a handle on unsafe though.




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

Search: