3 ms·
The 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,
by kjksf 8y ago
The 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.