I am looking into the feasibility of embedding Node.js into a C application. Pure Data is a graphical programming language which is written in C. I am looking to write a C extension for the program that can call nodejs functions. If this is not possible, I am seeing if there are other alternatives for embedding Javascript into a C application. Ideally, the embeddable Javascript would support the latest Javascript specs.
Asked
Active
Viewed 420 times
1
-
Maybe you could use [node addon API](https://github.com/nodejs/node-addon-api) which is a C/C++ interface with NodeJS environment. You can check [some example here](https://github.com/nodejs/node-addon-examples) not sure it matches your requirements though – Bertrand Martel Mar 20 '20 at 02:49