3 ms·
> And you can't implement certain things in Rust if you are on the quest for maximum efficiency without using unsafe. Trading efficiency for safety for unaudit
by naasking 10y ago
> And you can't implement certain things in Rust if you are on the quest for maximum efficiency without using unsafe.
Trading efficiency for safety for unaudited code should be difficult. C does not make this difficult. Rust makes this difficult.
Auditing should be supported for this kind of code. C does not support auditing in any meaningful way. Auditing much easier in Rust since it explicitly identifies code that may be unsafe.
In conclusion, I disagree emphatically that C and Rust are somehow equivalent even when you are dropping down to unsafe code.