The alternative to Electron not existing is that you have slower developed, clunkier software, that's buggier and has fewer features.
There is no magic bullet of being like 'just code the exact same thing in C'. There are tradeoffs to every development framework.