5 ms·
D has a memory safe subset (@safe). You could argue that Rust 3rd party libs rely on unsafe blocks.
by p0nce 11y ago
D has a memory safe subset (@safe). You could argue that Rust 3rd party libs rely on unsafe blocks.
- kibwen 11y agoThe person you're replying to wasn't even talking about Rust. You'd also be vastly overestimating the amount of Rust libs that need unsafe code. For example, Rust's most mature web framework, the one powering crates.io, doesn't use unsafe code at all: https://github.com/iron/iron https://github.com/iron/iron
- steveklabnik 11y agoCrates.io uses Conduit, not iron.
- kibwen 11y agoAh, so it does. :) Fortunately Conduit doesn't use any unsafe either.