Remix.run Logo
▲ beachy 35 minutes ago

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.