r/androiddev • • Aug 05 '20

Article Announcing Flutter 1.20

https://medium.com/flutter/announcing-flutter-1-20-2aaf68c89c75
14 Upvotes

21 comments sorted by

16

u/Cykon Aug 05 '20

The performance update is nice, but I'll be more interested in the longer-term and inevitable, Flutter vs Compose battle. If they begin treating Compose as a cross-platform UI toolkit, it's going to have much more lift, considering any Android developer would be able to use it on another platform, native integrations aside.

8

u/E_VanHelgen Aug 05 '20

Knowing Google there wouldn't necessarily be a strategy, they will just let the lesser used one die off.

4

u/pjmlp Aug 05 '20

For me that has been the whole strategy for Flutter and Dart all along.

They probably got a budget and a timeline from management to prove themselves, in the meantime, Android team got enough questions regarding their opinion on Flutter that they decided to do something about it.

4

u/Zalenka Aug 06 '20

They should have gone with Kotlin.

7

u/athornz Aug 05 '20

It doesn't matter. Even if compose, or swift ui go cross-platform, they aren't cross-platform now - Flutter is.

If that does happen, there will be years of catching up that compose will need to do in terms of community support, buy-in, and platform support.

Flutter is a great multi-platform tech that can be used right now. The time for what-ifs has passed with Flutter. It's obviously here to stay, so just use it!

4

u/Cykon Aug 05 '20

I'd love to see more usage from Google themselves and other major companies first. Until that happens, my only interest in using it would be for very small personal projects.

5

u/athornz Aug 06 '20

Google do use Flutter quite a bit:

- Either the adwords or adsense app was a very early adopter of Flutter
- Google's Home Hub devices use Flutter for some of the UI (not sure how much)
- Google Stadia app is Flutter

2

u/AbbadonTiberius Aug 06 '20

Personally I think Google's adoption of their own technology does not mean anything. I would only bet on community convergence.

2

u/CraZy_LegenD Android janitor Aug 06 '20

Compose can easily be integrated for cross platform (and it started), since it's Kotlin (Java bytecode), you can use it on Mac, Windows, Linux, Android, the only thing I'm not sure is how it'll work on iOS but here's Kotlin multiplatform.

Compose has a brighter future than Flutter.

Flutter is an SDK, if they didn't go with Dart and chose Kotlin, many developers would've jumped.

But Flutter without someone making native components and updating them, isn't gonna live.

I call Flutter an experiment and what do I do with experiments?

Give them time, see if they die on their own, considering Google's strategy and killing almost everything new, the most livelihood so far has been native development.

Time will tell.

5

u/athornz Aug 06 '20

The classic developer estimate - that can be easily implemented in a day ;)

Compose will face the same challenges as Flutter has adopting new platforms - native components will still be needed.

Android devs keep asking the question "Why didn't Flutter choose Kotlin?" but the answer is simple. Kotlin/Java wouldn't have allowed the amazing hot reload experience of Flutter. Flutter's declarative UI is great but wouldn't be nearly as revolutionary without hot reload. I don't think Compose will ever get close to the same hot reload experience. Google have tried twice now (instant run, apply changes) and they are nothing close to instant.

Google does have a history of killing products, but how many of those products were open source? How many were developer tools rather than consumer products?

I have no doubt that if Google dropped Flutter, someone else would pick it up - that's also why I don't think Google will drop it. It would basically be handing a market-leading cross-platform solution to a competitor. That just doesn't make commercial sense.

1

u/pjmlp Aug 07 '20

Flutter marketing, anyone that has gotten through a proper degree knows that the amazing hot reload experience is an implementation detail.

Many of us are old enough to have down amazing hot reload in Common Lisp and Smalltalk environments, JRebel, Groovy.

Naturally SwiftUI, Jetpack Composer, Xamarin are now starting to offer the same experience, with the advantage of being tied to languages that actually have a market going for them.

Flutter is only a market leader in the dreams of its users.

The market leader is the mobile Web, including Web Widgets, followed by whatever one can compile to native code via C and C++ alongside native views.

3

u/athornz Aug 07 '20

Ah, the promise of the mobile web. I've been hearing that since the dawn of Android/iOS and time after time it gets abandoned.

And hot reload is hardly an implementation detail. Dart enables this because the language compiles both AOT and JIT. Something Swift, and Koltin can't do.

I'd love to be wrong but I seriously doubt the reload experience of either of those will ever be on par with Flutter.

1

u/pjmlp Aug 07 '20

The promise of the mobile Web is a reality, given the fact that amount of web sites outnumber native apps.

Apparently you never used Swift Playgrounds, nor Swift UI.

As for Kotlin, they are in the process of improving it with the new Kotlin compiler and the ongoing work on Android Studio 4.2.

Unless Google has a change of heart and replaces Android with Fuchsia, Flutter will keep being the last option to rescue Dart from oblivion after everyone else at Google except AdWord team dropped their Dart 1.0 use.

2

u/athornz Aug 07 '20

I haven't used swiftui but I'm pretty sure it doesnt support full hot restarting of an app in the same way Flutter does.

And yes I'm sure Google is working on implementing something similar in compose (3rd time lucky maybe!) but that's my whole point above - it doesn't matter.

Flutter is a great technology that can be used right now. The others are still working towards that goal, and all I know is it will be years before either of them are a compelling option for full cross platform development.

2

u/creepy_hunter Aug 07 '20

I don't think Google started flutter to rescue Dart which was already dead. Google probably chose dart because they wanted full control over the language. Back when they started flutter , maybe they never predicted kotlin would be the de-facto standard for Android development. I would choose better programming (kotlin) over hot reload any day. App developement is more than ui building and hot reloading to see changes.

1

u/sebe42 Aug 07 '20

Back when they started flutter , maybe they never predicted kotlin

Yep, the Dart version of the sky experiment, now called Flutter, was demoed by the chrome team guys at the April 2015 Dart conference.

From wikipedia

"Kotlin v1.0 was released on 15 February 2016.[12] This is considered to be the first officially stable release and JetBrains"

1

u/pjmlp Aug 07 '20

Enjoy Dart then if it makes you so happy then. A language with a future.

1

u/well___duh Aug 06 '20

Does Google own Medium or something? Why would they not put this on the actual Flutter website for reference?

0

u/[deleted] Aug 05 '20

[deleted]

12

u/Elixane Aug 05 '20

I only post major updates related to Flutter on here. It's relevant to this community IMHO.

7

u/D_Steve595 Reddit Aug 05 '20

Why? It's related to Android dev.

5

u/athornz Aug 05 '20

watch out for the pitchforks!