Comment

Comment by Jtsummers

> all functions statically allocate enough space for their locals.

Would you still have distinct activation records per call or forfeit the ability to have reentrant functions and recursion?

That's one of the main reasons to move to dynamic (as in a call stack) allocation of your activation records versus a single static allocation per function.

parent Jtsummers 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton