3 ms·
> extensively tested C networking code still has security vulnerabilities Are you familiar with Daniel J Bernstein? > the best C code isn't good enough Are y
by akira2501 7y ago
> extensively tested C networking code still has security vulnerabilities
Are you familiar with Daniel J Bernstein?
> the best C code isn't good enough
Are you sure _you've_ seen the _best_ code? Are you sure you understood the constraints of those writing that code when you evaluated it?
> I'd say good code meets deadlines
I'm trying to say there's an obvious compromise between the two, which explains the wide spectrum of code quality.
- mantap 7y agoIf you have to be DJB or Bellard to write good code in a programming language, that programming language probably has a problem. I used to write a lot of C back in the day, but I have to admit that C++ code is far more reliable and maintainable, which is a damning thing to say about any programming language.
- kerkeslager 7y agoI am somewhat familiar with Daniel J. Bernstein, but you'll have to enlighten me on why you've brought him up. If you're referencing programs where half the source code is written in a theorem proving language like CoQ, that's not really "written in C", now is it?