Honestly, mainly for flutter. But if you do chose flutter for your project, you will suddenly wish everyone was using dart for everything else instead of Java on android, or c#/Swift on ios ect. if that makes sense. If sound type checking is truly feasible on the web then I'd say dart should be there too. But I can't say if that's really the case. At least ECMA seems to think it isn't, at least for js.
You mean Kotlin?
Nah. Dart is ok. It doesn't perform as well as those peer languages. It's nice its FFI story is good, but the ecosystem is very weak even compared to Javascript.
As for the tooling. It's decent. I wouldn't call it amazing, unless you come from systems that were anemic to begin with, then it seems pretty amazing.
As for flutter. I recently installed it again. A test app with a single CupertinoTextField consumes 45% of an Intel core on a linux desktop (Wayland and X11 were similar). Like, goodbye. Maybe if WORA means iOS and Android, fine, I get that is the common use case. But that is wishful thinking to false advertising as far as I care.
https://github.com/flutter/flutter/issues/125388
https://github.com/flutter/flutter/issues/101591 (going on 2 years!)
I also believe Google will shit can both this and Fuchsia, because Google is CADT baked into its organizational structure.
Like for 1ms? For a second? Eternally?
I can't speak to Linux desktop performance but on the Mac my Flutter app sips CPU and memory.
Google abandoning it is a real risk. If they continue to support it I think Flutter has a great future.
https://github.com/flutter/flutter/pull/104335
This is more of an eyebrow raising signal to me. This is not quality congruent with a multibillion dollar company backing. If the cupertino widgets are in this sorry of a state they probably should be marked as such.
But perhaps someone more invested in the ecosystem may want to submit that pull request. It seems like low hanging fruit.
The material stuff looks good and performs well and at this point users have more desktop apps on their machine that don’t use native controls than do.
My flutter app is way more responsive and efficient than the electron prototype it replaced.
Just tried it out. 3-5% in debug build. 0% on release build.
And yes I am biased because it is google and they hardly dog food this product.
This particular problem is "fixed" by a simple cursorOpacityAnimates: false (which is apparently how they "fixed" TextField). That still doesn't speak well for QA. This is not really a complaint about a single widget. I really really want to like this stuff, but I have no confidence in it as a serious long term product.
It feels like Dart became a completely different language that just happens to have the same name. It's now statically typed, has AOT compilation, null safety, etc.
I think that left Dart in a weird place in terms of mindshare. A lot of people likely looked at Dart 1, didn't see a real place for it, and haven't gone back to it. Google was also highly ambivalent about Dart for a while and most of the mindshare went to Go (despite the fact that I suspect most would prefer Dart).
In the end, it feels like Dart is lacking the ecosystem that other languages have. There's so much written for JS or Python or C# by comparison and so much of Dart seems to be in order to support Flutter.
Rust somewhat occupies its own place in the universe: people who want something a lot stricter than ordinary static languages where there's still a GC and still some runtime stuff. However, I think if Dart got more momentum it could be seen as a nice alternative to Java, JS/TS, C#, Python, etc. Note: I'm not saying that Dart has no momentum, but as you note it's mainly for Flutter.
It isn't much beyond Flutter making Dart relevant, other than the folks that decided to rewrite Sass into Dart I guess (I wonder when A RIIR will happen, like most JS tooling nowadays).
All languages that have more use cases than being bound to a GUI framework, which is the problem with Dart.
Dart has a GC.
> Go
Dart has exceptions.
> JavaScript
Dart is statically typed.
---
Plus....Dart has a first-class mobile story, unlike Rust + Go.
---
Hope that helps!
Not really, the Android team doesn't even list it as supported language, a team that belongs to the same employeer.
The same team not only lists Rust, it has official documentation on the Android site for OEMs, on how to use Rust.