5 ms·
That could be an issue with any language or platform. Sloppy programming (Not meaning to say Atom guys are sloppy) can cause bloat irrespective of the underlyin
by murukesh_s 10y ago
That could be an issue with any language or platform. Sloppy programming (Not meaning to say Atom guys are sloppy) can cause bloat irrespective of the underlying platform. Electron magnifies it because well there are layers and layers of abstraction. But if you do it correctly, it's quite good, as proven by the VSCode team. So we can stop bashing it purely for performance reasons.
Size is still on higher side than desired, but not really much, especially in today's context. If you package it lean, it could come around 40-50mb compressed. That's downloadable in couple of seconds on modern networks and desktop devices.
But the convenience it offers is huge. Same codebase for Linux, Windows, Mac and most importantly Web. Want to convert your project into a SaaS offering? Don't rewrite it, just ship it with an abstraction layer to swap the Native file system calls with Ajax. You can't beat that (yet).
- k__ 10y agoCan't the "cool new Microsoft" write a "Electron Best Practices" book? :)
- murukesh_s 10y agoIndeed, It's exactly what I was thinking..
- blackoil 10y agoLet them Extend it for NodeChakra.