Comment on Linux royalty backs adoption of Rust for kernel code

<- View Parent
sugar_in_your_tea@sh.itjust.works ⁨1⁩ ⁨day⁩ ago

I don’t know about you, but I prefer provably correct code over “just trust me bro.”

There’s an analogy I like here. A manager at a trucking company was hiring a new driver, and he asked each of them how close they could get to the edge on a mountain pass. The first said, “I can get within a wheel’s width.” The second said, “I can drive on the edge, with part of the tire hanging off.” And the third said, “I stay as far away as I can.” The third applicant got the job, because why take the risk?

That’s how I feel about C/C++. Why use them if Rust can do the job? You get a lot more safety features without sacrificing performance, what’s not to like?

source
Sort:hotnewtop