From: peter@ferranti.com (Peter da Silva)
Subject: Re: Comparison of Alpha, MIPS and PA-RISC-II wanted
Date: Sun, 29 Nov 1992 22:52:28 GMT [thread overview]
Message-ID: <id.4IEV.QYI@ferranti.com> (raw)
In-Reply-To: 1992Nov29.201544.1@vxcrna.cern.ch
In article <1992Nov29.201544.1@vxcrna.cern.ch> zeus@vxcrna.cern.ch writes:
> written one. UNIX in my view is an abomination, it has serious difficulties,
> these could have been fixed quite easily, but I now realize nobody ever will.
The problem with UNIX is that in 1972 a couple of folks looked at the world
as it then existed, and realised that by making a few simplifying assumptions
that limited the system to the timeshared model, they could develop a very
simple high-level programming model that covered basically the entire set of
applications they were interested in.
This has the advantage that as long as you were interested in that basic
environment, you could run a wide variety of alien operating systems and
present the same interface to the programmer.
Where does the "problem" bit come in? The problem is that to get past the
timeshared environment, you have to either:
1. Make the basic model a little more complex, or
2. Add a few new interfaces to deal with new environments,
and make them more or less well-integrated to the basic
model, or
3. Implement it on top of a more complex model, with an escape
mechanism.
Most people have done 2 or 3. System V IPC, Berkeley sockets, and a lot of
the stuff under ioctl() are examples of 2. Mach, Amoeba, and other UNIX
clones are examples of 3. The problem is, with a few changes in the interface
you can provide a model that works well for real-time and distributed
environments. The Plan 9 model covers the distributed world pretty well,
but does little for real-time. For real-time, you need to jack up the system
call interface and provide a general asynchronous interface to it.
The result would look kind of like sockets code, but it'd be more general:
Let's introduce an opaque object like a file descriptor called an TOKEN.
A TOKEN represents a system call in progress, a TOKSET represents a group
of tokens to be tested for completion or waited on.
ttymon()
{
TOKSET ttyset;
TOKSET waitset;
TOKEN ttys[NTTY];
TOKEN gettys[NTTY];
TOKEN tty;
int i;
ttyset = new_tokset();
for(i = 0; i < NTTY; i++) {
if(ttys[i] = async_open(ttyname(i), O_RDWR))
add_token(ttyset, ttys[i]);
else
alert(DEADTTY, i);
gettys[i] = 0;
}
while(waitset = async_wait(tokset)) {
for(i = 0; i < NTTY; i++) {
if(ttys[i] && token_in(ttys[i], waitset)) {
remove_token(ttyset, ttys[i]);
if(gettys[i] = spawn_getty(i, result(ttys[i])))
add_token(ttyset, gettys[i]);
else
alert(DEADGETTY, i);
ttys[i] = 0;
}
if(gettys[i] && token_in(gettys[i], waitset)) {
remove_token(ttyset, gettys[i]);
log_result(i, result(gettys[i]));
if(ttys[i] = async_open(ttyname(i), O_RDWR))
add_token(ttyset, ttys[i]);
else
alert(DEADTTY, i);
gettys[i] = 0;
}
}
}
}
> At the moment I use a VMS box, I do so because I find that I do not spend my
> time having to think in the "UNIX" mentality that centers around kludges. I do
> not have to tolerate a help system that begins its insults of the user by
> being invoked with "man".
That's because it's not a help system. It's an online manual. If you want a
help system, I'm afraid that nobody's written one for UNIX. If there's a
demand for it, you can be sure that you'll get plenty of buyers when you
write one and sell it at a reasonable price.
> Apollo in my view were the only UNIX vendor
Apollo were another group 3 vendor, alas.
> What I find disgusting about UNIX is that it has *never* grown any operating
> system extensions of its own, all the creative work is derrived from VMS,
> Multics and the operating systems it killed.
That's because UNIX is all about simplifying the working model. Not extending
it. POSIX *is* UNIX, and if you implement POSIX you have implemented a UNIX
system, for all practical purposes. It's just got some fancy terminology tacked
on so DEC and others can save face. Because, for all its warts, UNIX is still
a *GOOD* common denominator for a wide variety of application domains.
Certainly it's a much better API than VMS or WNT provide.
--
%Peter da Silva/77487-5012 USA/+1 713 274 5180/Have you hugged your wolf today?
/D{def}def/I{72 mul}D/L{lineto}D/C{curveto}D/F{0 562 moveto 180 576 324 648 396
736 C 432 736 L 482 670 518 634 612 612 C}D/G{setgray}D .75 G F 612 792 L 0 792
L fill 1 G 324 720 24 0 360 arc fill 0 G 3 setlinewidth F stroke showpage % 100
next prev parent reply other threads:[~1992-11-29 22:52 UTC|newest]
Thread overview: 120+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-11-24 15:24 Comparison of Alpha, MIPS and PA-RISC-II wanted Dov Grobgeld
1992-11-24 14:36 ` Marcus J. Ranum AXP
1992-11-25 14:48 ` Greg Pavlov
1992-11-26 2:08 ` David M. Senseman
1992-11-26 8:43 ` Philip Machanick
1992-12-03 22:35 ` Douglas Miller
1992-12-03 12:34 ` Phill Hallam-Baker
1992-12-04 6:38 ` Philip Machanick
1992-12-05 0:19 ` Phill Hallam-Baker
1992-12-06 1:37 ` Eric Jones
1992-12-06 4:56 ` Yamanari
1992-12-06 6:20 ` digression re supercomputer development funding (was: Re: Comparison) Jonathan Thornburg
1992-12-07 16:01 ` J. Eric Townsend
1992-12-08 6:31 ` Philip Machanick
1992-12-08 15:07 ` George Carr
1992-12-07 19:24 ` Eric Jones
1992-12-06 18:16 ` Comparison of Alpha, MIPS and PA-RISC-II wanted Phill Hallam-Baker
1992-12-08 19:17 ` Rob Healey
1992-12-07 18:44 ` Eric Jones
1992-11-24 19:04 ` Allen Akin
1992-11-25 13:11 ` Thomas Sippel - Dau
1992-11-25 18:20 ` Martin Rocek
1992-11-25 20:19 ` Peter Shenkin
1992-11-26 9:37 ` Philip Machanick
1992-11-30 15:42 ` Dileep Bhandarkar
1992-11-30 20:45 ` SGI_Junkie
1992-11-26 1:50 ` David M. Senseman
1992-11-26 4:37 ` Fran Litterio
1992-11-29 8:11 ` Mike Wilson
1992-11-29 8:50 ` Mike Wilson
1992-11-30 16:08 ` Steve McIntosh
1992-12-01 6:04 ` Jussi Eloranta
1992-12-01 19:55 ` Rob Healey
1992-12-02 6:23 ` Jussi Eloranta
1992-12-03 16:40 ` mjl-b
1992-12-08 15:50 ` Thomas Sippel - Dau
1992-12-03 14:40 ` Ian Jefferson
1992-12-03 15:29 ` J. D. McDonald
1992-12-04 15:43 ` Ian Jefferson
1992-12-04 23:58 ` Phill Hallam-Baker
1992-12-03 16:09 ` John Mount
1992-12-08 23:58 ` Thor Lancelot Simon
1992-12-10 21:33 ` Rob Healey
1992-12-01 16:19 ` richard g. adair
1992-12-01 19:43 ` Rob Healey
1992-12-04 13:48 ` jackson
1992-12-04 16:30 ` Doug Mohney
1992-12-02 0:56 ` david carlton
1992-12-02 12:59 ` Dave Bernard
1992-11-30 16:48 ` richard g. adair
1992-12-01 16:43 ` william E Davidsen
1992-11-29 19:15 ` zeus
1992-11-29 22:52 ` Peter da Silva [this message]
1992-11-30 2:11 ` Peter Mayne
1992-12-01 16:50 ` peter da silva
1992-12-15 11:34 ` Sean McLinden
1992-12-18 15:01 ` Phill Hallam-Baker
1992-12-18 17:16 ` Tim Phipps
1992-12-19 1:23 ` Eric Jones
1992-12-19 14:27 ` Josh Osborne
1992-12-19 20:47 ` Phill Hallam-Baker
1992-12-20 16:31 ` Josh Osborne
1992-12-21 15:34 ` gezelter
1992-12-22 15:46 ` M Darrin Chaney
1992-12-23 5:25 ` Don Stokes
1992-12-28 19:40 ` zrepachol
1992-12-29 2:29 ` Don Stokes
1992-12-30 0:01 ` Chris Torek
1992-12-30 15:42 ` M Darrin Chaney
1992-12-30 17:39 ` M Darrin Chaney
1993-01-08 22:22 ` Phill Hallam-Baker
1993-01-08 21:31 ` Lawrence B. Henry III
1993-01-08 22:25 ` Michael A. Thomas
1993-01-08 22:34 ` Michael A. Thomas
1992-12-29 0:25 ` jeh
1992-12-29 5:00 ` Don Stokes
1992-12-29 21:46 ` File system vs. RMS jeh
[not found] ` <1992Dec22.201616.5907@ais.com>
1992-12-24 15:35 ` Comparison of Alpha, MIPS and PA-RISC-II wanted M Darrin Chaney
1992-12-22 13:58 ` Thomas Sippel - Dau
1992-12-19 16:55 ` J. D. McDonald
1992-12-20 21:45 ` gezelter
1992-12-26 0:18 ` Bill Beebe
1992-12-28 13:25 ` Rob Lyle Wizard of Ozje
1992-12-21 15:39 ` You never forget your first gale
1992-12-22 0:01 ` peter da silva
1992-12-22 13:45 ` Thomas Sippel - Dau
1992-12-19 17:29 ` David Fox
1992-12-20 16:10 ` Keith Smith
1992-12-20 17:35 ` richard g. adair
1992-12-21 23:57 ` peter da silva
1992-12-22 2:37 ` Michael Paddon
1992-12-22 14:05 ` Robin Fairbairns
[not found] ` <1992Dec22.203644.5908@ais.com>
1992-12-23 3:50 ` Marcus J. Ranum
1992-12-23 16:39 ` peter da silva
1992-12-24 4:08 ` Rick Kelly
1992-12-24 5:42 ` Lawrence B. Henry III
1992-11-27 22:25 ` David Collier-Brown
1992-11-30 12:49 ` Damon
1992-12-04 5:46 ` Maurice J. LeBrun
1992-11-28 7:02 ` richard g. adair
1992-11-30 23:14 ` Russ Jones
1992-12-04 0:41 ` Lee Sailer
1992-12-04 16:31 ` M Darrin Chaney
1992-12-04 21:38 ` Doug Siebert
1992-12-05 1:15 ` David M. Senseman
1992-12-05 18:21 ` Phill Hallam-Baker
1992-12-12 11:18 ` Adrian Hassall Lewis
1992-12-02 6:21 ` Greg Pavlov
1992-12-03 20:02 ` Thomas Sippel - Dau
-- strict thread matches above, loose matches on Subject: below --
1992-11-26 16:31 sharpe
1992-11-29 19:54 ` zeus
1992-11-30 8:12 ` Philip Machanick
1992-12-01 3:50 ` Doctor Math
1992-12-02 1:26 ` Dave Olson
[not found] ` <ByLI2F.Bvq@digiboard.digibd.com>
1992-12-01 20:47 ` M Darrin Chaney
1992-12-02 22:49 ` Phill Hallam-Baker
1992-12-03 0:26 ` M Darrin Chaney
[not found] <CARLTON.92Dec1165259@scws1.harvard.edu>
1992-12-02 13:03 ` Dave Bernard
1992-12-02 18:12 ` Michael A. Thomas
1992-12-02 22:56 ` Phill Hallam-Baker
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox