Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Question: WebAssembly support? #6539
WebAssembly is not a magic solution. It would be perfectly possible to write a less efficient implementation compile it to WebAssembly and be worse off. However, the languages that currently support WebAssembly are lower-level languages the give you greater control over memory and execution characteristics, so in theory you should be able to write more efficient implementations (as always, you will need to measure your specific use case).
You have already mentioned writing parts of applications in WebAssembly, so I am not sure what else there would be. I suppose you could use a WebAssembly component to replace some part of Electron itself if you found something that you could optimize that way.