News for hackers. Stuff that matters.
Re:Template Metaprogramming with Modern C++: templates in depth by cbsmith on Monday September 29, 2014 @12:18PM (#8383572)
Part of what is great about C++11/C++14 is constexpr's. It moves ll this "compute ahead of time" logic in to a simpler and more familiar structure.

There is actually a tremendous amount of value of precomputing a lot of work that is currently computed at runtime (the amount of wasted CPU in your typical C++ program, particularly at start time, is kind of crazy). It's just that the real hot spots in real world programs programs tend to revolve around runtime dynamic logic.

There are no comments on this comment yet.