Hacker Newsnew | past | comments | ask | show | jobs | submit | pmed's commentslogin

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.


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

Search: