The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS]  OS for IBM PC (was: Algol68 vs. C at Bell Labs)
@ 2016-07-04 16:54 Norman Wilson
  2016-07-04 18:13 ` Larry McVoy
  0 siblings, 1 reply; 7+ messages in thread
From: Norman Wilson @ 2016-07-04 16:54 UTC (permalink / raw)


Greg Lehey:

  And why?  Yes, the 8088 was a reasonably fast processor, so fast that
  they could slow it down a little so that they could use the same
  crystal to create the clock both for the CPU and the USART.  But the
  base system had only 16 kB memory, only a little more than half the
  size of the 6th Edition kernel.  Even without the issue of disks
  (which could potentially have been worked around) it really wasn't big
  enough for a multiprogramming OS.

=====

Those who remember the earliest UNIX (even if few of us have
used it) might disagree with that.  Neither the PDP-7 nor the
PDP-11/20 on which UNIX was born had memory management: a
context switch was a swap.  That would have been pretty slow
on floppies, so perhaps it wouldn't have been saleable, but
it was certainly possible.

In fact Heinz Lycklama revived the idea in the V6 era to
create LSX, a UNIX for the early LSI-11 which had no
memory management and a single ca. 300kiB floppy drive.
It had more memory than the 8088 system, though: 20kiW,
i.e. 40kiB.  Even so, Lycklama did quite a bit of work to
squeeze the kernel down, reduce the number of processes
and context switches, and so on.

Here's a link to one of his papers on the system:

https://www.computer.org/csdl/proceedings/afips/1977/5085/00/50850237.pdf

I suspect it would have been possible to make a XENIX
that would have worked on that hardware.  Whether it
would have worked well enough to sell is another question.

Norman Wilson
Toronto ON


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [TUHS] Algol68 vs. C at Bell Labs
@ 2016-06-30 13:22 Clem Cole
  2016-06-30 14:05 ` Marc Rochkind
  0 siblings, 1 reply; 7+ messages in thread
From: Clem Cole @ 2016-06-30 13:22 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4371 bytes --]

Steve - good stuff.   comments below.

On Wed, Jun 29, 2016 at 11:17 AM, <scj at yaccman.com> wrote:

> But the documentation was a huge barrier

​Amen​ - I remember trying to read the report and getting utterly befuddled.



> --all the
> ​ ​
> familiar ideas were given completely new (and unintuitive) names, making
> ​ ​
> it very difficult to get into.
>
​And as importantly, it was not clear to many of us what we were getting
for all that stuff.   Was it sugar or really going to help?​    C, BLISS,
PL/360, BCPL et al, took a much more minimalist view.   Algol68 seems like
it was the "one ring to rule them all" but how could you be sure?



>
> I may be biased in my view, but I think one fatal mistake that A68 made
> was that it had no scheme for porting the language to the plethora of
> computers and systems around at that time.

​I would put this this a little differently.   To me it was not so much
that there was or was not a scheme to move the language, but it was not
economical to try.​   Between your and Dennis's compilers, which were both
"reachable" by many of us, when we needed a language and compiler for these
new microprocessors that were becoming prevalent at the same time, we had
the sources for your compilers and it was "just a matter of a new back
end."



> (The Bliss language from CMU
> ​ ​
> had a similar problem, requiring a bigger computer to compile for the
> ​ ​
> PDP-11).

​While true, I'm not so sure that was the real problem with BLISS.  I
really think it was that CMU sold the language to DEC and compiler sources
were not available to people.   I've always said if DEC had given away the
BLISS compiler and made the sources available in the same manner as C (or
Pascal for that matter), folks like me would have been tempted to use it
write a backend for the 68K (Z8000, 8086 much less the 8-bit micros).​

I also think the size issue could have been (and would have been) fixed if
it was worth it.   But it was not.  The requirement of needing a PDP-10 (or
later Vax) to run was due to the small address space of the PDP-11 and the
amazing things that the BLISS optimizer did.   But you are correct - that
was never done, so it certainly added why BLISS never went very far.

My own experience was simple. At Tektronix, in the late 1970's I was given
a chip that would become the 68K (it was yet to be numbered by Motorola at
that point) and I wanted a HLL for the system we started to make with it
(what would later be called Magnolia).  As a V6 (and later V7) licensee, I
had the sources to the Ritchie compiler.  I knew both BLISS and C (as well
as Algol/Pascal/FTN/PL-1 et,), and I admit in those days still had a
fondness for the former as a CMU grad and Bill Wulf student.   But I did
not have any of the CMU tools (PQCC et al) much less the DEC ones (and you
are correct, I ould get access to the PDP-10, but I had a couple of UNIX
boxes available).  So, I had your tools and they worked well.   Thus,
I wrote a back end for my project for that chip.  It was that simple.   It
was pure economics.




> Pascal had P-code, and gave C a real run, especially as a
> teaching language.

​Right, Pascal had a number of generally available compilers, with P-Code
being the most used.​  It was as economical as C to work.   And a lot of
people used it.  While I liked it as a teaching language, it was useless as
a production language unless you hacked on it and extended it.  And as
importantly for me, it could not be used as a "systems" language as it.  In
fact, at that time Tektronix has at least 6 different but incompatible
flavors of "Tek Pascal." It was language of choice in the product teams
(BTW, our friends and rivals had over 20 flavors of HP BASIC in those days
too).

I picked C because I could and I knew my PDP-11 code would pretty much just
work on this new device.   Admittedly "proof by lack of imagination" reined
here, but I really could not image trying to use Pascal to write an OS.
 I knew I could with BLISS or C.




> Nowadays, newer languages like Python just piggyback on C or C++...

​Hmm... I would say piggyback on the C ecosystem - i.e. GCC (or now LLVM).​

​Clem​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20160630/f8c8ad8f/attachment-0001.html>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-07 23:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-04 16:54 [TUHS] OS for IBM PC (was: Algol68 vs. C at Bell Labs) Norman Wilson
2016-07-04 18:13 ` Larry McVoy
2016-07-04 21:12   ` Clement T. Cole
2016-07-07  2:20   ` [TUHS] Microkernels (was: OS for IBM PC (was: Algol68 vs. C at Bell Labs)) Greg 'groggy' Lehey
2016-07-07 10:51     ` John Cowan
2016-07-07 23:36       ` Greg 'groggy' Lehey
  -- strict thread matches above, loose matches on Subject: below --
2016-06-30 13:22 [TUHS] Algol68 vs. C at Bell Labs Clem Cole
2016-06-30 14:05 ` Marc Rochkind
2016-06-30 15:32   ` Dan Cross
2016-06-30 15:49     ` Larry McVoy
2016-07-04  5:08       ` [TUHS] OS for IBM PC (was: Algol68 vs. C at Bell Labs) Greg 'groggy' Lehey

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).