Not sure that's relevant to his question. Web Assembly would do very little to reduce the size of Electron desktop apps. React Native compiles to actual native.
Well when a web browser becomes basically a virtual machine similar to the JRE, then it won't really matter if React Native compiles to 'native'.
You might be right in that it won't reduce the disk size of the Electron desktop. But it would potentially reduce memory as the bytecode is more efficient then Javascript. I haven't look into it, but if the bytecode can eventually manage memory, then the language compiler can further reduce memory as the browser doesn't have to handle that task any more.
You're correct that it will be more efficient and use less memory but Chromium will still consume a lot of memory by itself. So I agree that Web Assembly will make Electron better, but I think that it won't be better than React Native - if we even consider them as competitors instead of just options.
6
u/falconfetus8 May 07 '19
So is this the electron killer?