Hi All,
I'm trying to instantiate a mongodb client and open it via emscripten::val
but I'm already stuck at the beginning:( What I'm trying achieve first, is
step 3 of this mongodb
doc: https://docs.mongodb.com/getting-started/node/client/ which is this js
oneliner: "var MongoClient =
These types of activities are best done directly in JS side, with e.g. a
--js-library myMongoLibrary.js integration, rather than attempting to adapt
each JS code line to be called from C++ (in a JNI-style fashion). The JS
libraries allow storing both state and functions on JS side, which makes it
Sorry, I'm not sure how easy it would be to add source maps support for
optimized builds. I don't think anyone's worked on that code in a while -
only way to know might be to just try and see.
Yes, there are general plans to extend source maps for WebAssembly, nothing
concrete yet but the goal is
Unfortunately cooperative multithreading is not possible in the default
build modes. The limitation is exactly being able to save and restore (or
freeze and resume) the stack. It would be possible to build one on top of
the Emterpreter build mode I think, but that does not currently exist.
In the
Interesting.. Not sure how that will exactly interact with custom
toolchains. A while back I did fork CMake and implement support to it to
generate Visual Studio solutions that targeted Emscripten as an experiment.
It did work after removing some hardcoded Visual Studioism in CMake code
tree, but