| ▲ | ellieh 3 hours ago | ||||||||||||||||||||||
sure, but with unsafe Rust you have a very clear marking for the section of code that requires additional care and attention. it is also customary to include a "SAFETY" comment outlining why using unsafe is OK here | |||||||||||||||||||||||
| ▲ | dvt 3 hours ago | parent [-] | ||||||||||||||||||||||
You actually kind of don't, I use like a zillion crates which have unsafe Rust in them and it's not like I'm sitting here reading every single line of their code. I like Rust for various reasons, but its memory safety is (imo) overstated, especially when doing low-level stuff. | |||||||||||||||||||||||
| |||||||||||||||||||||||