Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
funnymony
3y ago
0 comments
Share
Conveniences like closures depend on gc
undefined | Better HN
0 comments
default
newest
oldest
Kukumber
3y ago
That's not true
https://dlang.org/spec/function.html#function-pointers-deleg...
dataflow
3y ago
C++ has had closures without a GC for over a decade now.
pjmlp
3y ago
As 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
3y ago
If 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.
j
/
k
navigate · click thread line to collapse