Reply to post: Re: changing languages isn't going to fix this.

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

Jon 37

Re: changing languages isn't going to fix this.

No-one is claiming that Rust will eliminate bugs.

The claim is that Rust will *reduce* the number of *exploitable* bugs. Because a whole class of usually-exploitable bugs change from being "very easy to write unless you're incredibly careful" to "impossible to write".

There are other classes of exploitable bugs (e.g. missing a permission check) that can be done in any language. However, if you have code review, the reviewers don't have to worry about memory bugs so can spend more time looking for other bugs.

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


Biting the hand that feeds IT © 1998–2020