| ▲ | soneil a day ago | ||||||||||||||||
Was C really later? I thought UNIX had been ported before it made it to Berkeley. | |||||||||||||||||
| ▲ | bch a day ago | parent | next [-] | ||||||||||||||||
Right - I mentioned BSD because it’s what I run/am-familiar-with, and it does have *.S files [0], but those (or at least the naming convention) came from pre-existing AT&T Unix - so my example does indeed use BSD[1] first released 1978, which is after C[2], created 1972, but The Original Unix[3] (of which BSD is but an embodiment) was started in 1969, before C. [0] https://cdn.netbsd.org/pub/NetBSD/NetBSD-release-9/src/sys/a... [1] https://en.wikipedia.org/wiki/Berkeley_Software_Distribution | |||||||||||||||||
| ▲ | gwynforthewyn a day ago | parent | prev [-] | ||||||||||||||||
C wasn't _later_, but perhaps you're misrecalling when Thompson had his Berkley sabbatical? The quickest source I can find this moment for my claim is an interview with Ken Thompson in IEEE magazine called "Unix and Beyond: An Interview with Ken Thompson". Here's the quote, "At one point, I took BCPL from Martin Richards at MIT and converted it into what I thought was a fairly straight translation, but it turned out to be a different language so I called it B, and then Dennis took it and added types and called it C." You can read the whole thing at https://ieeexplore.ieee.org/document/762801 (or https://www.cs.princeton.edu/courses/archive/spring03/cs333/... if you prefer plain text). When I write the newsletter, I'm _fairly_ sure one of Thompson's big interviews on YouTube has him call this out more clearly, but if I'm misrecalling I'll be sure to write exactly what I can figure out and where I'm sourcing the ideas from. The specific Dennis Ritchie essay that I was referring to, though, is https://www.nokia.com/bell-labs/about/dennis-m-ritchie/portp... - "Portability of C Programs and the UNIX System". He coauthored it with Stephen Johnson, who can count Yacc amongst his many contributions to Unix. | |||||||||||||||||
| |||||||||||||||||