Reply to post: Re: Explain this to me, please

Rust in peace: Memory bugs in C and C++ code cause security issues so Microsoft is considering alternatives once again

Charlie Clark Silver badge

Re: Explain this to me, please

Rust has an "unsafe" mode / command / keyword for exactly this.

But I think that's the point, isn't it? You can pick that up easily with static code checks and do reviews if necessary. Programming is supposed to be done by consenting adults.

Not that I think it's an either/or approach. Some stuff will always be written in C for precisely the reasons you list, but, if a lot of the other stuff can be written in something "safer" with no penalty, why not take advantage of it?

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2019