Hacker News new | ask | show | jobs
by variety 5688 days ago
The djb way: "straight, no chaser":

   http://cr.yp.to/
qmail in particular, and also (if you like math) primegen.

BTW, his code is not easy to understand (quite the opposite) -- there are few source comments, and most of these are snarky, cryptic or both; and not only does he explain almost nothing on a global scale but oftentimes what he is doing might look, at first blush, kinda wrong, obtuse even.

But that's precisely the point -- there are a lot of idioms in there that most C programmers just wouldn't think of, especially if you're into minimalism (when it comes to things like dealing with strings, error handling, forking, etc).

1 comments

> and not only does he explain almost nothing on a global scale but oftentimes what he is doing might look, at first blush, kinda wrong, obtuse even.

Can you give some examples?