this post was submitted on 05 Aug 2024
59 points (95.4% liked)

Today I Learned (TIL)

6549 readers
28 users here now

You learn something new every day; what did you learn today?

/c/til is a community for any true knowledge that you would like to share, regardless of topic or of source.

Share your knowledge and experience!

Rules

founded 2 years ago
MODERATORS
59
submitted 3 months ago* (last edited 3 months ago) by otter@lemmy.ca to c/til@lemmy.ca
 

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.

top 18 comments
sorted by: hot top controversial new old
[โ€“] otter@lemmy.ca 21 points 3 months ago* (last edited 3 months ago) (1 children)

It could be a joke in a sitcom

What programming language came before and inspired C?

B?

laugh track

That's correct

๐Ÿ˜ฎ

laugh track

[โ€“] morrowind@lemmy.ml 18 points 3 months ago (2 children)

Wait till you learn about D

[โ€“] ChaoticNeutralCzech@feddit.org 13 points 3 months ago (2 children)

There's R, too, and J. In fact, every letter has a more-or-less known programming language. Storage was expensive back then!

[โ€“] lugal@sopuli.xyz 9 points 3 months ago (2 children)

Can't wait to learn รŸ and ร†!

[โ€“] ChaoticNeutralCzech@feddit.org 7 points 3 months ago (1 children)
[โ€“] rickyrigatoni@lemm.ee 4 points 3 months ago

I'd use โ˜ƒ๏ธ more but every time I try my computer freezes.

[โ€“] NOT_RICK@lemmy.world 3 points 3 months ago* (last edited 3 months ago)

I use R for work. Itโ€™s comparable to python

[โ€“] almost1337@lemm.ee 2 points 3 months ago (1 children)
[โ€“] ILikeBoobies@lemmy.ca 1 points 3 months ago* (last edited 3 months ago)

http://www.byond.com/games/

I wish it had client linux support

[โ€“] abbadon420@lemm.ee 1 points 3 months ago (1 children)

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 7 points 3 months ago (1 children)

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

[โ€“] abbadon420@lemm.ee -2 points 3 months ago* (last edited 3 months ago) (1 children)

There was a (sort of) question

whatever that might be

[โ€“] aard@kyu.de 13 points 3 months ago (1 children)

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

[โ€“] abbadon420@lemm.ee 1 points 3 months ago