News for hackers. Stuff that matters.
Re:The Cost of a Closure in C by eqvinox on Thursday December 11, 2025 @06:34PM (#46238889)
Honestly all I would want from C closures is a better syntax for doing exactly that. Whatever it ends up being (if it goes in), it better have some way to interop with "legacy" function pointer + user context APIs. (Including some way to tell the compiler where the user context pointer goes on the closure's arguments.) Otherwise it's just completely useless.

There are no comments on this comment yet.