Live data from Hacker News

Flutter on desktop, a real competitor to Electron

medium.com

61–62 of 62 posts

Re: Flutter on desktop, a real competitor to Electron

#61

Earlier quoted context omitted.

Row polymorphism and algebraic data types if we want to talk about things Dart does not have, with an enormous ecosystem at your disposition. If we want to prioritize a sound type system, why then go for a language that is for the most part Java but with no ecosystem, instead of something like Reason/OCaml, Haskell, PureScript which absolutely blow Dart out of the water as languages; or even if your number one priori…

If you talk about ecosystem as a number of community-built packages for a language then this argument is meaningless. Just start creating packages for this language and very soon you'll have a rich ecosystem too. This is not an inherent characteristic of a language itself, it's something powered by the community and built over time. The larger community is => the better ecosystem we get. Re: lacking features. Feel fr…

Well that is a non-answer on every front. Of course, if devs start pouring effort into Dart it will get an ecosystem; but why would I want to when Dart offers nothing over other languages?

And yes, we can submit feature requests, and the language authors may and may not add them. I'd rather go for a language that further aligns with the expectations of a modern language from the start rather than plead with the authors to turn it into something it's not.

> Dart is a language that's predictable (no WATs),

Ok, so it beats the raw JS with no dev tooling development experience. That's the bare minimum.

> performant

Plenty of performant languages to go around, including many more performant ones.

> has the best built-in tooling to facilitate quick iterative development

What does it bring over any other language with a semi-decent REPL?

> the best package manager

You'll have to expand on this, it's a very bold claim.

> and can be used to build web, mobile and desktop apps with high level of shared codebase between them.

So can any compile to JS language, Kotlin, C#, Clojure, among others, and since you place so little value on ecosystem I'll throw a special mention to Idris in too, which can compile to performant JS, the JVM (no bridge necessary on Android), C (usable on iOS) and pretty much whatever; and almost guaranteed blows any other language you can name out of the water when it comes to modern features and being pragmatic.

Re: Flutter on desktop, a real competitor to Electron

#62
post #47
post #43

Earlier quoted context omitted.

Nobody cares about the "market" (in fact, there's no "market"). You ship apps, and they can be in whetever you like. No user cares if the app is in Electron or whatever (except only negatively, as Electron wastes resources). If Flutter apps run faster and eat less resources, people will go to them, everything else being equal. More dev currently using Electron will not matter.

Or may be Electron will improve to the point where Switching to Flutter didn't matter? It doesn't matter which framework really, any improvement is much better then what we currently have. WhatsApp on Mac currently uses 1GB Memory sitting there doing nothing. Not too bad for an Electron App I guess since Telegram uses 650MB after being opened for 48 hours, but it does sit at 150MB once it is closed and reopened. And…

Also some developers may not like that source code in Electron apps is always accessible.
Post reply on HN