9d
9d copied to clipboard
Get the gate code work with emscripten
So what it takes to be able to compile the C++ to JS - initially use node.js, once it works, get it to work on a browser
What I understand from this is :
- we want an extension written in C++, which can then run as any node package and then make it run on a browser.
- or use node-ffi.
- or build/employ a compiler to simply convert cpp to js
Please help out with more description.
Learn how emscripten works - it takes CPP and creates .JS using clang/llvm
Figure out how to call that from some node.js / browser