Hacker News new | ask | show | jobs
by pshc 5818 days ago
Since no GC is a given, a lambda with a closure maps nicely to the C idiom of a function pointer and a void* user data parameter.