3 ms·
And would that be such a bad thing? How come we have languages like Rust that achieve almost the same speed while maintaining dramatically better safety, anywa
by Filligree 9y ago
And would that be such a bad thing?
How come we have languages like Rust that achieve almost the same speed while maintaining dramatically better safety, anyway?
- pcwalton 9y agoBecause type safety makes a lot of optimizations sound. C and C++ have to use undefined behavior rules to achieve a lot of optimizations that type safe languages can more easily perform. In fact, the optimization that the article is complaining about is really only a problem because C is not type safe.
- Filligree 9y agoSo that's my point. If C was those few percentage points slower, and died, then we'd have better languages sooner.