🎩🤓 "Brace yourselves, nerds! We have a #groundbreaking discovery: #closures in #C aren't free 🤑. Only took a detailed blog post to figure out what every computer science student learns in Programming 101. Who knew adding complexity could be... complex? 😂"
https://thephd.dev/the-cost-of-a-closure-in-c-c2y #discovery #programming101 #nerdalert #complexityhumor #HackerNews #ngated
The Cost Of a Closure in C

I had a vague idea that closures could have a variety of performance implications; I did not believe that so many of the chosen and potential designs for C and C++ extensions ones, however, were so…

The Pasture