4 ms·
What do you mean by closures, and by linking of closures? [I've implemented a Scheme before, in C, for context, so I'm wondering if I'm reading what you wrote
by jjtheblunt 7y ago
What do you mean by closures, and by linking of closures?
[I've implemented a Scheme before, in C, for context, so I'm wondering if I'm reading what you wrote with common vocabulary.]
- nappy-doo 7y agoI read that mostly as making sure capture is handled properly.
- wahern 7y agoThe OP was referring to global symbol definitions and the first thing that came to mind were closures, which are generated as implicit global function definitions taking a context argument. Because Go supports lexical closures as first-class objects, they're not uncommon in typical Go code. (Though my experience is limited as I don't use Go regularly.) Point being, there can be hidden, effectively global function definitions. I'm sure that only accounts for a small fraction of the total symbols; it's just the first thing that came to mind, and one of the easiest to understand if your notion of a linker comes from what a Linux runtime linker does for C ABI-based object code.