Remix.run Logo
Panzerschrek a day ago

Yet another article misleadingly treating C and C++ both as memory-unsafe languages. But there is a huge difference between them. Modern C++ code written according to strict standards (like C++ core guidelines) is much less vulnerable in comparison to C code or old-style C++ code. So in practice it may be enough to write in C++ a modern way to avoid vulnerabilities or at least greatly minimize them. Adopting a new memory-safe language may be much more harder, especially in large existing codebases.

And strictly speaking Rust isn't memory-safe, since it allows to shot the leg via unsafe blocks.

netdevphoenix a day ago | parent [-]

Isn't this a variant of the No True Scotsman fallacy? You are saying if you write it write right, you will have little to no memory issues. Arguably, this applies to any memory unsafe language