Federal agency warns critical Linux vulnerability being actively exploited

joojmachine@lemmy.ml to Linux@lemmy.ml – 300 points –
Federal agency warns critical Linux vulnerability being actively exploited
arstechnica.com
110

You are viewing a single comment

These industries hire third parties to review c and c++ line per line to make sure it's memory safe. Rust by default forces you to write memory safe code, otherwise it won't even compile. The rust compiler tells where is the problem and what it expects. No only for basic Type errors but also for concurrent code.

Is it not possible to build that functionality into C/++ compilers?

its the way the language was built. Im not sure its possible without breaking C/C++ which have like 35 years + in the making. Also these concepts are have little to do with programing and more architectural designs. The designers are real engineers working on difficult concepts. All big brains tbh