Live data from Hacker News

Flutter on desktop, a real competitor to Electron

medium.com

11–20 of 62 posts

Re: Flutter on desktop, a real competitor to Electron

#11

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.

Perhaps people will pick it up. I would like to think that people will eventually stop religiously sticking to JavaScript. Right now, they are forced to use it because the alternatives are more or less worse.

I would like to consider it a beginning of something better.

Re: Flutter on desktop, a real competitor to Electron

#12

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.

Because then the Flutter team couldn't ask the language team to make extensive changes to the language when nobody had even heard of the Flutter team yet. Popular languages are popular because they already have a killer app.

You might as well ask why Brendan Eich invented JavaScript.

Re: Flutter on desktop, a real competitor to Electron

#17
post #14

I'm wondering why people don't write cross platform applications with Qt.

Because qt UI is in all ways worse than what browsers can already do. All qt does for displaying web pages is it embeds chromium, same as electron does. Trying to tie c++ to that is shooting yourself in the foot if you can just use node, which electron does.

Re: Flutter on desktop, a real competitor to Electron

#18

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.

Perhaps people will pick it up. I would like to think that people will eventually stop religiously sticking to JavaScript. Right now, they are forced to use it because the alternatives are more or less worse. I would like to consider it a beginning of something better.

Then why not TypeScript, which is a more powerful language than Dart and has a much better ecosystem?

Re: Flutter on desktop, a real competitor to Electron

#19

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.

> Why they didn't just choose Typescript or go with native javascript is beyond me

Whether it was a good idea or not I'll leave for you to decide, but the reason that they landed on is that the Dart VM allows for AOT compilation, which is required for iOS, while still being flexible enough to do Hot Reload.

Post reply on HN