Hacker News new | ask | show | jobs
by kibwen 3943 days ago
What a strange objection. In Rust, your mistakes are discovered at compilation time. In C++, your mistakes are discovered when your code blows up in your face at runtime (and cross your fingers that the failure is deterministic). Either way the programmer still making mistakes, but one of these failure modes is clearly preferable.
1 comments

yes. I'm suggesting the capacity trained and required to write safe-C is the same capacity applied to, e.g., higher level functions of your mind-- such as conceiving of, not developing, but conceiving of some of the performant optimizations in Rust in the first place.

Like a fertilizer that stimulates growth while young but a crutch which stunts advancement in old age.

Well then you'll be happy to hear that writing correct `unsafe` blocks in Rust requires just as much care as writing correct C code. :)