News for hackers. Stuff that matters.
Re:The Safety-Critical Rust Consortium by whytevuhuni on Thursday June 13, 2024 @12:05PM (#40671365)
Most usages of `unsafe` are necessary because of FFI calls into code written in C, into syscalls, into hardware memory-mapped regions, or other things outside of Rust's control. Without this ability, Rust wouldn't be able to call itself a systems language.

There are also some usages of `unsafe` for constructs (like linked lists) that the borrow-checker does not support. Those could theoretically be checked, but as far as I know a practical/pragmatic way of doing that has yet to be invented.

There are no comments on this comment yet.