TIL about 'B', the programming language - eviltoast

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

Influenced by BCPL, PL/I, TMG

Influenced C

B was designed for recursive, non-numeric, machine-independent applications, such as system and language software. 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.

  • abbadon420@lemm.ee
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    5 months ago

    The memory word size is the amount of bites your CPU can hold and proces in a single cycle. The word size of a modern computer is usually 64 bit.

    • Jeeve65@ttrpg.network
      link
      fedilink
      arrow-up
      7
      ·
      5 months ago

      There was no question in the post. I’m pretty sure that poster knows what “word size” is in this context.

        • aard@kyu.de
          link
          fedilink
          arrow-up
          13
          ·
          5 months ago

          the “whatever that might be” in that context meant “the machine dependent format could be anything, and it wouldn’t matter for B”