4 ms·
Many[citation needed] electron-ish apps are also available over the internet (vis: slack, atom, vscode, discord being examples I've personally used). In the ca
by ramses0 8y ago
Many[citation needed] electron-ish apps are also available over the internet (vis: slack, atom, vscode, discord being examples I've personally used).
In the case where your software development practices require static bindings to exact versions, you're correct, but your app is participating in the "IoT anti-pattern" of deploying baked code which may or may not be updated based on the long-term viability of your company / product.
I think this offers a great leap forward in transparently keeping local software up-to-date. Your argument boils down to it being better to ship an entire Windows95 VM with your app so you "have control".
In most cases, better to ship your own app and integrate properly with the external operating system / runtime provider (or hide: "Use bundled chrome.exe" as an advanced checkbox).
Ideally it'd be possible to select puppeteer/firefox as the target runtime environment as well.
- finchisko 8y ago>I think this offers a great leap forward in transparently keeping local software up-to-date. Not really. You're forgetting that there is also nodejs runtime bundled with your app. And it needs to be updated too.
- solarkraft 8y agoYou could install that and node_modules system-wide ... ... are we re-inventing shared libraries?
- finchisko 8y agoYes, was thinking about that. But is that really viable for regular joe?
- solarkraft 8y agoSure it can be. Shared libraries are also viable for a "regular joe". There would just need to be a central manager for dependencies. And yes, I realize that we are on many layers of abstraction.
- yathern 8y agoVSCode and Atom are available over the internet? I've seen online cloud-IDEs based on some of the work in them (Cloud9) but wasn't aware the vanilla versions could run in the browser.
- jamesgeck0 8y agoIt's not standalone and I don't know the details, but codesandbox.io can run what is recognizably VSCode.
- lilactown 8y agoYes. At least, VSCode is using monaco-editor: https://microsoft.github.io/monaco-editor/ https://microsoft.github.io/monaco-editor/
- orf 8y agoThat's not the same thing
- csmiller 8y agoStackblitz and CodeSandbox both run VSCode in the browser afaik
- codetrotter 8y agoWhile I am not a fan of Electron, the problem with using the system-wide install of Chrome is that while Chrome and your online web-app are both updated, the installed app might not be. So then the installed app could break in the future when Chrome is updated.