I have published recently MetaCall, which is a library that allows you to 
call functions between languages. NodeJS is one backend supported by it so 
you will be able to embed NodeJS into your C++ application without dealing 
with NodeJS internals. I leave here the link to the repository:

https://github.com/metacall/core



On Tuesday, July 3, 2018 at 10:15:46 AM UTC-5, Al Izi wrote:
>
> Let's say there is embedded node engine inside a C++ application. What is 
> the right way to call a js function from native code? I don't see any 
> exposed v8 interfaces (for instance v8::Isolate). Also how to start node in 
> this case? node::Start(argc, argv) starts node command loop and most 
> probably I even don't need one.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/0dd9421e-b8fa-48fe-8eb8-f3c2d2d7f5c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to