4 ms·
> For line of business apps, it is inaccessible and the safety dial is turned up too far. The dial is certainly turned up further than most businesses are accu
by wtallis 10y ago
> For line of business apps, it is inaccessible and the safety dial is turned up too far.
The dial is certainly turned up further than most businesses are accustomed to. But if that business is doing something involving my credit card number, I think the threshold of "too far" ought to be somewhere beyond Rust.
I hope that Rust does get some substantial adoption for line of business apps, if only to give us some data on how much it really costs to deal with your buffer overflows in advance, instead of suffering the embarrassing outages and hacks that make the national news.
- sillysaurus3 10y agoThe dial is certainly turned up further than most businesses are accustomed to. But if that business is doing something involving my credit card number, I think the threshold of "too far" ought to be somewhere beyond Rust. Most security flaws aren't things that can be directly checked by a compiler. There are some, certainly, and it's worth preventing those. But the vast majority is in application logic, which no compiler can protect. Competent programmers working in an expressive language is probably the best defense.
- tatterdemalion 10y agoWhile obviously no type system can prevent all logic errors, an expressive type system is very valuable to avoiding these kinds of errors (in my opinion more valuable than the loss of overall expressiveness types imply, but that debate is a can of worms and YMMV).
- marcosdumay 10y agoI'll disagree here. Most security flaws can be completely avoided by the use of auto-managed resources and a comprehensive type checking. On that order. Basically the bugs normally claimed to be in application logic, that are mostly uncovered or extraneous corner cases are prime time for compiler verification.
- ben-schaaf 10y agoNo matter how high you turn up that dial, it won't prevent businesses from using md5 for password hashing and a misconfigured mongodb.