frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

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

https://github.com/hansake/Whitesmiths-C-compiler
72•todsacerdoti•4d ago

Comments

sizzzzlerz•4d 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•1d ago
..directly while also visualizing his neck veins xD
TomMasz•48m ago
I remember using that compiler for M68K in the mid-80s, cross-compiling on a DEC Vax. The debug monitor we were using only displayed hex, no disassembly. The compiler was so predictable that I could locate the memory location for any C statement easily. It made patching code in memory a simple task.
vaxman•1d 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…

eej71•2h ago
I'm old. I instantly recognized your username.
robinsonb5•1h 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•1h ago
> Eventually, DEC released VAX-11 C

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

secondcoming•5h ago
I remember seeing his name in some Windows header files and always wondered who that person was. Cool.
SeanCline•1h 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•1h 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.
jockm•5h 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
tomsmeding•49m ago
Seems you're in luck! Clicking around on the github page of the posted link, one finds https://github.com/hansake/Whitesmiths-Idris-OS .
chubot•4h 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

ok123456•3h ago
Take a look at some of his other repositories. There's one that has basically every CP/M programming tool.
mzs•3h ago
still have code with this indentation style here: https://github.com/hansake/Whitesmiths-C-compiler/blob/main/...
DamonHD•1h 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.
mzs•31m ago
I prefer the Sun extensions to Indian Hill for grepability but I see the appeal especially to folks that came from pascal. Look closely at the example echo.c, thats not "#include <stdio.h>" ;) We still have this included in lots of code where I work since it dates from around 1980:

  % grep '/\*' std.h
  /* std.h header file to allow use of Whitesmiths pseudo classes/types. */
  /* the pseudo storage classes
  /* the pseudo types
  /* system parameters
  %
And yes for me there are ~600 files I still regularly work in written in WS style.
b0a04gl•43m ago
file layout is the interface here lol you can literally walk the pipeline.. lexer parser codegen linker all just sit where they should. the dir was the flow. back then structure = filesystem. we can cd trace src to bin just by lookin at folders

Show HN: I'm an airline pilot – I built interactive graphs/globes of my flights

https://jameshard.ing/pilot
758•jamesharding•6h ago•130 comments

Qwen VLo: From "Understanding" the World to "Depicting" It

https://qwenlm.github.io/blog/qwen-vlo/
116•lnyan•5h ago•37 comments

Transmitting data via ultrasound without any special equipment

https://halcy.de/blog/2025/06/27/transmitting-data-via-ultrasound-without-any-special-equipment/
45•todsacerdoti•2h ago•7 comments

Weird Expressions in Rust

https://www.wakunguma.com/blog/rust-weird-expr
99•lukastyrychtr•4h ago•69 comments

10 Years of Pomological Watercolors

https://parkerhiggins.net/2025/04/10-years-of-pomological-watercolors/
115•fanf2•5h ago•16 comments

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

https://github.com/hansake/Whitesmiths-C-compiler
72•todsacerdoti•4d ago•18 comments

Parameterized types in C using the new tag compatibility rule

https://nullprogram.com/blog/2025/06/26/
112•ingve•14h ago•50 comments

Bitmovin (YC S15) Is Hiring a Junior Solutions Engineer in Denver

https://bitmovin.com/careers/7943569002/
1•slederer•2h ago

Project Vend: Can Claude run a small shop? (And why does that matter?)

https://www.anthropic.com/research/project-vend-1
66•gk1•3h ago•18 comments

PJ5 TTL CPU

https://pj5cpu.wordpress.com/
61•doener•12h ago•1 comments

Show HN: Zenta – Mindfulness for Terminal Users

https://github.com/e6a5/zenta
150•ihiep•11h ago•32 comments

Sailing the fjords like the Vikings yields unexpected insights

https://arstechnica.com/science/2025/06/this-archaeologist-built-a-replica-boat-to-sail-like-the-vikings/
123•pseudolus•4d ago•43 comments

Alternative Layout System

https://alternativelayoutsystem.com/scripts/#same-sizer
340•smartmic•1d ago•54 comments

Show HN: Sink – Sync any directory with any device on your local network

https://github.com/sirbread/sink
86•sirbread•13h ago•72 comments

Slightly better named character reference tokenization than Chrome, Safari, FF

https://www.ryanliptak.com/blog/better-named-character-reference-tokenization/
5•todsacerdoti•19h ago•0 comments

XSLT – Native, zero-config build system for the Web

https://github.com/pacocoursey/xslt
358•_kush•14h ago•292 comments

The time is right for a DOM templating API

https://justinfagnani.com/2025/06/26/the-time-is-right-for-a-dom-templating-api/
189•mdhb•1d ago•194 comments

Show HN: Do You Know RGB?

https://maxwellito.github.io/do-you-know-rgb/
6•maxwellito•3d ago•1 comments

My Lights Run on Bash

https://kramkow.ski/article/2025/06/27/my_lights_run_on_bash.html
38•todsacerdoti•8h ago•8 comments

Copilot Chat in VS Code is now open source

https://github.com/microsoft/vscode-copilot-chat
92•ulugbekna•8h ago•24 comments

Why is the Rust compiler so slow?

https://sharnoff.io/blog/why-rust-compiler-slow
265•Bogdanp•1d ago•339 comments

I Switched from Flutter and Rust to Rust and Egui

https://jdiaz97.github.io/greenblog/posts/flutter_to_egui/
219•jdiaz97•3d ago•117 comments

Starcloud can’t put a data centre in space at $8.2M in one Starship

https://angadh.com/space-data-centers-1
166•angadh•23h ago•285 comments

A Lisp adventure on the calm waters of the dead C (2021)

https://mihaiolteanu.me/language-abstractions
64•caned•3d ago•24 comments

One Architect's Quest to Save Mumbai's Heritage from Disappearing

https://www.bloomberg.com/news/features/2025-06-18/architect-abha-narain-lambah-on-conserving-gateway-of-india-mumbai-heritage
7•MarlonPro•3d ago•0 comments

Blazing Matrix Products

https://panadestein.github.io/blog/posts/mp.html
48•Bogdanp•13h ago•7 comments

AI is ruining houseplant communities online

https://www.theverge.com/ai-artificial-intelligence/691355/ai-is-ruining-houseplant-communities-online
5•rntn•1h ago•0 comments

Calculating the Fibonacci numbers on GPU

https://veitner.bearblog.dev/calculating-the-fibonacci-numbers-on-gpu/
33•rbanffy•4d ago•20 comments

VA Tech scientists are building a better fog harp

https://arstechnica.com/science/2025/06/these-va-tech-scientists-are-building-a-better-fog-harp/
45•PaulHoule•3d ago•25 comments

A lumberjack created more than 200 sculptures in Wisconsin's Northwoods

https://www.smithsonianmag.com/travel/when-a-lumberjacks-imagination-ran-wild-he-created-more-than-200-sculptures-in-wisconsins-northwoods-180986840/
91•noleary•17h ago•41 comments