3 ms·
Isn't this the same as saying you can't consistently write bug-free code? And isn't this sort of the holy grail of CS?
by amelius 9y ago
Isn't this the same as saying you can't consistently write bug-free code?
And isn't this sort of the holy grail of CS?
- kbenson 9y agoYou are conflating "safe" with "bug-free", when safety has a specific meaning in this context, which is memory model safety. Safe code eliminates a class of errors, and thus reduces the possible bugs your program may exhibit. At this point we can eliminate certain classes of bugs, and sometimes with no runtime cost. The usual example used is Rust, where extra information supplied in the source is used to ensure certain bugs are not possible at compile time. It requires some extra work, but I think likely quite a bit less than the more extreme coding standards used to produce safe C code, but those may cover a different or larger subset of bugs.