If Inkscape is transferred to the Electron platform then it instantly
runs everywhere - OSX, Browsers, Linux, Windows:
https://medium.com/@ole.ersoy/rewriting-inkscape-in-javascript-7e351738c37c
There are A LOT of Javascript devs. Could just open a github branch and see what
happens.
On the surface, it's a fine idea, but then you quickly run into the fact that there is
only one event loop so only one function can ever be running at once, no matter how many
cores you have. Then you get into async hell.
If you want to port it to something, I would port it to Qt so that it "just
works" across the board. Also there are efforts within the Qt project to support web
assembly and all that. But ripping out GTK at this point is a daunting task, but at least
you can map it mostly 1-to-1 with Qt, with Qt being a toolkit with cross-platform as its
stated objective.