News for hackers. Stuff that matters.
Re:Under the hood of C++ lambdas and std::function by mikeash on Monday March 28, 2016 @11:54AM (#11374984)
The only reason C++ has increased opportunities for inlining is because C++ often requires code to be placed in header files. If you wrote C in this style, you'd have the same opportunities for inlining, it's just that nobody writes it that way, because we generally prefer separately compiled libraries.

There are no comments on this comment yet.