Found thanks to this tweet [0]:
> "A 32-bit integer is currently represented as a 64-bit pointer to a sequence of three 64-bit words. There’s a header, ... the fact that it is a 32-bit integer, and ... the 32-bit integer expanded to fill 64 bits."
apart from the above it is full of interesting comments about memory management in general and specifically about Rust and Ocaml
Found thanks to this tweet [0]: > "A 32-bit integer is currently represented as a 64-bit pointer to a sequence of three 64-bit words. There’s a header, ... the fact that it is a 32-bit integer, and ... the 32-bit integer expanded to fill 64 bits."
apart from the above it is full of interesting comments about memory management in general and specifically about Rust and Ocaml
[0]: https://twitter.com/tarunchitra/status/1479266936387219456