2 ms·
Could it be a memory related bug, which would not have existed in a memory safe language like Rust?
by michaeljx 2y ago
Could it be a memory related bug, which would not have existed in a memory safe language like Rust?
- strstr 2y agoYou are probably saying this as a troll, but I’ll bite. I mean, sure Rust would have helped. Technically, the borrow checker and bounds checks wouldn’t have done it here (I’m aware I’m being obtuse by not just linking the bug). Having cleaner types and abstractions would almost certainly have solved the problem though. Normal C++ would have worked as well as Rust.