4 ms·
> You may not see a point in becoming a soldier You might want to try saying that a different way; this metaphor is a problem. It comes across as a slightly m
by skybrian 10y ago
> You may not see a point in becoming a soldier
You might want to try saying that a different way; this metaphor is a problem.
It comes across as a slightly more colorful way of putting down people who use other languages as not "real" programmers - you're saying they should find another career. Or at best, maybe they are real programmers but they should be using harder languages?
In practice, most of the important code that everyone relies on to defend us (assuming here you mean security-critical or safety-critical code) is not written in Rust. So who are the real "soldiers"?
There's certainly a case to be made for using safer languages for critical code. On the other hand, using stricter static analysis for existing languages (and other kinds of testing like fuzz testing) will find bugs quicker and avoids boiling a few oceans.
- fiedzia 10y ago> It comes across as a slightly more colorful way of putting down people who use other languages as not "real" programmers This is not my intention. > In practice, most of the important code that everyone relies on to defend us (assuming here you mean security-critical or safety-critical code) is not written in Rust. So who are the real "soldiers"? Rust is relatively new. The real soldiers who use C bravely fight with of-by-one errors and buffer overruns and I really don't want them to do that. > There's certainly a case to be made for using safer languages for critical code. We can afford using safer languages for a lot of code. > On the other hand, using stricter static analysis for existing languages (and other kinds of testing like fuzz testing) will find bugs quicker and avoids boiling a few oceans. No, it will not. It may find few bugs here and there, but will leave whole classes of problems untouched. You can't bolt security onto a language. And we do not want to find few bugs, we want to be sure they are not there.