Today I learnt that Cell<T> has the size of a pointer (i.e. probably 64 bits) in Rust, regardless of the size of T.
It's a common pattern for making struct fields mutable, but the T isn't actually stored inside the struct.
miniblog.
Related Posts
https://blog.phronemophobic.com/dewey-analysis.html is an absolutely delightful post quantifying Clojure usage.
Functions outnumber macros 20:1, the most popular single letter variable is x, and 63% of projects have zero mutable references!
Pharo 9 will also be available as a Linux package in several major distros! https://thepharo.dev/2021/04/09/installing-pharo-in-linux-using-the-system-package-manager/
For most languages this is no big deal, but it's much harder for a deeply mutable image-based environment.
Design weaknesses in WebAssembly: mutable locals require liveness analysis: https://troubles.md/posts/wasm-is-not-a-stack-machine/