Remix.run Logo
jimbob45 11 hours ago

Of all the myriad projects from Google, how is Flutter/Dart the one that survived the axe? I’m not saying I hate them - I think they’re both really neat - I just don’t understand why Google keeps these limping along with weak support and no clear vision within their broader web ecosystem.

vmg12 11 hours ago | parent | next [-]

Easy, there are a few google teams that use flutter and the cost savings from not having to have dedicated ios and android teams is very easy to point at to justify the project's existence.

I think Dart and Flutter are very overlooked. The language has completely changed since its release, its statically typed, has null safety, enums, and pattern matching, and is very simple and easy to read. It has fast compilation and a ui framework with hot reload. It's as fast as Js on v8 while using less memory and has the overlooked feature of having very fast, almost 0 overhead, ffi.

I think the importance of good ffi is underrated for these ui languages. For reference, everyone that's using electron has to run two node processes doing ipc over a websocket connection. That's going to waste an absurd number of cpu cycles and memory when you are passing messages around when your app is basically a ui for a cli.

Larrikin 10 hours ago | parent | next [-]

But they also fund JetBrains, Jetpack Compose, and KMP. It feels like the company threw their support behind Kotlin a long while ago on mobile, but internal struggles keep the others limping along. Compose UI tooling no longer requires viewing on device.

wiseowise 8 hours ago | parent | next [-]

Only because it was cheaper to migrate Android to Kotlin instead of Dart. JetBrains needs Google more than Google needs JetBrains.

pjmlp 6 hours ago | parent [-]

There are several clues that the reasons were more political than monetary, including some former team members like Jake Warton remarks on Dart.

Note that Dart or Flutter are nowhere to be found on Android developer documentation.

invalidname 10 hours ago | parent | prev | next [-]

You're thinking of Google as a single top down company. It isn't. Think of it as an anarchy of warlords where each pulls the strings and management doesn't really know what's going on.

Flutter made a lot of sense during the Oracle lawsuit when Google needed a way to show Oracle that it can pivot from Java. Now it no longer makes sense but the inertia is too deep.

My guess is that flutter is sold internally through the Huawei support as a leg within China.

veeti 4 hours ago | parent | prev | next [-]

Android used to be its own kingdom separate from rest of Google. And maybe still is.

10 hours ago | parent | prev [-]
[deleted]
cageface 11 hours ago | parent | prev | next [-]

I’ve had good experiences with Flutter too. It’s actually much easier to build a performant macOS app with flutter than with SwiftUI.

wiseowise 8 hours ago | parent [-]

> It’s actually much easier to build a performant macOS app with flutter than with SwiftUI.

Got any case studies?

cageface 5 hours ago | parent [-]

Just my own apps. Getting good performance out of SwiftUI on Mac is quite difficult. Loads of footguns.

mathverse 4 hours ago | parent [-]

And yet I dont see any Flutter macos apps at all.

formvoltron 11 hours ago | parent | prev [-]

Curious how you feel about KMP and Kotlin Compose.

vmg12 10 hours ago | parent [-]

I like kotlin a lot but I didn't get to fully test KMP and Kotlin Compose. I chose flutter because I liked dart's wasm story better than kotlins.

gumby271 11 hours ago | parent | prev | next [-]

How are they limping? Flutter has completely replaced it's rendering engine across all platforms and they're building out major window management support on desktop platforms.

At some point there's just not much exciting new stuff to add. Flutter is a nice stable platform, I'd highly recommend it.

kllrnohj 10 hours ago | parent | next [-]

> Flutter has completely replaced it's rendering engine across all platforms

And that new rendering engine is also why apps like Immich are unable to show HDR photos. Apple & Google both pushed broad support for that a couple years ago, with things like Ultra HDR and subsequently ISO 21496-1.

Meanwhile Flutter still doesn't really have wide gamut support https://github.com/flutter/flutter/issues/189155

Of course they need to prioritize where to spend resources, like any project, but Flutter also doesn't seem to be on any critical path for fancy headlining new features, either.

matchbok3 11 hours ago | parent | prev [-]

Right, but, nobody uses it. So what's the point for Google?

doodlesdev 9 hours ago | parent | next [-]

I've made a huge critic towards Flutter in another comment of mine, but adoption isn't it: the biggest bank in Brazil, with 135 million clients, is a digital bank whose sole interface is their Flutter app. They are different regarding tech choices (they use Clojure on the backend too), but I think it's a huge testament of how far along Flutter adoption has come.

