HN.zip

Whitesmiths C compiler: One of the earliest commercial C compilers available

65 points by todsacerdoti - 14 comments
sizzzzlerz [3 hidden]5 mins ago
That brings back some memories from my early days. I worked on a project that had decided to use the newish C language for a 68000-based system. They chose Whitesmith compiler for it, probably because it was the only one available. For some reason, I was selected to attend a class on learning C and became responsible for installing the compiler and assisting the other engineers on using it. The project was ultimately successful but I don't recall what issues we had with it. I do remember contacting Whitesmith a couple of times to resolve some problems. I guess it possible I was talking directly to P.J. Plauger himself, although, at that time, I would have had no idea who he was.
vaxman [3 hidden]5 mins ago
..directly while also visualizing his neck veins xD
mzs [3 hidden]5 mins ago
still have code with this indentation style here: https://github.com/hansake/Whitesmiths-C-compiler/blob/main/...
DamonHD [3 hidden]5 mins ago
I have always used (ie since the mid '80s) something like WS layout for C and its descendants. Only much later did I hear that name for it. Often unfashionable, but I have also been a magazine editor, and like the braces to visually lead the eye down the edge of the code that they surround, like a non-indented text para.
vaxman [3 hidden]5 mins ago
Mind. Blown.

On DEC systems, I programmed using FORTRAN, BLISS, MACRO and (on GiGi and RSTS/E) in BASIC for a long time.. then one day the Bell Labs spinoff I worked for bought a Whitesmith’s C license for the VAXcluster (for probably oodles of money) and I was transferred into a group headed by the guy who wrote UNIX’s malloc implementation a long time before I came along. He hated VMS as much as I hated C. He couldn’t use UNIX because it only ran on dogshit computers. I couldn’t use FORTRAN because someone read a book that said C was cool. We all carried around our K&R pamphlet books and the Whitesmith’s manual (which the Indian workers would mispronounce with three syllables lol). The compiler had all kinds of issues on VMS. Eventually, DEC released VAX-11 C (still have my little 5x7” orange book) and that was enough to make me give up (the truly wonderful) VAX FORTRAN and MACRO/BLISS compilers. My home setup (it was not common for anyone to have home setups then, even programmers) was all assembler, FORTH, Pascal and BASIC but with the shift to C at work, I finally sold a kidney and bought Lattice C and later Aztec C and after moving to the Mac (as I sealed my Amigas into the boxes in the garage where they remain to this day), MPW C, THINK C and CodeWarrior C, MS Visual C, before Yggdrasil Linux…GNU C, then GNU Objective C and now (needle scratch silence) Swift? All started with Whitesmith’s C…

robinsonb5 [3 hidden]5 mins ago
If any of those Amigas had a battery backed clock, please remove the batteries at the earliest opportunity and neutralise the area affected by any leakage with a mild acid such as lemon juice. They'll almost certainly have leaked by now but the longer it's left the worse the damage will be.
B1FF_PSUVM [3 hidden]5 mins ago
> Eventually, DEC released VAX-11 C

A bit raw, with floating point bugs in libm ...

eej71 [3 hidden]5 mins ago
I'm old. I instantly recognized your username.
ok123456 [3 hidden]5 mins ago
Take a look at some of his other repositories. There's one that has basically every CP/M programming tool.
jockm [3 hidden]5 mins ago
I hope one day the source for Whitesmiths unix clone Idris gets released. IIRC it was the first unix clone, and it would just be nice to have that preserved for history
chubot [3 hidden]5 mins ago
Replaying a good comment from lobsters! https://lobste.rs/s/ybarpv/whitesmiths_c_compiler_one_earlie...

> You might also enjoy the Advent Of Computing podcast episode about IDRIS, Whitesmiths’ UNIX clone. History of the company and the compiler included, because they’re all related.

https://adventofcomputing.com/

https://youtu.be/UeZpKgtRfx0

secondcoming [3 hidden]5 mins ago
I remember seeing his name in some Windows header files and always wondered who that person was. Cool.
SeanCline [3 hidden]5 mins ago
Specifically, you'll find his name in the C++ Standard Library headers. Microsoft licensed their standard library from Dinkumware. https://en.wikipedia.org/wiki/P._J._Plauger#Dinkumware
mrec [3 hidden]5 mins ago
Oh wow, I never knew he was an award-winning SF author too. I remember a couple of exchanges with him on the comp.lang.c++.moderated group back in the day.