News for hackers. Stuff that matters.
Re:Rust in Linux kernel is just a beginning by howinteresting on Tuesday October 25, 2022 @11:54AM (#33332286)
This is misunderstanding the point of unsafe.

All memory-safe languages in existence have safe abstractions built around unsafe code. For example, most JavaScript runtimes are written in C++. The point of unsafe Rust is to be able to use the same language to write both safe and unsafe code.

On the flip side, almost all C and C++ is unsafe code. The point of unsafe Rust is to be able to reserve brainpower for small subsets of code while having a relaxed posture towards most of it.

There are no comments on this comment yet.