Re:The road to Dart 3: A fully sound, null safe language
by dom96 on Thursday December 08, 2022 @09:27AM
(#33908192)
Dart is one of those languages that has always felt obscure to me, even though there appears to be a lot of work put into it. What are folks using it for?
[ Parent
| on HN ]
Re:The road to Dart 3: A fully sound, null safe language
by jolexxa on Thursday December 08, 2022 @09:36AM
(#33908265)
It’s used with Flutter, Google’s app development framework. I really enjoy Dart as a language, but it is fairly young and missing a few conveniences (such as data classes). It also can’t compile to dynamic libraries, only executables. Despite that, it is very pleasant if you enjoy managed languages.
Re:The road to Dart 3: A fully sound, null safe language
by thomascgalvin on Thursday December 08, 2022 @10:43AM
(#33909070)
I taught myself Dart a couple of years ago, and enjoyed the language, but never found a compelling use for it.
For anything I might do in Dart, there's a better alternative. For backend stuff, I'm going to write in Java or Kotlin. For frontend stuff, I'm going to write in JS or TypeScript. I like Flutter, but Flutter by itself isn't reason enough to adopt Dart.
Long term, if Jetpack for Desktop actually takes off, I don't see any reason to write in anything but Kotlin.
Re:The road to Dart 3: A fully sound, null safe language
by sroussey on Thursday December 08, 2022 @10:51AM
(#33909172)
I think there was a fork of Chrome that included Dart as another language runtime alongside JavaScript.
Re:The road to Dart 3: A fully sound, null safe language
by markdog12 on Thursday December 08, 2022 @11:15AM
(#33909553)
Yep, Dartium. That ship has sailed years ago.
Re:The road to Dart 3: A fully sound, null safe language
by digitalsankhara on Thursday December 08, 2022 @11:11AM
(#33909508)
That rings a bell with me. I think is was during the early days of Dart and it was a special Chromium build if memory serves me.
Re:The road to Dart 3: A fully sound, null safe language
by jamesfinlayson on Thursday December 08, 2022 @09:10PM
(#33916523)
That was Dart 1.0 which I think was weakly typed.
Re:The road to Dart 3: A fully sound, null safe language
by hota_mazi on Thursday December 08, 2022 @10:42AM
(#33909050)
It's used in Flutter exclusively, and since Flutter is hardly used at all, it's a pretty unknown language, and will probably always remain so.
It doesn't help Dart that Kotlin and Swift have been null safe languages for a decade now.
Re:The road to Dart 3: A fully sound, null safe language
by amgreg on Thursday December 08, 2022 @10:48AM
(#33909136)
I wouldn’t dismiss Flutter out of hand. It’s more popular even than React Native!
https://stackoverflow.blog/2022/02/21/why-flutter-is-the-mos...
Re:The road to Dart 3: A fully sound, null safe language
by jimbob45 on Thursday December 08, 2022 @11:04AM
(#33909394)
More popular by the metric of...StackOverflow question tags. I'm not sure that I would use that as my preferred metric for language popularity.
Re:The road to Dart 3: A fully sound, null safe language
by wizofaus on Thursday December 08, 2022 @12:07PM
(#33910298)
Indeed the perfect language/tech stack would be immensely popular and never have any SO questions, as everything would be obvious and easy to figure out without help...
Re:The road to Dart 3: A fully sound, null safe language
by UncleEntity on Thursday December 08, 2022 @07:17PM
(#33915740)
… which is why hairdryers have warnings like “do not use while sleeping”.
I mean…