Is it possible to call C ++ functions from JavaScript using Emscripten?

I'm trying to create a JavaScript wrapper from a C ++ library (so that C ++ code can be used on the client side in a web browser), but I'm not sure which tools would be better for this purpose. Using Emscripten, is it possible to create a JavaScript library from a C ++ library so that C ++ functions can be called in JavaScript?

+7
source share
1 answer

Yes, you can call compiled C ++ functions from JavaScript, according to the official Emscripten documentation.

+6
source

All Articles