2 ms·
So instead of a call stack, you have a call linked list? That's a pretty wild world to imagine.
by mhink 11y ago
So instead of a call stack, you have a call linked list? That's a pretty wild world to imagine.
- FullyFunctional 11y agoNothing wild about that. Implementations using frame pointers effectively have exactly that and in some architectures, like SPARC, this is mandatory. Furthermore, some functional languages (SML and some Scheme implementations) do this explicitly. For one this, it make call-with-current-continuation much simpler to implement.