I seriously doubt it would be impossible to use Electron as it really is, a Web App.
I seriously doubt it would be impossible to use Electron as it really is, a Web App.
The answer to "would it be feasible/easy to port an Electron app to a pure browser app" is no. Unless all of the communication between the frontend part and the native tooling is done via sockets.
I agree that native apps should be sandboxed, however sandboxing something like an IDE will be quite difficult. Even Apple does not sandbox Xcode.
Admittedly I have not developed any Electron apps, but I have developed serious web apps and worked a little bit with NodeJS also.
Why don’t people do exactly that when they write their code — make all communication happen over regular HTTP and websockets?
For comparison, the same data transfer using Electron native plugin took well under 1ms.