News for hackers. Stuff that matters.
Re:As a system programming language, C still deserves learni... by Barrin92 on Monday July 01, 2019 @06:57AM (#20324134)
>You can change your language, but then you've put the bugs in your compiler / interpreter / vm.

memory safety issues account for an overwhelming amount of security bugs¹ and are avoidable by moving to managed languages. Compilers and VMs are very, very good at elimianting this primary source of bugs in code.

The first answer to the C/C++ problem should be to, whenever possible, move to languages that do a large part of the work for you.

In particular in the linux world it seems like a lot of application code that could be written in memory safe languages is still written in plain C.

[1]https://www.zdnet.com/article/microsoft-70-percent-of-all-se...

Re:As a system programming language, C still deserves learni... by jonv on Monday July 01, 2019 @09:30AM (#20325053)
We are in agreement, by comment was not saying people should use C. It was saying that a layer of unsafety has to exist somewhere.