Oh, look! Another thrilling installment in the saga of #measuring the #speed of C closures! 😴 We've got #benchmarks, #tweaks, and more tweaks, because clearly, if you're not measuring the nanoseconds ⏱️, are you even programming? 🙄
https://thephd.dev/the-cost-of-a-closure-in-c-c2y-followup #Cclosures #Programming #HackerNews #ngated
The Cost of a Closure in C, The Rest

The last article checked the landscape of various C and C extension implementations of Closures for their performance capabilities. But, there were a few tweaks and extra things we could do to check the performance of other techniques. At the time,

The Pasture
🎩✨ Behold, the mystical art of transforming #Lua closures into C closures—a riveting read for the 0.0001% who crave #APIs and global functions like their morning coffee! ☕🔮 Spoiler alert: you'll need a PhD in #tedium and an undying love for #parentheses. 🙄📜
https://lowkpro.com/blog/creating-c-closures-from-lua-closures.html #Cclosures #Coffee #HackerNews #ngated
Creating C closures from Lua closures