News for hackers. Stuff that matters.
Re:The Cost of a Closure in C by capestart on Thursday December 11, 2025 @04:22AM (#46229298)
The breakdown of lambda, blocks, and nested functions demonstrates how important implementation and ABI details are in addition to syntax. I think the standard for C should include a straightforward, first class wide function pointer along with a closure story to stop people from adding these half portable, half spooky extensions.
Re:The Cost of a Closure in C by uecker on Thursday December 11, 2025 @12:34PM (#46234389)
This.
Re:The Cost of a Closure in C by fithisux on Friday December 12, 2025 @09:57AM (#46244732)
Exactly.