Hacker News new | ask | show | jobs
by michaeljx 486 days ago
Could it be a memory related bug, which would not have existed in a memory safe language like Rust?
1 comments

You 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.