5 ms·
Nowadays when I hear "crossplatform" I think bloated electron app. That's sad.
by bestouff 5y ago
Nowadays when I hear "crossplatform" I think bloated electron app. That's sad.
- maximus-decimus 5y agoIt's not Electon's fault that all other solutions are not cross-platform.
- Nicksil 5y ago>all other solutions are not cross-platform. What makes you think this?
- threatofrain 5y agoHas Dart + Flutter taken off yet? Or does some other competitor pop into your mind?
- metalliqaz 5y agoI could write it in Python, or Java, or C#, and it would run everywhere that those environments run.
- soylentgraham 5y agoIf your "app" is running in java, python, you need to bundle the correct runtime version. (As well as another UI framework, and all dependencies) You're back in bloaty electron land then, no?
- metalliqaz 5y agoNo, I would argue you're not. The runtime destributables for .NET and Java are not bloated like Electron. Python is worse however it's a already a built-in part of many system's package ecosystem.
- Nicksil 5y ago>Has Dart + Flutter taken off yet? Or does some other competitor pop into your mind? Qt
- pjerem 5y agoI’m in the same boat but, tbf, as a developer, what are the alternatives ? Multiplatform GUI toolkits are abandoned or still heavily tied to C++ or Java
- tylerscott 5y agoIt is still very new but Flutter desktop support looks promising. I've been toying with it in my free time and it is very easy to get up and running.
- bachmeier 5y agoIs there something wrong with running a local web server and opening the app in a browser tab? Not my area of expertise, so maybe it would have its own set of issues.
- dspillett 5y agoThe issue for Electron is making sure the right version of Node and Chromium are available which is why each app is so big: each apps includes the version of both that they were last dev&tested against. That is why running several eats a fair amount of RAM - they have full Chromiums running, not sharing anything between them even if they are the exact version. > Is there something wrong with running a local web server and opening the app in a browser tab? For the average user, probably. Though for a developer targetted app probably not IMO. For a dev, running a new enough version of Node (but, for not well maintained apps, perhaps having one that is not _too_ new around) and making sure you have a recent enough browser, is not an issue, but for beginners or completely non-technical users that is a barrier to using the app. As access to local resources from within the browser is getting practical, I think the best common ground will have to be two versions from (mostly) the same source: a pure JS version that someone who can follow the instructions can run using already installed node and the same browser instance they use for everything else, and a memory hungry Electron version for others to install just by downloading the huge installer. And of that first version can be run as a service, or perhaps there would be a third version with extra parts not needed for either local version for that, for those who don't want to install at all. Maybe at some point OSes/distributions/appstores will go with “we have this LTS version of Node and this LTS version of Chromium, otherwise provide your own”. That way devs could release a full cross-platform version of their app (Electron with all the baggage), and streamlined versions (no Node, no Chromium, just the app and any extra supporting libs) for Win10, Win11, Debian11, Ubuntu20.04, ..., that have been tested against the versions included with those OS options. Appstores would always get the streamlined versions because they can make sure the right version goes to each OS version they service. Perhaps there would be a combined installer: still huge as it contains everything, but it only installs and runs the app+libs if the target's standard backend & browser are found to be compatible.
- tempodox 5y agoThe saddest thing is that you're right — it is a bloated Electron app, almost 300 MiB uncompressed. Compare that to the < 6 MiB for LightPaper, the app that I use on macOS. Not to mention the security holes from the thousands (millions?) of Node modules an app like this probably contains.
- dspillett 5y agoThat isn't really comparing like for like though is it, given LightPaper is _only_ available for the Mac, is a paid app (inexpensive, yes, but not free, and the site says nothing obvious about future update policies), and not open source. If I want to make chips, fries, wedges and jackets, the fact that a cucumber has far fewer calories and goes really well in a tuna sandwich is, while true, hardly relevant!
- NmAmDa 5y agoThank you for referring to lightpaper. It really fit my need and this was my first time to hear about that app.
- quambene 5y agoIn this case, the bloatware is macOS itself with 50GB Xcode.
- sacul 5y agoLightpaper looks like a fantastic markdown editor! But the landing page makes me feel like it isn't getting much love from the developers. The copyright notice at the bottom, for instance, says 2019. Any idea whether it is still getting updates?
- yingbo 5y agoWe definitely need a better crossplatform GUI framework to replace electron. Any promising one?
- quambene 5y agoTauri looks interesting
- account-5 5y agoghostwriter is a cross platform markdown editor I use that's written in c++.
- deleted 5y ago[deleted]