Hacker News new | ask | show | jobs
by WalterBright 2921 days ago
That's distinctly different from D's, which has a pointer to the enclosing stack frame.

If it is the enclosing function, it's just a single pointer to it. The "walking" comes from if you're accessing the enclosing function's enclosing function's frame.

1 comments

Makes perfect sense, thanks. I’m now wondering about the trade offs of these two approaches...