The Origins of Malloc
spinellis.gr
spinellis.gr
The article also quotes Lions, which is a fun read. You get the sense that the Unix philosophy of "everything's a file" originally had a sibling: "everything's an int".
B is typeless, or more precisely has one data type: the
computer word. Most operators (e.g. +, -, *, /) treated this
as an integer, but others treated it as a memory address to
be dereferenced.
https://en.wikipedia.org/wiki/B_(programming_language)