4 ms·
Electron is too bloated and heavy, and doesn't meld with the desktop... hey, lets create a new system that uses the same bloated/heavy bits as electron and also
by tracker1 8y ago
Electron is too bloated and heavy, and doesn't meld with the desktop... hey, lets create a new system that uses the same bloated/heavy bits as electron and also the UI that doesn't blend well.
edit: okay, so it doesn't have to download as much since it uses the already installed chrome, meaning you have to conform to ??? from an app perspective to your JS... you may as well just use electron or carlo
- kjksf 8y agoThe project they describe IS a Go port of carlo (it's even named lorca). carlo/lorca is meaningfully different than electron. Electron takes chrome code base, adds node.js code, a bunch of other stuff and makes it an SDK. As a result Electron-based app consists of a copy of chrome a copy of node and maybe 2% of the total size is unique to the app. carlo/lorca re-use Chrome instance already installed so 100% of the size is unique to the app. That removes the biggest complaint about electron i.e. bloat of shipping 100+ MB of SDK to deliver 100 kB of app.
- chatmasta 8y agoI think the biggest complaint about electron is not bloat of shipping the app (a one time download, not a big deal in modern times), but running the app. Since each electron program uses its own instance of Chrome, there is no resource sharing and so memory consumption is high.
- bpye 8y agoAbsolutely. I don't really care about the size on disk, a little bit, but not really. What I really care about is some application using far too much RA - Chrome (and by extension Electron) is notourious.
- andreareina 8y agoSo if I don't already have Chrome I now have to install it?
- kjksf 8y agoWhat lorca does: it shows a message box telling the user to download chrome. What is possible and easy (and what I would do if I was shipping an app using it): silently download chrome on first run if Chrome is not already downloaded. That's an obviously good idea from the point of view of the user.
- PunchTornado 8y agosilently download chrome is a good idea? why don't you tell the user if it wants Google's browser on his computer?
- andreareina 8y agoI would not be happy if some bit of software "helpfully" downloaded a copy of Chrome for me.
- tracker1 8y agoI'm not against it... just the way it was presented was supposed to be so much bigger in terms of runtime. So the biggest complaints against electron/chrome still hold. Didn't catch the carlo/lorca naming thing. And, tbh, I'm all for it... I think electron is slightly better in some ways as I like the idea of one language everywhere, but that's less an issue.
- solarkraft 8y agoIt's a fair argument that browser based UIs are not the best in all areas (resource usage, reliability ...), but an area where they win is effort needed to make them good enough or even nice simply due to its popularity. And I certainly prefer an app launching my browser to show its UI over it bundling a whole fucking browser. > You have to conform to ??? Web applications are able to work in browsers.
- tracker1 8y agoPersonally, I like electron and web apps... the approach from TFA mentions it being lighter weight than Electron... when the actual running engine for both is still Chrome, which is the biggest complaint from detractors. I'm a fan of the model and have used embedded browsers for UI for years, even for embedded kiosks as localization tended to be easier to handle for the translaters, etc. I'm just suggesting that you can make assumptions when packaging against a specific version of electron, where a chrome install from a couple years ago may not have the features you are wanting to use.