By popular demand, I have scanned my copy of Draft #1 of #Kernighan and #Ritchie's C Programming Language book. Here: https://drive.google.com/drive/folders/1OvgKikM8vpZGxNzCjt4BM1ggBX0dlr-y #ComputerHistory #UNIX #CLang
Draft-KandR-C-Book – Google Drive

@aka_pugs i remember learning a lot fixing bugs in examples in the first printed edition. i thought, probably they were there on purpose. coming from a PL/1, PL/S, Pascal (and 360 assembler) background, the language was (and is!) so sweet.
@minshall Indeed. It could do everything I ever wanted to do in PL/I, but much more concisely.
@aka_pugs @minshall
And of course, C in some sense resulted from a chain of accidents, easily might not have happened, in which case its niche would have been filled by BLISS, PL.8 or some extended version of Pascal, or maybe Mesa...
http://techviser.com/wp-content/uploads/2022/06/Mashey.IEEE_.Micro_.2022.pdf

@aka_pugs

Delighted to see the non-final (and commented) version of such a legendary book. It's a reminder that every project goes through these stages, and many iterations are required to get to the perfect result.

@aka_pugs and now to rescue it from Google Drive and save it for posterity on archive.org. (with permission)
@voltagex go for it.
K&R The C Programming Language (Draft Version 1) : Brian W Kernighan, Dennis M Richie : Free Download, Borrow, and Streaming : Internet Archive

Draft of the K&R C Programming Language book. Via https://mastodon.social/@aka_pugs/109480716344891925 with permission

Internet Archive
@aka_pugs thanks for sharing this historical document
@aka_pugs Best into line I've heard at a gathering was "I missed fame and fortune by one letter. I invented the language B.'

@aka_pugs has made available, to the public, unauthorized copies, of protected work.

Let's hope whoever owns the copyright doesn't hunt you down. I'm not sure anyone really knows for sure if they do after all the selling of Bell Labs, I wonder if the rights to this survived all the way to Nokia.

@aka_pugs

A glimpse at history in the making. Thanks for sharing.

Always loved the K&R (English) writing style: laconic yet rich in meaning, like a classical Roman text; Cicero or Plutarch. Really interesting to see a draft version.

@aka_pugs
I learned C from essentially this book back in about 1981 at HP. We first ran HP-UX 1.0 on the old HP9836 (Motorola 68000) machine. The disk pointers got stored in RAM in the first versions, so I was rebuilding the system a lot. 😂
@aka_pugs Cool! Would it make sense to get a copy to @internetarchive or Bitsavers?