Re:Building and Linking Libraries in C
by dom0 on Friday December 23, 2016 @04:42AM
(#13243916)
I'd rather have code in headers and longer compiler times than type erasure.
[ Parent
| on HN ]
Re:Building and Linking Libraries in C
by gpderetta on Friday December 23, 2016 @09:18AM
(#13244801)
C# is capable to instantiate templates at runtime/dynamic link-time so there is no need to compromise.
Instantiation at static link time would be feasible in C++, but runtime instantiation would require an heavy runtime which is frowned upon in C++.