Live data from Hacker News

Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

developers.googleblog.com

331–340 of 467 posts

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#331
post #264

Earlier quoted context omitted.

Gluon, PTC and Aicas also license JavaFX. Qt licensing costs are quite standard to market prices of similar products. Also if one doesn't want to pay for Qt, it is free to do themselves the same they want to do with upstream developers.

JavaFX is fully open source, it doesn't need licensing. It also supports hardware acceleration, embedded usage on Linux, animation framework etc. Also, fits well with kotlin.

Good luck getting JavaFX working out of the box in the embedded hardware supported by those vendors with the code at the open source repository.

Who do you think does the porting and OEM certification work?

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#332

Can someone from the Google team comment on what's going on - https://techcrunch.com/2019/05/07/kotlin-is-now-googles-pref... > Android development will become increasingly Kotlin-first,” Google writes in today’s announcement https://techcrunch.com/2019/05/07/google-launches-jetpack-co... > Google today announced the first preview of Jetpack Compose, a new open-source UI toolkit for Kotlin developers who want to use…

Invest in Kotlin. It's been created by Jetbrain and they are showing clear support for it. I can't say the same about Dart. Google won't support Dart, GWT, Angular, Polymer ... eternally. Yes different purpose, tech and ambitions but too much overlapping. In case of a "more wood behind a fewer arrows" situation, you'll have to pray that the Google gods didn't choose to sunset the stack you bet on.

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#333

Earlier quoted context omitted.

> This is flash. You can't do anything in it that fills like the web - no copy paste Whereas you would have that in a Canvas or OpenGL equivalent web game? > right clicking causes things to happen. That's already the case for tons of websites, there's support for that in web standards. > There's a reason why flash died out, and it's not only apple. Yes. It was controlled by a single company, IDEs were paid for, it wa…

> Whereas you would have that in a Canvas or OpenGL equivalent web game? Yes, you would, at least for some parts. Web games often combine the canvas showing the "game world" with DOM showing some UI elements - on which all the usual affordances work. > That's already the case for tons of websites, there's support for that in web standards. Fortunately most sites don't bother. The defaults matter.

>Yes, you would, at least for some parts. Web games often combine the canvas showing the "game world" with DOM showing some UI elements - on which all the usual affordances work.

Only if they care, most don't. In this case, they also don't. It's still trivial to do it, even in Flutter.

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#335

Love the concept, love the push. But to be sincere, won't touch it with a pole because of Dart. However,... Why o why is this thing not written with/for TypeScript?

I don't like Dart much to be honest as well, I've tried used it for about a week to try Flutter and the experience has been pretty bad. It feels kind of Java-like to me, which is really not a positive thing.

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#337

This is the example flutter app for the web - https://www.nytimes.com/games/prototype/kenken#/ This is flash. You can't do anything in it that fills like the web - no copy paste, right clicking causes things to happen. I don't expect games like this to have links and proper bookmarkable urls, but I doubt it'll work as expected if it did. This is the epitome of the problem with flutter - it re-implements the UI, creat…

I’m not convinced that Flutter needs to beat native to survive- it just needs to be better than React Native, Xamarin, and PWAs.

The biggest advantage of React Native is that it makes use of native UI. You won’t be able to embed a browser, or a performant video player into a Flutter app (on iOS, at least).

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#338

Earlier quoted context omitted.

Which is going to be hard. Xamarin these days is really nice to work with.

Perhaps, but for whatever reason React Native seems to still dwarf it. Maybe the companies that tend to churn out popular mobile apps just don’t invest in .NET?

React-Native has two significant pros that Flutter doesn't have.

Native UI. I heard multiple times now that Flutter drains the battery rather quickly because it doesn't use the highly optimized native UI elements.

JavaScript. There are more JavaScript developers out there than .NET ones. Also, the JS devs are much cheaper.

Another interesting pro is, you can use RN to develop basically everywhere. Expo (a RN framework) announced Web support, so you get Android, iOS, and Web out of the box. Microsoft announced UWP support and rewrote react-native-windows.

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#339
post #264

Earlier quoted context omitted.

Gluon, PTC and Aicas also license JavaFX. Qt licensing costs are quite standard to market prices of similar products. Also if one doesn't want to pay for Qt, it is free to do themselves the same they want to do with upstream developers.

JavaFX is fully open source, it doesn't need licensing. It also supports hardware acceleration, embedded usage on Linux, animation framework etc. Also, fits well with kotlin.

Please link me to an image for RPi or BBB that has working HW accelerated JavaFX. I'm not being sarcastic, I'd actually like to know.

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#340
post #264

Earlier quoted context omitted.

For embedded devices the only good toolkit is Qt and the licensing costs are pretty high. Flutter for embedded is interesting in this regard.

Gluon, PTC and Aicas also license JavaFX. Qt licensing costs are quite standard to market prices of similar products. Also if one doesn't want to pay for Qt, it is free to do themselves the same they want to do with upstream developers.

Your last sentence is a bit hard to comprehend but not paying for Qt and shipping a commercial embedded product is pretty difficult due to the anti-tivoization clauses of GPL3.

I agree with parent poster that flutter is very interesting for Embedded GUI development.

Post reply on HN