Comment by krupan

1 day ago

Memory safety is a source of bugs in languages without garbage collection and/or whatever rust does, however memory safety is not THE source of bugs. If it were then we'd expect code written in JavaScript or Python (memory safe languages) to have zero bugs, and that's definitely NOT the case. When you get the hang of C and C++ memory bugs are not very common compared the normal bugs that all software has. They still can happen but people have gotten the idea that every C program is riddled with them without seeming to realize that code written in C is the foundation for almost everything and has been for a long time. Compilers, operating systems, device drivers, network stacks, core utilities, even games are all written in C or C++ and we are not drowning in killer memory related bugs.