pmed
Re:V8pp: Header-only library to expose C++ classes and functions into V8
on Monday March 02, 2015 @05:24PM (#9134771)
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...
Re:V8pp: Header-only library to expose C++ classes and functions into V8
on Monday March 02, 2015 @04:49PM (#9134570)
I'm the author of v8pp. Thanks for the link, didn't know about Embind.