Re: cdb++ on a 64-bit machine?

Felix von Leitner <[email protected]> Thu, 17 Apr 2003 23:47:10 +0200
Newsgroups gmane.comp.djb.cdb
Message-ID <[email protected]>
Thus spake Jeff King ([email protected]):
> It seems like DJB has often stuck to the "require as few standards as
> possible" mindset in his software.

This is not just about headers.
Try reading the result of

  gcc -E mysourcefile.c

on a typical C project.  You will see that they include up to 1-2
megabytes of system headers, making the result absolutely unreadable.

Now try it again with, say, the djbdns sources, and you see what I mean.
This is also a good manageability measure.

> Note the partial reimplementation of libc he uses in most of his
> software. I expect this is partially to provide better function
> interfaces (from a security perspective). But I think in some cases
> he's trying to avoid inconsistencies in adherence to and
> implementation of standards.

Many standards are really bad.
For example, see tmpfile (which can't be used without creating a race
condition) or the various ugly ..._r kludges.

Felix