News for hackers. Stuff that matters.
Re:Building on Rock, Not Sand by pjc50 on Friday October 06, 2017 @09:17AM (#15416515)
> why our low-level, network-facing system code is not written in C

Really I think these days, in fact since the Morris Worm, people should be asking the opposite question: why is network-facing code written in C given that almost any error can lead to an exploitable security compromise?

I do not buy the performance argument at all any more. So few systems are really performance-constrained by network processing (usually it's the network itself or the disk), you have to write horizontally scalable code anyway if you want to make use of multiple cores, so almost all cases where it's a bottleneck are more cheaply dealt with by scaling rather than tinkering with the software.

There are people doing HFT in Java. The managed languages are quite capable of great performance with a little effort and imagination.

Re:Building on Rock, Not Sand by elevensies on Friday October 06, 2017 @11:28AM (#15417533)
Watching Heartbleed and Cloudbleed happen really drove it home for me. Given that routine programming errors can cause private data to be transmitted unintentionally, I have to question the sanity of writing networking software handling private data in C.