3 ms·
Rust can do these things. It is maybe true that culturally many Rust programmers do not. There’s both good and bad reasons for this.
by steveklabnik 2y ago
Rust can do these things. It is maybe true that culturally many Rust programmers do not. There’s both good and bad reasons for this.
- whiterknight 2y agoThe point is that many of the problems rust aims to solve become much less relevant. For example, if your program only does 10 Malloc and frees, you can probably track down the memory bugs.
- steveklabnik 2y agoI agree that these techniques help you write better code, but enforcing something is better than not. Obviously it’s a spectrum, so I wouldn’t say doing that is bad, but it does not really mean Rust is irrelevant. And Rust brings more to the table than just the borrow checker.
- whiterknight 2y agoSure, it just invalidates the impending doom, ban C programming narrative.
- steveklabnik 2y agoI’m not sure I would characterize it this way, but it doesn’t satisfy the criteria of “memory safety by default,” which is what more and more organizations are desiring. Time will tell.