Fixing developers instead of the tools?
Fixing developers instead of the tools?
Posted Sep 22, 2021 11:35 UTC (Wed) by khim (subscriber, #9252)In reply to: Fixing developers instead of the tools? by cagrazia
Parent article: More Rust concepts for the kernel
Nah. unsafe is perfectly valid tool in Rust. After all hardware itself is “unsafe” thus someone have to deal with it.
Only Rust have a culture of providing safe abstractions on top of unsafe code. That is: if you tried really hard yet all existing safe abstractions don't work for you then it's time to invent a new one, not to time go and use unsafe everywhere.