Re:Saving 100 terabytes of memory by optimizing 1.1.1.1's DN...
by masklinn on Friday August 28, 2026 @01:32PM
(#49481854)
It is not very hard, but it is additional complexity, and it then requires the language to have a way to opt out so you can handle things like FFI or explicit ordering (usually for padding to avoid false sharing and friends).
So most languages opt to follow what their predecessors did: do nothing and task developers with reordering the structure if they want to minimise its size.
So most languages opt to follow what their predecessors did: do nothing and task developers with reordering the structure if they want to minimise its size.