by alfiedotwtf · 11y ago · 0 comments
If you think it's just hype, try and calculate the enormous waste of both time and money from memory leaks caused by code written in C and C++. Rust solves this, and it's only going to get better once we're on the other side of Rust 1.0, and the library ecosystem grows.
This seems like an unusual language feature to highlight --- don't most modern programming languages solve this problem with various implementations of GC or memory management? N.B. I am not at all familiar with Rust and so maybe I'm missing some important context...
Was OpenSSL secure when it was originally written in X lines of code? Very likely.
Is it feasible to expect it to be secure now that it's X^Y lines of code, when a large class of bugs can exist in any line of code? No.
That's what 15 years of an evolving codebase has taught us. Which is reasonable, given that a lot of open source projects came into existence in the mid-90s. Inculcate lesson, design language for next 15 years. Not that radical.
Answer A is "Yes, bugs come from bad development practices or unskilled programmers."
Answer B is "No, there are fundamental issues with the language that make it unreasonable to expect a secure product."
In other words, are the primary sources of bugs programmers or the ways the language forces them to interface with it?