News for hackers. Stuff that matters.
Re:Nana: A modern C++ GUI library by zarkov99 on Saturday April 20, 2019 @04:29PM (#19708708)
Hard to see how that is a real problem. For one std::function implementations usually do small obj optimization, so if all you are capturing is a pointer there is typically no allocation. Furthermore, this a setup cost, so typically only paid once, and it is a UI, so there is a human in the loop anyway, which enormously increases the performance tolerances.

There are no comments on this comment yet.