Comment by ahartmetz
3 days ago
>Nobody in history has been able to write correct C code
Except possibly D.J. Bernstein https://cr.yp.to/ ? Not necessarily all perfect, but designed for extreme simplicity and defense in depth, AFAIU.
3 days ago
>Nobody in history has been able to write correct C code
Except possibly D.J. Bernstein https://cr.yp.to/ ? Not necessarily all perfect, but designed for extreme simplicity and defense in depth, AFAIU.
It has needed some fixing over the years. errno was one thing. There have been a number of things in that vein, where Bernstein relied upon 1989 C or even K&R semantics and suchlike.
But compared to some other code from the 1990s, it has lasted the test of time quite well.
* https://jdebp.uk/Softwares/djbwares/
He surely also had to face his share of C issues, here advocacy for "Boring C" in 2015,
https://groups.google.com/g/boring-crypto/c/48qa1kWignU/m/o8...
There have been exploitable vulnerabilities in DJB code.
His apps were some of the worst i've ever seen, usability wise.
As I understand, sacrifices were made to achieve the, for C programs, exceptional security.
No. I tried his code too.
Nobody.