3 ms·
Conveniences like closures depend on gc
by funnymony 4y ago
Conveniences like closures depend on gc
- dataflow 4y agoC++ has had closures without a GC for over a decade now.
- pjmlp 4y agoAs syntactic sugar for how C++ functors used to be implemented, and they also bring their own set of issues when interoperating with co-routines.
- dataflow 4y agoIf anything that's a statement about coroutines, not closures. And even then, not every coroutine has problems. I don't see a logical implication from that to a GC requirement.
- Kukumber 4y agoThat's not true https://dlang.org/spec/function.html#function-pointers-delegates https://dlang.org/spec/function.html#function-pointers-deleg...