Registered Member
|
Hi,
I'm the founder of the Rust Community Stuttgart (https://www.meetup.com/de-DE/Rust-Community-Stuttgart/) and want to show the power of Webassembly at the next event in Mid-June. I just want to make a showcase on how powerful Webassembly already is and want to run Krita in the Browser. Has someone of you performed a compilation target WASM with the Krita code? Is this idea too ambitious? I'd like hearing your opinions on this and most of all a viable path on achieving it. Thank you in advance. Yours sincerely, Romeo |
KDE Developer
|
Um, no, we have talked about it, but never tried it. Krita uses multithreading a lot, and I'm not sure whether wasm already supports that. Then again, we use a score or more of dependencies, some of which use cpu vectorization instructions directly. I would be *extremely* interested in your results, and if you have any, well, I wouldn't hesitate to hop on the train to Stuttgart and see what you've come up with
|
Registered Member
|
is it currently possible to get a compilation binary with all the dependencies as static libs included?
I think of a one file distribution and with the current cmake config. |
Registered Member
|
@boudewijn
With the MVP, released in March 2017, there is no multithreading possible within WASM right now. (And only 32bit) Further efforts will be made to get MT onboard as well as garbage collection. Which opens WASM for languages like Java, C# or Go. |
KDE Developer
|
Not as far as I know; Krita uses plugins extensively, and plugins and static libs don't go together (as far as I know, thing might have changed...) |
Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]