Re:Reflection in C++
by colejohnson66 on Monday June 20, 2016 @10:19AM
(#11938170)
Isn't code bloat "defined" as code that is unnecessary? If it's used, it's not unnecessary. In C# with generics, the JIT compiler will generate seperate code paths for List<int>, List<double>, List<string>, etc. in order to speed up execution. The only difference with C++ templates is that it affects the executable size and is done before hand instead of at runtime (or ngen time).
[ Parent
| on HN ]
There are no comments on this comment yet.