9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Dennis Ritchie <dmr@bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Client/server program sample code request..
Date: Sat, 23 Sep 2000 08:17:01 +0000	[thread overview]
Message-ID: <39CC4237.DD799C66@bell-labs.com> (raw)
In-Reply-To: <20000923023844.76B11199ED@mail>



presotto@plan9.bell-labs.com wrote (I snip a lot):
> 
> Dial is actually from research Unix.  Wnj and Sam Leffler were doing
> the socket stuff while I was at UCB.  It was not bad considering
> they were starting from scratch and other interfaces were just
> as awkward...

> When I came to the labs, research Unix was using the Datakit
> network instead of ethers and IP (we bell heads spent a long
> time denegrating ethernets and IP before were beaten into
> submission but that's another story).  Datakit
> used relative hierarcical string addresses (things like
> "mh/astro/r70").  They already were using a dkdial() call
> that looks pretty much like the dial() in Plan 9.  The interface
> for datakit was file system based, also very much like the Plan 9
> one is now.  When rtm ported the 4.1c BSD IP code into research Unix,
> we adopted the datakit model rather than sockets because it was,
> we thought, easier to deal with.
> 
> The Plan 9 interface is just a continuation along the same lines.

In case you don't recognize the "rtm"-- for historical completeness,
it is Robert Tappan Morris.

The roots of the approach are clearly exposed in
 http://cm.bell-labs.com/cm/cs/who/dmr/ipcpaper.html
by Dave and me.  He did more of the work, as usual.
The underlying ideas go back a long way.

> 
> Thank Lee McMahon, Sandy Fraser, and Greg Chesson for the nicer
> model that came with the Datakit.  We just recognized the elegance
> of their work and expanded it.

Indeed.  From the application level, the main difference between the
original UCB socket approach and the one that grew in the Plan 9 scheme
is that network names should be textual and visibly hierarchical,
and translated into raw network addresses by a mechanism that isn't written
or compiled into every program that uses them.  Sort of like DNS.  Also,
that I/O over a network connection should be made to look like other I/O
to the extent possible.   Dealing with two network technologies simultaneously
(Datakit vs. Ethernet->Internet + TCP/IP) helped push the generalization.

	Dennis



  parent reply	other threads:[~2000-09-23  8:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-23  2:38 presotto
2000-09-23  2:51 ` Boyd Roberts
2000-09-23  8:17 ` Dennis Ritchie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-09-23  4:27 presotto
2000-09-22 18:21 Russ Cox
2000-09-28 21:17 ` Dan Cross
2000-09-28 21:31   ` Boyd Roberts
2000-09-22  7:48 Stephen Parker
2000-09-21 23:21 forsyth
2000-09-21 23:34 ` Boyd Roberts
2000-09-22  5:40   ` Steve Kilbane
     [not found]     ` <steve@whitecrow.demon.co.uk>
2000-09-22 17:18       ` Tom Duff
2000-09-21 16:27 rog
2000-09-21 15:43 Ish Rattan
2000-09-21 15:56 ` andrey mirtchovski
2000-09-21 16:02   ` andrey mirtchovski

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=39CC4237.DD799C66@bell-labs.com \
    --to=dmr@bell-labs.com \
    --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).