Re:Why I Don't Like Golang (2016)
by kazinator on Wednesday June 12, 2019 @11:45PM
(#20171644)
GNU C has "downward funarg" closures, like Pascal. They have the same representation as function pointers, which requires the compiled code to generate trampolines (little pieces of machine code that find a PC-relative environment pointer) on the stack. Invoking them requires executable stacks (a linker-level executable option often now turned off by default in major GNU/Linux distros).
[ Parent
| on HN ]
There are no comments on this comment yet.