News for hackers. Stuff that matters.

pmed

Header-only often is just a consequence of templates using. There is no other way in C++ yet.

Sure, you can use v8 (as described in its Embedder's Guide) without any binding library. But amount of boilerplate code may become unacceptable for a real-world application.

Here is a diff for Node.js addons using node wrapper and v8pp: https://github.com/pmed/v8pp/commit/34c6344bdb1bdf7f0b46db6e...

I'm the author of v8pp. Thanks for the link, didn't know about Embind.