3 ms·
The number of unsafe lines of code used in Rust codebases is essentnially close to zero. unsafe is useful for library writers of very specific bit twiddling and
by Daishiman 11y ago
The number of unsafe lines of code used in Rust codebases is essentnially close to zero. unsafe is useful for library writers of very specific bit twiddling and memory management or very particular (and unsual) memory management tasks.
- kibwen 11y agoThe number of unsafe lines doesn't even matter, because the person you're responding to fails to understand that code can be memory-safe while containing code in `unsafe` blocks.