Hacker News new | ask | show | jobs
by Gigachad 38 days ago
I've been calling this out for forever now and have been repeatedly told that actually, competent devs with C are fine and the C software we use has been battle tested so it's largely secure.

And now we are seeing that was all untrue.

2 comments

now it's even more battle tested!
"AI Battle Tested!"
Let's rewrite everything - said every 15 minutes by every new developer with a new toy.

How about being constructive instead - old bug in old code is no surprise, no matter the language/technology.

This was hardly a convincing argument before the current CVE explosion. By now C needs to be dead and buried for network accessible code.
How is this constructive when you're offering nothing to construct? Just saying not to be surprised.
You really think it wasn't constructive - is that a you bias or a me bias?
Sorry, it's you. You basically told people that they should expect bugs in old code and shot down the proposed fix without offering any other solution; that's non-constructive by definition.
tbf "rewrite everything" isn't a very constructive statement either.
Which options are there, really? There is re-write, fixing, and mitigation.

We have a lot of legacy code that probably contains many bugs that could be exploited.

We could either stop using that legacy code, i.e. re-write and move to a newer library / package. Or fix the old code.

I now believe that "fixing" the code is actually in reach for an organization such as Google, which has deep pockets, frontier AI models, and a history of working on open source. Spend a few billions to walk through every package that runs on a common Linux installation, find potential issues and robustify the code.