Remix.run Logo
▲ terminalcommand 2 hours ago

But even in memory-safe languages, compiler bugs are still an issue. The theory is perfect but the implementation is flawed. In such case once the compiler bugs are found, the software would have to be rewritten to compile. For example an 11 year old memory bug was discovered recently in the rust compiler: https://www.penligent.ai/hackinglabs/rust-borrow-checker-bug....

Memory safe languages are not a silver bullet either.

▲GTP 2 hours ago | parent [-]

Definitely not a silver bullet (consider also that memory management isn'the only source for vulns), but still much better than C/C++.