Live data from Hacker News

Flutter on desktop, a real competitor to Electron

medium.com

1–10 of 62 posts

Re: Flutter on desktop, a real competitor to Electron

#4

The road block for adoption will be Dart. Why they didn't just choose Typescript or go with native javascript is beyond me. No one uses Dart. It was probably the poorest design decision they could make.

Dart is an awesome language in my opinion. It is very easy to get into and works like a charm in combination with Flutter. Check out this article: https://hackernoon.com/why-flutter-uses-dart-dd635a054ebf !

Re: Flutter on desktop, a real competitor to Electron

#5
Flutter isn't a competitor to electron as you can't target web browsers with it.

I tried Flutter over a year ago and found the instant reloading of code nice and has most of modern features but went back to native as the library support is still non-existent.

The real competitor to flutter is kotlin cross-platform from jetbrains. Most android developers are already familiar with kotlin, unlike dart, and also has great tooling.

I look forward to seeing which one wins mind share as they are well designed options.

Re: Flutter on desktop, a real competitor to Electron

#6

The biggest question is will companies start migrating to Flutter from Electron. Plus who will decide to use this in a market dominated by Electron?

[raises hand] If it can avoid a >100 MB hello world, I’m on board. That makes it worth learning a language I would never have heard otherwise.

Re: Flutter on desktop, a real competitor to Electron

#9
post #5

Flutter isn't a competitor to electron as you can't target web browsers with it. I tried Flutter over a year ago and found the instant reloading of code nice and has most of modern features but went back to native as the library support is still non-existent. The real competitor to flutter is kotlin cross-platform from jetbrains. Most android developers are already familiar with kotlin, unlike dart, and also has grea…

Incorrect. You can target web browsers with it.

> Dart’s flexibility in compilation and execution doesn’t stop there. For example, Dart can be compiled into JavaScript so it can be executed by browsers. This allows code reuse between mobile apps and web apps. Developers have reported as high as 70% code reuse between their mobile and web apps. Dart can also be used on a server either by being compiled to native code, or by compiling to JavaScript and using it with node.js.

Source: https://hackernoon.com/why-flutter-uses-dart-dd635a054ebf

Re: Flutter on desktop, a real competitor to Electron

#10
I'll have to check it out, because this seems to be what I've been waiting for: access to Android and Windows eco-systems, reasonably small .exe sizes and excellent performance.

The other things are just icing on the cake: best in class framework, hot-reloading, runs on IOS (until Apple gets irritated), development on Linux, and a more than decent language to write apps in.

Post reply on HN