Webassembly build

As mentioned, I would like to create a webassembly build for it. Background is, that we have restricted computer policies + with webassembly we are running in a sandboxed system. Also easier integrate able into our web application.

I would prefer having a 1:1 feature complete build, but ghutchis mentioned that he might wants different features for this port.

This thread is for deeper discussion, feel free to add wishes / requirements here before I would start porting it.

Thanks for the suggestion and offer - I’m very curious to see how a WebAssembly port would work. I think I have two concerns as far as WebAssembly:

  • it’ll need to be fairly modular because the underlying codebase is modular - and some plugins may not map well into a web view (e.g., auto-opt and some other features use threading)
  • the current design (esp. the edit tool) assume mouse use and I’d guess a WebAssembly port will get interest in e.g. tablet use in which touch gestures are much less accurate

But the best way to know is to give it a try and see what breaks.

Can you tell me a bit more about integrating into your web application? What do you have in mind?