Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> By "instantiate", I mean to insert the actual implementation in one .c/.cpp file you write

I know. In my original comment I tried to make it clear that some (but not all) of my points applied to these libraries that have some separate compilation. In my second comment I apologised for not making that clear and tried to stress it even harder. I'm not sure what else I can do to make it clearer.

> The owner of this repo ... His libraries

If you just use this guy's libraries, and that works out for you, then all power to you.

But I'm worried about C++ beginners stumbling across this page on Hacker News and thinking, hmm, using C++ libraries is so hard that I need to restrict myself to libraries like these. That is simply a myth - using vcpkg is really not hard at all, and well worth it for all the other libraries it gives you easy access to. Again, if that doesn't matter to you then that's fine, but I want readers to know that the option is available.

By the way, that the vast majority of libraries linked to from this article are not by the author and do not have the separate compilation model you talked about - they're simply header only with inline functions.



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

Search: