Hacker News new | past | comments | ask | show | jobs | submit login

> t is a consequence of how templates work and compatibility with C toolchain as a way to get C++ adopted in the early days.

Not at all! It's a programming style, nothing else. Compare this "Header-only library to expose C++ classes and functions into V8" to the real V8. The latter doesn't use 'header-only', template-only C++. Why? Because Google cannot do it? No, because it makes no sense for real-world programming.




I didn't bother to read the contents of the library and was just stating the fact that in the real world header only libraries are usually a consequence of heavy template use, e.g. boost.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: