2 ms·
Pretty sure stack growth knowledge like this is on the Zig roadmap. Stack memory is a free-for-all in most languages, but in many domains, it's as crucial to ma
by dundarious 5y ago
Pretty sure stack growth knowledge like this is on the Zig roadmap. Stack memory is a free-for-all in most languages, but in many domains, it's as crucial to manage as the heap.
- anonymoushn 5y agoA similar type of information is already recorded by the compiler for async functions to figure out how large their frames must be. So the proposed change would change the size of some frames but otherwise do nothing to most code.
- dundarious 5y agoCheers. I must admit I've completely ignored the async aspect of Zig for the time being, so I know nothing about how close or far it is from already doing enough of this work. Thanks for the info.