by kevindong · 8y ago · 0 comments
The early 2000s were a different time. While as modern day electron apps are regularly 100+ MB.
...but really. ImageOptim is super awesome and zero-effort.
Looking at the output directory, I saw that the fonts I'm using make up about 45% of the whole app!
[0] I would be very happy with Qt/QML and would grudgingly accept GTK, but others apparently are not that complacent
The electronisms I occasionally have to use are glorified chat-apps like Signal. Hardly complex UI cases.
These days, I
do* have a couple of Electron-things installed, because I occasionally need them, but they are ugly hacks which bring me no joy.No JRE either, by the way, if I can help it. Same reasoning.
I also remember circa 2000 when the CS meta was, "who cares about optimization when you're riding the perpetual tailcoat of Moore's law"...then homogeneous parallel architectures became a thing overnight and much of the software development community was caught with their pants down.
Flash forward over a decade later with low-power embedded being the dominant end user platform and heterogenous compute already at the competitive forefront. Perhaps it's personal bias, but when I read net-smaller apps, my hardware design instincts immediately kick and scream net-complacency.
I'd hesitate to make this generalization. I need to use slack on a macbook for work and it crashes regularly. I tried out VS code and it also would crash on occasion. Worse than that, coworkers of mine have rolled bug-ridden electron apps that we're required to use. There are plenty of non-electron apps that are stable.
> coworkers of mine have rolled bug-ridden electron apps that we're required to use
This is quickly becoming one of those things I can't stand, especially when there are open source/free options out there. No, I don't want to use your homegrown application unless there really isn't a good option out there. And if that's the case, make it a good tool and release it OSS and try to get some traction behind it.
Most 'home grown' corporate apps I've used are dependent on internal resources, processes and requirements. They'd be useless to anybody else, there are no alternatives anywhere at any money and in many cases you can't do big chunks of your job without them.
I don't like that slack consumes some many resources. I love vscode so I don't care.
How would that work if all the application developers decided that native sucks and all should use Electron?
I created a proof-of-concept called Electrino that uses the platform native libraries to cut down on app size: https://medium.com/dailyjs/put-your-electron-app-on-a-diet-w...
Unfortunately I haven't had the time to work on Electrino due to family, etc. — I wish I did because the need is clearly there.
I can understand the inconsistencies and lack of feature support that could emerge from using a different browser engine for each OS (Webkit/Edge), but there should at least be away for Electron apps to share Chromium/Node runtimes between them.
Electron-like "web" apps (that follow W3C standards) seem to be the future, and I'd love to help out however I can.
Yeah, and that's a good thing. Furthermore, there are toolkits that don't, and they are still more efficient than Electron.
Electron is just outsourcing cross platform development to the Chromium project.
... and ultimately to the consumer, who pays for higher spec'd hardware and more electricity.
That's the point. Why download another framework when you have one on your computer already that's tailored to your platform?