Live data from Hacker News

Flutter 2

developers.googleblog.com

21–30 of 780 posts

Re: Flutter 2

#23

Well, with flutter they did what every other "supposed" "modern" languages failed to provide (rust, swift, kotlin, go) A modern UI, crossplatform, AOT compiler UI toolkit, that includes phones, web, and desktop Not even dotnet could achieve this Even if i'm not interested in that kind of development, let's hope people pick this instead of the atrocity that is electron

Literally none of those languages tried to provide all of those things. It’s not a failure if that wasn’t the goal to begin with.

Re: Flutter 2

#24
post #7

Flutter for Web feels like such a wild step backwards in terms of functionality that I'm not sure the benefits it brings are worth it. I just tried a few samples, and basic interactions like selecting text, saving images, and opening links in new tabs don't work. This is the result of rendering everything to a element. I'm much more interested in a React Native style approach, which seems to provide a consistent set…

Is that the CanvasKit renderer or the HTML renderer?

Re: Flutter 2

#25

I long for the day when software development steps out of its infancy and we have one programming language that targets all platforms and frameworks. Kotlin is pretty great - so you're in this situation where you can either learn Flutter or JavaScript - at least with JavaScript you can also target the web (I'm aware that Flutter 2 also can target the web, but it's not the same thing). edit: I must clarify - I'm not s…

This strikes me as akin to wishing for mathematics to step out of its infancy and adopting a single notation.

Re: Flutter 2

#26

So how does it run natively on desktop? Is it like electron? Can't tell from the linux example

IIRC Flutter compiles your Dart source code to a native platform binary and uses Skia to render the UI. I assume the Flutter Desktop API provides abstractions for creating windows.

Re: Flutter 2

#27
post #2

Last time I tested a Flutter-built app on an iPhone X (perhaps a year ago) there was still obvious jank in transitions/animations. I assume most of the showcases mentioned here (WeChat, Grab, Yandex Go, Nubank, Sonos, Fastic, Betterment and realtor.com) are Flutter-based on Android only? Is there a well-built Flutter-based iOS app without jank now?

Interesting you mention it. I've actually been working on a fairly fully featured app in flutter, and was shocked at how well it performed on iOS. Coming from the React Native world its miles ahead in terms of perf, at least in our case.

Shameless plug, the app is https://droppod.gg, an app to find time to play video games with your friends!

Re: Flutter 2

#28
> Google Pay switched to Flutter a few months ago for their flagship mobile app, and they already achieved major gains in productivity and quality.

I don't know how they can claim this. The new Google Pay on Android was noticeably laggier the moment it was released. It continues to be so, and I still hate using it. Now I know the cause.

Post reply on HN