logoalt Hacker News

tom_walters • today at 6:19 PM • 1 reply • view on HN

I was thinking about exactly this earlier and, not knowing the history, was imagining a kind of shift from binary to assembly, to basic, to C and beyond, and the pace difference here. What was your perception of C at the time, and how long did it take to change the culture away from whatever it displaced?


Replies

beachy • today at 7:15 PM

The specific area was airline control systems. I'm well out of anything to do with that now, but a long time ago these systems were absolutely engineered for performance and so C was radical as a high level language that could compete with pure assembler for speed.

Two examples of the lengths people went to for performance - 1) the networking hardware, terminals and everything were special airline flavors that sent data in 6 bits rather than 8, just to squeeze more data onto the wire. Is you look over someone's shoulder at an airline booking screen even now you'll see an all caps look - that's why. All caps means less bits.

The second was a little before my time but the geniuses who maintained the assembler code were very close to the hardware. Some used programming tricks to account for the rotational speed of the DASD, so the software would be ready to pull bits off the hard drive just as those bits rotated around and arrived at the read heads. Insane optimisations.

I'm out of the area now so I didn't know what the state of the art is, presumably there's not any IBM assembler still lurking but it certainly wouldn't surprise me.