"Crates.io is reasonably complex, linking to libgit and such, and still uses roughly 25MB of RAM, constant." Impressive!
miniblog.
Related Posts
Rust is doing constant propagation on its internal IR before monomorphisation. This can give faster compiles because LLVM is given less code!
π in Julia is not just a Float64 constant. It's evaluated to the accuracy required of the type you're using! https://julialang.org/blog/2017/03/piday
I used to think DCE and constant propagation were pointless: eg clean code shouldn't have dead sections. But inlining creates opportunities!