by Polarity · 8y ago · 0 comments
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.
Rather than Spotify, Slack, Discord, ... all coming with their own Electron bundle they can be packaged up as a PWA and use the browser as the runtime environment along with all the nice offline stuff, safe OS integration for notifications, sandboxed file system access, ability to still do some work in S0i3 (aka Modern Standy on Windows), etc.
Or am I totally wrong about this? I am not a web developer so I could be :)
Bonus question: how would this work for things like Atom and VS Code that are electron based. Could they become a PWA?
Electron-like "web" apps (that follow W3C standards) seem to be the future, and I'd love to help out however I can.
Adobe AIR was an effort to create a common runtime for similar things... wouldn't mind seeing a few OS vendors coming together to support something similar, but on the flip side, I don't want to be stuck with Node 4.0's API in 2024.
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.
The fact that no such competitor exists is evidence that the user's preferences aren't what you stated, but is in fact consistent with reality, namely they prefer free and bloated.
... 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?