B (programming language)

B
Designed byKen Thompson
DeveloperKen Thompson, Dennis Ritchie
First appeared1969 (1969)[1]
Typing disciplinetypeless (everything is a word)
Filename extensions.b
Influenced by
BCPL, PL/I, TMG
Influenced
C
Preview warning: Page using Template:Infobox programming language with unknown parameter "caption"
Preview warning: Page using Template:Infobox programming language with unknown parameter "turing-complete"

B is a programming language developed at Bell Labs circa 1969 by Ken Thompson and Dennis Ritchie.

B was derived from BCPL, and its name may possibly be a contraction of BCPL. Thompson's coworker Dennis Ritchie speculated that the name might be based on Bon, an earlier, but unrelated, programming language that Thompson designed for use on Multics.[note 1]

B was designed for recursive, non-numeric, machine-independent applications, such as system and language software.[3] It was a typeless language, with the only data type being the underlying machine's natural memory word format, whatever that might be. Depending on the context, the word was treated either as an integer or a memory address.

As machines with ASCII processing became common, notably the DEC PDP-11 that arrived at Bell Labs, support for character data stuffed in memory words became important. The typeless nature of the language was seen as a disadvantage, which led Thompson and Ritchie to develop an expanded version of the language supporting new internal and user-defined types, which became the C programming language.

  1. ^ "B - computer programming language".
  2. ^ Ritchie, Dennis M. (March 1993). "The Development of the C Language". ACM SIGPLAN Notices. 28 (3): 201–208. doi:10.1145/155360.155580.
  3. ^ Thompson, Ken (7 January 1972). "Users' Reference to B" (PDF). Bell Laboratories. Archived from the original (PDF) on 17 March 2015. Retrieved 21 March 2014.


Cite error: There are <ref group=note> tags on this page, but the references will not show without a {{reflist|group=note}} template (see the help page).


© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search