this post was submitted on 20 Jul 2023
9 points (100.0% liked)

Trivia

238 readers
1 users here now

A place to quiz others with trivia questions related to the instance!

Please keep questions on the topic of trivia. If you have a question for how to do something please post it in a community relevant to what youre doing or [email protected]

Guidelines

Credits

Logo base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

Bonus points if you also know:

  • How the language (allegedly) got it's name?
  • Which operating system still leverages the language today?
all 6 comments
sorted by: hot top controversial new old
[–] pwshguy 11 points 1 year ago* (last edited 1 year ago)

I feel down a rabbit hole, a few years ago wonder the same thing about C#. Here is what I found.

  • C# was developed in 2000 as a successor to C++. Doubling the ++ to a #.
  • C++ was developed in the early 80s as a successor to C. Adding plus (+) to a name was a common way of indicating it was an enhancement. Also ++ is the incrementing operator for C.
  • C was developed in the early 70s as a successor to the B programming language. C comes after B.
  • B was developed in 1969 and was derived from the BCPL language. Basically, B was a stripped down version of BCPL.
  • BCPL (Basic Combined Programming Language) was developed in 1967 and was a designed as an simpler version of CPL.
  • CPL (Combined Programming Language) was developed in the early 60s at Cambridge. The original name was "Cambridge Programming Language" but was changed to Combined when it was published jointly with the University of London.
[–] [email protected] 7 points 1 year ago (1 children)
[–] joby 3 points 1 year ago
[–] ruffsl 1 points 1 year ago* (last edited 1 year ago)

Answer:

Indeed, the precursor to the C programming language is B!

Additionally:

Its name most probably represents a contraction of BCPL, though an alternate theory holds that it derives from Bon [Thompson 69], an unrelated language created by Thompson during the Multics days. Bon in turn was named either after his wife Bonnie or (according to an encyclopedia quotation in its manual), after a religion whose rituals involve the murmuring of magic formulas.
https://en.wikipedia.org/wiki/B_(programming_language)#cite_note-chist-2

B is almost extinct, having been superseded by the C language. However, it continues to see use on GCOS mainframes (as of 2014) and on certain embedded systems (as of 2000) for a variety of reasons: limited hardware in small systems, extensive libraries, tooling, licensing cost issues, and simply being good enough for the job.
https://en.wikipedia.org/wiki/B_(programming_language)#cite_note-uwtools-13