3 ms·
Why would changing code from c++ to rust fix those issues? It looks more like bugs in logic rather than language.
by anaganisk 6y ago
Why would changing code from c++ to rust fix those issues? It looks more like bugs in logic rather than language.
- akersten 6y agoOf course I can only speculate, but I see two primary reasons to suspect improvement: * It's a purposeful re-write: not just because it sounded like a fun idea, but because there are reasons to redo the stack. Memory security a main one given the choice of language, but presumably cleaning up the logic and making it better overall is another. * Broken-windows theory of software development: Writing in a sloppy, old, foot-gun language encourages bad code that just barely works for the happy path. Writing in a language that is far stricter and requires intention and design makes one think a little more critically about the logic.