news
46
Discussions surrounding an article comparing GCC's nested functions and C++ lambdas highlight significant implementation complexities, particularly the need for trampolines to cast nested functions to bare function pointers. Critics argue the original author overlooks these semantic differences and the resulting compiler optimization challenges, suggesting that modern closure models remain more practical than adding nested functions to the C standard.
Comments
0Discuss on Hacker NewsOnly full members can comment
Log in to express your opinion.
No comments yet.