Top
Best
New

Posted by _tk_ 6 hours ago

False computer-checked proofs(cr.yp.to)
137 points | 60 commentspage 2
nickpsecurity 3 hours ago|
I think this review is unfair given he doesn't compare those observations to:

1. The number of bugs in unverified programs of similat complexity. By average and good coders. Think CompCert's middle end having no bugs in the evaluation against other compilers.

2. The number of bugs in those vs verification tools in general. If proof and simplicity works, we should see a huge drop vs larger provers or solvers.

3. How much the proof helped prevent bugs in verified software and their severity vs the number and severity of bugs in the provers.

4. An empirical argument where common, coding strategies in battle-tested compilers normally run withiut errors. Therefore, a verified checker implemented with those patterns in a simple, coding style will probably run correctly or with few bugs. But, he just says a large binary checking a large binary which makes both programs sound equally reliable.

So, I support developing and using these tools. We should have them tested on many, small programs and properties like we do static analyzers. Then, use David A. Wheeler's diverse, double compilation on their checkers with GCC and LLVM. Run other verified tools through that.

TZubiri 1 hour ago||
I think Lean kernel correctness is a distraction, it's like arguing a Rust program can have bugs because its memory safety guarantees may be faulty.

But rust programs are full of bugs unrelated to memory safety, if you go down this argument line you are furthering the argument that the programming language's safety mechanism prevents all bugs, it doesn't there can still be bugs in the application code, not in the compiler.

codingjoe 4 hours ago||
That's what's so often forgotten in the AI slop era. Less complexity and by extension less code, mean less room for errors.

I maintain multiple large authentication packages and this is the reason I reject almost all feature requests. Not because I am an d*ck, but I need to be able to verify their safety and I am only human.

JdeBP 3 hours ago||
Less complexity and less code has been a Daniel J. Bernstein theme since the 1990s. As well as reflections based upon experience on how easy that is to achieve. (-:
tumdum_ 2 hours ago|||
Why did you feel the need to self censor?
uzraa 4 hours ago||
[flagged]
pelagicAustral 5 hours ago||
That's a crazy nice domain hack... reminds me of g.ho.st which at least for a short time was some kind of web based OS/workspace...
wolfi1 5 hours ago|
exists for a long time, Daniel J Bernstein is a legend
eqvinox 3 hours ago|||
Having met him in person, he is certainly legendarily weird. (And not in a positive or charming way. I don't quite know how to describe it, let's say somewhere around "sure of himself and dismissive".) I've had no reason to clash with him, but I certainly see how that would go badly.
tmoertel 1 hour ago||
> I don't quite know how to describe it, let's say somewhere around "sure of himself and dismissive".

I don't know, either, but history suggests that when djb claims X and other experts disagree, the safer bet is usually on X being right.

ahartmetz 4 hours ago|||
Claim to fame "The only person in the world who can write secure C code". I made that up, but he's closer than just about anyone.
JdeBP 3 hours ago|||
Berstein's claim to fame in that area is being one of the most prominent advocates of avoiding some of the sadly still even today common design and development patterns that lead to very insecure C code.

But the sole person, or the person who is closer than anyone else? I wouldn't really agree with that, on the simple grounds that there are other people taking the same approach to systems architecture. Look up Laurent Bercot, for starters.

adrian_b 2 hours ago||
I do not doubt that there must exist plenty of other people who might have written secure and efficient C code, but most of them must have kept that code for themselves or for their employers, so it has remained unknown.

There are many programs written by DJB, which I have been using continuously 24/7 for several decades, day and night, year after year, on many kinds of server computers and many successive generations of computer hardware, and they have always worked perfectly, without the slightest problem.

There are no programs written by any other individual that I have seen in continuous use for so many years, without having to be replaced with other versions or with other completely different programs, if not for fixing bugs in them, at least because of the need to enhance them with new features.

So I am certainly very grateful for his high-quality work shared publicly.

bl4ck-m4g1c 4 hours ago|||
[flagged]
Scarblac 4 hours ago|||
Oof, it makes me very sad to see some of the names on that list.
Vaushite 3 hours ago|||
For some reason you can't post the list on HN, it just gets flagged
frumplestlatz 2 hours ago||
It’s almost as if ideological enemy lists have a long, dark history and shouldn’t be encouraged.

https://en.wikipedia.org/wiki/Enemy_of_the_people

cowlevel 1 hour ago||
You're really comparing DDV saying "this guy has weird politics" with a Stalinist purge?
jazzyjackson 3 hours ago|||
It makes me sad to see people passing around lists of persona non grata
mitxela 4 hours ago||||
Interesting list.

3/5

mjd 3 hours ago||||
People who publish Enemies lists are on my private Enemies List.
eqvinox 3 hours ago||
In my experience, people who make "enemies" lists can recognise other people with the same mentality, so the best thing to do is add the author to the list and flag it as "list of people to be cautious about / careful around".
1500100900 4 hours ago||||
Drew is on my list, too. He once couldn't understand why I don't want my git client to be able to send email.
cowlevel 1 hour ago||
Git was originally designed to manage patches by email. The push/pull model we have today is an evolved one.
frumplestlatz 2 hours ago||||
I’d consider it a bit of an honor to be disliked by such a morally stunted and disingenuous gadfly as Drew Devault
qagsf-wwq 4 hours ago|||
For the crime of demanding due process instead of a witch hunt against an NSA critic that had similarities to the Assange Swedish accusations that were dropped.
qagsf-wwq 4 hours ago|
[dead]