3 ms·
> (And, before anyone mentions it, since this isn't some low-level/hardware related thing, you don't need to use unsafe Rust). That only makes sense if all you
by jhgb 5y ago
> (And, before anyone mentions it, since this isn't some low-level/hardware related thing, you don't need to use unsafe Rust).
That only makes sense if all your code is in Rust, but I suspect this is not true for foreign libraries, even bulletproof ones. It was my understanding that to convince Rust of their safety, you need blocks of "unsafe" code...or not? For example, if I want to embed Chez Scheme into a Rust program, even safely, I apparently can't do that without "unsafe" code. And that's by no means exclusively a "low-level/hardware related thing".