Better HN
topnewbestaskshowjobs
Log inSign up

pmed

1 karma · joined Mar 2, 2015 (11y ago) · 2 submissions

Submissions

comment 11y ago · link · parent

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...

comment 11y ago · link · parent

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