9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Dan Cross <cross@math.psu.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] OT: linux complexity trends
Date: Mon, 26 Nov 2001 13:36:41 -0500	[thread overview]
Message-ID: <200111261836.NAA11696@augusta.math.psu.edu> (raw)
In-Reply-To: <20011126130655.879E819A2E@mail.cse.psu.edu>

In article <20011126130655.879E819A2E@mail.cse.psu.edu> you write:
>on the other hand, i think rob observed once years ago at a conference that at
>the time the entire source code of the Plan 9 kernel was smaller than
>just the include files of some Unix systems, and i don't think that has
>changed significantly.

A little while back, I did an experiment.  I stripped out all comments
and blank lines, and counted the number of lines in the linux kernel which
contain all or part of a C statement or expression, minus device drivers.
The total was something like 1.6M.  Then, I performed the same experiment
on the entire Plan 9 distribution (which includes things like ghostscript),
plus TeX, mosml, and cvs.  If I recall correctly, the result of that was
something like 1.5M lines.  Maybe source lines is not a good indicator of
complexity, but I found something there really amusing.

	- Dan C.



  reply	other threads:[~2001-11-26 18:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-26 13:13 forsyth
2001-11-26 18:36 ` Dan Cross [this message]
2001-11-26 19:45   ` Ronald G Minnich
  -- strict thread matches above, loose matches on Subject: below --
2001-11-26 22:37 forsyth
2001-11-26 19:01 presotto
2001-11-26 17:56 presotto
2001-11-26 18:48 ` Dan Cross
2001-11-27 10:16   ` Thomas Bushnell, BSG
2001-11-26 14:54 rob pike
2001-11-26 17:40 ` Ronald G Minnich
2001-11-26 18:24   ` Alexander Viro
2001-11-26 14:42 forsyth
2001-11-26 14:00 presotto
2001-11-26 12:41 steve.simon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200111261836.NAA11696@augusta.math.psu.edu \
    --to=cross@math.psu.edu \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).