Live data from Hacker News

Flutter: UI platform designed for ambient computing

developers.googleblog.com

71–74 of 74 posts

Re: Flutter: UI platform designed for ambient computing

#71

Wow, talk about burying the lede. I'm not sure how I feel about Google's so-called "ambient computing" idea that they were all about at this year's Google I/O, but Flutter being championed for desktop and web are huge! Does this mean the end of Electron, finally? They say it runs on macOS, I hope they get to Windows and Linux soon. I built a little Android/iOS app in Flutter and it was a real delight. I didn't especi…

I doubt flutter will be significantly leaner for real world, full featured apps, like slack. After all flutter is reusing Chrome's building blocks, with Skia and many other render related libraries, with similar IPC architecture for security, etc. They've replaced the js run-time with dart.

See download sizes here [1], if they remind you electron app sizes [2], it's because flutter is a slimmer (not by much) Chrome.

Flutter will suffer from huge update sizes like electron, but may be faster out of the box, and slimmer (not by much) in RAM. However, using Carlo [3] or Lorca [4] can yield similar benefits, without learning dart, or dealing with brand new flutter edge cases solved years ago elsewhere. In my opinion, flutter is not yet a better mouse trap for desktop apps, and even for mobile, ionic 4 is plenty performant

[1]: https://github.com/flutter/samples/releases/tag/gallery-v2.0

[2]: https://central.github.com/deployments/desktop/desktop/lates...

[3]: https://github.com/GoogleChromeLabs/carlo

[4]: https://github.com/zserge/lorca

Re: Flutter: UI platform designed for ambient computing

#72

Wow, talk about burying the lede. I'm not sure how I feel about Google's so-called "ambient computing" idea that they were all about at this year's Google I/O, but Flutter being championed for desktop and web are huge! Does this mean the end of Electron, finally? They say it runs on macOS, I hope they get to Windows and Linux soon. I built a little Android/iOS app in Flutter and it was a real delight. I didn't especi…

I doubt flutter will be significantly leaner for real world, full featured apps, like slack. After all flutter is reusing Chrome's building blocks, with Skia and many other render related libraries, with similar IPC architecture for security, etc. They've replaced the js run-time with dart. See download sizes here [1], if they remind you electron app sizes [2], it's because flutter is a slimmer (not by much) Chrome.…

Another thing is that Flutter is Dart's Rails, and I learned several times not to be stuck with a framework specific language.

On the other hand, I bet JetPack Composer, and the app reloading reboot, would never had happened if the Android team wasn't continuously being asked about what they think about Flutter on Q&A sessions.

Re: Flutter: UI platform designed for ambient computing

#73
post #69

Earlier quoted context omitted.

I've used both recently, deciding between them. Dart is better. * Typescript is much more popular, and integrates with other Javascript things better. There are way more libraries available for Typescript. * Typescript has proper support for non-null types, whereas in Dart everything is nullable (though they are fixing it, as announced here). * Typescript has pretty nice support for anonymous sum types (i.e. `number…

> You can do still stuff like just omitting the return type of functions and then they instantly lose all type information. That's not the case: http://www.typescriptlang.org/play/#code/GYVwdgxgLglg9mABFAp...

I stand corrected. Must have been thinking of something else.
Post reply on HN