9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu, Russ Cox <rsc@swtch.com>
Subject: Re: [9fans] MS Research reinvents Inferno?
Date: Wed, 14 Dec 2005 06:47:14 -0600	[thread overview]
Message-ID: <20051214124714.E3B2498B5B@dexter-peak.quanstro.net> (raw)
In-Reply-To: <ee9e417a0512140300w25006ff4ua15b57b1b86b2981@mail.gmail.com>

this isn't really about the kernel, but  i think there are two important
bug-reducers in plan9 that windows and *nix systems don't have:

1. plan9 picks a standard and sticks with it. the best example is character set.
plan9 picks one and implements it. and things just work. gnu grep doesn't
and it has many character-set related bugs. for example, in a utf-8 locale,
it's about 100x slower than in a us-ascii locale.

2. plan9's utf-8/unicode implementation also avoids bugs by not
implementing bidi, character shaping, combining characters or extended planes.
to which most of the code in full unicode implentations is devoted 

- erik

Russ Cox <rsc@swtch.com> writes

| 
| > It would be interesting to see a bugs-per-million-lines-of-code
| > statistic for Plan 9 vs other systems.  In my experience, Plan 9's
| > advantage is that it's small and simple enough that the bugs are
| > relatively easy to find and fix.
| 
| I agree.  I started toward figuring that out for Plan 9 by
| putting together the kernel history at http://swtch.com/plan9history.
| Step 2 is understanding every change and categorizing them,
| including whether or not they are bug fixes.  Then one can derive
| many interesting statistics about the bugs.
| 
| I got about a quarter of the way through categorizing
| http://swtch.com/cgi-bin/plan9history.cgi?p=^(pc|port)/.*\.[ch]&v=filelist
| I'm hoping to find a student at MIT to finish the job.
| 
| Russ


  reply	other threads:[~2005-12-14 12:47 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-13  7:02 Skip Tavakkolian
2005-12-13  7:13 ` Devon H. O'Dell
2005-12-13  8:50 ` Oliver Bandel
2005-12-13 15:04   ` Kenneth Long
2005-12-13 12:26 ` Sergey Zhilkin
2005-12-13 16:26   ` LiteStar numnums
2005-12-13 16:30     ` Paul Lalonde
2005-12-13 16:39     ` Brantley Coile
2005-12-13 16:53       ` Charles Forsyth
2005-12-13 17:54       ` Skip Tavakkolian
2005-12-13 16:49     ` Ronald G Minnich
2005-12-13 16:57       ` Lucio De Re
2005-12-13 17:02         ` alexandr babic
2005-12-13 17:43           ` Russ Cox
2005-12-13 17:56             ` Charles Forsyth
2005-12-13 20:19               ` Oliver Bandel
2005-12-13 20:52                 ` David Leimbach
2005-12-14  2:12                   ` Oliver Bandel
2005-12-14  2:19                     ` andrey mirtchovski
2005-12-14 10:02                       ` Richard Miller
2005-12-14  4:01               ` Bruce Ellis
2005-12-13 17:56             ` Charles Forsyth
2005-12-13 18:07               ` alexandr babic
2005-12-14  0:02               ` Steve Simon
2005-12-14  9:42                 ` Richard Miller
2005-12-14 10:09                   ` C H Forsyth
2005-12-13 18:16             ` William Josephson
2005-12-13 20:46               ` David Leimbach
2005-12-13 21:05                 ` Brantley Coile
2005-12-14  2:05                   ` Oliver Bandel
2005-12-13 18:45             ` Brantley Coile
2005-12-13 18:50               ` Russ Cox
2005-12-13 18:55                 ` andrey mirtchovski
2005-12-13 19:02                   ` Russ Cox
2005-12-14  6:30                     ` Jack Johnson
2005-12-14  7:16                       ` Jack Johnson
2005-12-14 10:07                         ` Richard Miller
2005-12-13 20:49                   ` David Leimbach
2005-12-13 22:09                     ` Skip Tavakkolian
2005-12-13 21:20                       ` LiteStar numnums
2005-12-13 21:54                       ` David Leimbach
2005-12-13 20:18             ` Oliver Bandel
2005-12-14  5:56             ` Jack Johnson
2005-12-14  6:02               ` Lucio De Re
2005-12-14  9:50                 ` Steve Simon
2005-12-14  6:05               ` andrey mirtchovski
2005-12-14  6:14                 ` andrey mirtchovski
2005-12-14  9:28                 ` Russ Cox
2005-12-14  7:29               ` Andriy G. Tereshchenko
2005-12-14 14:49               ` Brantley Coile
2005-12-14 10:11             ` Richard Miller
2005-12-14 11:00               ` Russ Cox
2005-12-14 12:47                 ` erik quanstrom [this message]
2005-12-14 15:06               ` Brantley Coile
2005-12-14 16:20                 ` C H Forsyth
2005-12-14 22:00                   ` David Leimbach
2005-12-13 17:14       ` David Leimbach
2005-12-13 18:13         ` Ronald G Minnich
2005-12-14  3:05           ` erik quanstrom
2005-12-13 17:43       ` Wes Kussmaul
2005-12-13 18:04       ` Bakul Shah
2005-12-13 18:15         ` Ronald G Minnich
2005-12-13 20:04     ` Oliver Bandel
2005-12-14  5:02     ` Jack Johnson
2005-12-14 12:26       ` LiteStar numnums
     [not found] ` <000401c5ffe3$22447ce0$14aaa8c0@utelsystems.local>
2005-12-13 13:01   ` "Nils O. Selåsdal"
2005-12-13 16:36     ` Charles Forsyth
2005-12-14 15:42 Brian L.Stuart
2005-12-14 16:20 ` Paweł Lasek
2005-12-14 19:14 Brian L.Stuart
2005-12-14 20:06 Brian L.Stuart

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=20051214124714.E3B2498B5B@dexter-peak.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    --cc=rsc@swtch.com \
    /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).