I'm guessing this works only server-side, but to actually use WASM you'd probably want this in a browser, right? Could I generate a binary using inline-webassembly and serve it from my express server?
Good question! This will work both back-end with an Express server and front-end in a browser.
The way inline-webassembly works is that it generates and executes the binary on the fly, so this will not be a separate step.
Let me know if you have questions on how to do that.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm guessing this works only server-side, but to actually use WASM you'd probably want this in a browser, right? Could I generate a binary using
inline-webassembly
and serve it from myexpress
server?Good question! This will work both back-end with an Express server and front-end in a browser.
The way
inline-webassembly
works is that it generates and executes the binary on the fly, so this will not be a separate step.Let me know if you have questions on how to do that.