You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to compile the C++ code here to WebAssembly and use it in a Node app on the backend, rather than on the frontend since it's a webserver application. I'm reading this right now to try to make sure it's portable enough for WebAssembly (currently reading emscripten-runtime-environment.html ).
My question is: how do I use the WASM module I build in a Node application? Also, what file extension should I specify when giving a value to the -o flag? I'm already working on my compilation flag so I can just copy-paste it when compiling my code to WebAssembly, and right now I have this:
I want to compile the C++ code here to WebAssembly and use it in a Node app on the backend, rather than on the frontend since it's a webserver application. I'm reading this right now to try to make sure it's portable enough for WebAssembly (currently reading
emscripten-runtime-environment.html
).My question is: how do I use the WASM module I build in a Node application? Also, what file extension should I specify when giving a value to the -o flag? I'm already working on my compilation flag so I can just copy-paste it when compiling my code to WebAssembly, and right now I have this:
Is this alright? Also, can someone point me to a free web host that would except a WebAssembly+Node app as the backend app?
The text was updated successfully, but these errors were encountered: