How to embed Node.js interpreter into C/C++?

后端 未结 6 1465
后悔当初
后悔当初 2020-12-05 22:43

I want to use Node.js scripts in my C/C++ applications. Some people suggested me to start with v8, libev and libeio; but it means rewriting Node.js from scratch.

So,

6条回答
  •  自闭症患者
    2020-12-05 23:32

    There are many good reasons to embed node, including the ability to leverage npm.

    Unfortunately JXCore is dying. this artice gives some alternatives. http://www.goland.org/nodeapps/

提交回复
热议问题