DEV Community

Discussion on: Embedding emscripten in a Node.js library

Collapse
 
cancerberosgx profile image
Sebastián Gurin

I'm trying to run ImageMagick (wasm-imagemagick). We avoiding compiling two .wasm (probably we will end doing that). In this case the project provides a js API library to users ourselves are consuming it the application using its CLI.

Besides correctness I think is great that people start the discussion this way without shame. Build and distribution of emscripten binaries is still painful (distribution and installation of libraries particularly) and although a hack it could save lots of pain (so I'm trying it now).

In general we are engineers and if the right solution cost too much then it's not the right solution.
IMO, sometimes Elegant, and right are words that apply to other career while the engineer just need to make it work... Thanks.