Hacker News new | ask | show | jobs
by electroly 1119 days ago
I didn't suggest a heap allocation; indeed, in C++ too you can have stack allocated closures. I mean that it's not simply a pointer to static code; there is an associated data structure.