DEV Community

Discussion on: Why the heck is everyone talking about WebAssembly?

Collapse
 
prestongarno profile image
Preston • Edited

There is support for direct C++ to JavaScript function calls using something called "embind" (feature of the emsdk). At work we use I to wrap our C++ API in a js-friendly API. So fast & easy compared to how it used to work where you could only communicate with JSON.stringify or synchronizing state with SharedArrayBuffer.

I think embind might be experimental. At work we have not used it with production code but I can't wait until we do.