python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Emscripten pass array to C++ and change its values
It's my first time working with webassembly and I got to the following problem. A solution, which I dont know how to apply, exists in the official docs of emscripten. I also scanned through the web to...
Finn Eggers
Votes: 0
Answers: 1
emscripten not generating .html file with MODULARIZE and EXPORT_NAME parameters set
In emscripten if I compile using -s MODULARIZE=1 I have to also include -s EXPORT_NAME=AnotherModuleName, e.g.
emcc my_code.cpp -O1 -std=c++14 -pthread -s PTHREAD_POOL_SIZE=4 -s MODULARIZE=1 -s EXPORT...
user1300214
Votes: 0
Answers: 0
Emscripten compiled threads seem to be copying references
I have created a thread that takes by reference an object as follows:
void Foo::startThread() {
this->syncThread.push_back(std::thread(my_thread, ref(*this)));
}
my_thread simply prints the po...
user491880
Votes: 0
Answers: 1
Use WebAssembly module compiled with Emscripten in Next JS
I am trying to build a Next JS project with an imported WebAssembly module compiled using Emscripten.
The problem seems to be related to the WebPack loader being unable to import the .wasm module via ...
Filip Szulczewski
Votes: 0
Answers: 2