3 ms·
What is wrong with that? Visual studio code runs on Electron. I bet it looks much more polished and performant than many native editors out there.
by murukesh_s 10y ago
What is wrong with that? Visual studio code runs on Electron. I bet it looks much more polished and performant than many native editors out there.
- k__ 10y agoProblem with Electron is, that some stuff implemented on it is really slow. Look how Atom compares to VSCode, one is really snappy, the other starts lagging when you installed a bunch of extensions. Also, companies like Slack just use Electron as a 60MB wrapper for their website.
- murukesh_s 10y agoThat 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.