Also, Google dogfoods it quite a bit.

Cyph0n 9 hours ago | parent | next [-]

Interesting, so Nubank is a heavy Flutter user?

wiseowise 8 hours ago | parent [-]

https://building.nubank.com/scaling-with-flutter/

https://flutter.dev/showcase/nubank

owebmaster 9 hours ago | parent | prev [-]

Nubank also uses clojure and adoption is still a big issue.

filleduchaos 7 hours ago | parent [-]

Third-party analysis (https://appfigures.com/top-sdks/development/all) has Flutter used in 16% of iOS apps and 24% of Android apps (free)

Archive link: https://archive.is/IIUaj

I really don't understand how/why people deny reality so hard when it comes to Flutter. Reminds me a bit of years ago when people were still scoffing at the idea of anyone actually adopting JavaScript to write web servers with while Node.js was very obviously eating up the market.

pjmlp 6 hours ago | parent [-]

It eats the market indeed, and also presents business opportunities for folks like myself, jumping in writing C++ addons, or completely replacing it with Java, .NET, Go, Rust,....

gkhartman 10 hours ago | parent | prev | next [-]

Is that true though? I'm reading HN on an app built using Flutter. I had no idea until recently, so I would assume more apps could use it without my knowledge.

I understand it's limitations vs native apps, but there's quite a few cases where it really doesn't matter.

The biggest one for me is always the fear it will be abandoned. Pretty much goes for any cross platform app framework though.

vips7L 10 hours ago | parent | prev | next [-]

The creator of flutter was on here saying that 1/3 of all apps on the App Store use it. That seems to be a lot more than “nobody”.

owebmaster 9 hours ago | parent [-]

The creator of flutter lied then. That's not true.

vips7L 7 hours ago | parent [-]

How do you know? Why are we inclined to believe you over him?

Barrin92 9 hours ago | parent | prev | next [-]

>but, nobody uses it.

I used to work at ByteDance and they alone employed I think more than 800 Flutter Devs. Douyin uses Flutter (the Chinese version of TikTok), Grab and Ebay use it, Alibaba and Baidu did too. Toyota and Volkswagen I think both use Flutter. Nubank I think is also a flutter app and they alone have like one hundred million some users.

With the popularity in the Chinese ecosystem alone there's gotta be a billion plus people using flutter.

monocasa 10 hours ago | parent | prev | next [-]

Google AdSense uses it.

davidkuennen 8 hours ago | parent | prev [-]

Been using it for six years with fairly high success: https://stockevents.app

liquid153 7 hours ago | parent [-]

[dead]

gman83 11 hours ago | parent | prev | next [-]

I guess because they have buy-in from within Google? Google Pay, NotebookLM, Family Link, Google One, etc. are made with Flutter.

deepsun 11 hours ago | parent | prev | next [-]

Most Google's projects that users loved were axed for a reason, typically internal management wars for promotions. Like YouTube really wanted to kill belowed Google Music, so they did. Or Google Pay vs Google Wallet.

Killing Flutter would not promote a manager. For now, of course.

monocasa 11 hours ago | parent | prev | next [-]

Google internally uses dart, and I remember hearing that adwords in particular was rewritten in dart at least for the frontend relatively recently.

So they're probably investing in it enough for basic maintenance, but don't really care about evolving the language.

skybrian 9 hours ago | parent [-]

Sure, Adwords migrated from GWT to Dart. (And eventually I followed.) At one point, Dart moved from the Chrome division to the Adwords division. And Adwords alone can fund a team to do developer tools for them. Then, Flutter came a bit later.

It's been over a decade since then, though, and I'm out of touch now.

pjmlp 6 hours ago | parent [-]

In fact AdWords is the reason Dart was still around when Flutter came to be.

spwa4 2 hours ago | parent [-]

They still maintaining it's predecessor that the Google "core properties" ran on: Closure (not Clojure), the javascript compiler. It's an evolution of the hack that Gmail initially was built on.

Scene_Cast2 10 hours ago | parent | prev | next [-]

In one of their dev surveys, they did float the idea of divesting Flutter.

11 hours ago | parent | prev | next [-]
[deleted]
jauntywundrkind 5 hours ago | parent | prev [-]

Flutter's not a web ecosystem project. It doesn't do HTML at all. Using canvas to pump pixels in people's faces does not the web make.