4 ms·
> work now with Flutter full time and love it. Do you love Dart though? Flutter's stateful hot code reload is amazing but, man, for me Dart is just completely
by virtualwhys 5y ago
> work now with Flutter full time and love it.
Do you love Dart though? Flutter's stateful hot code reload is amazing but, man, for me Dart is just completely hideous. Maybe I've gotten spoiled by Typescript and Scala...
- travisgriggs 5y agoI’m with you. Dart felt like a step back in time for me. I was a big fan of some of the early Dart leaders (Lars Bak and Gilda Bracha). I remember when I asked why Dart seemed like a watered down variant of some Lars and Gilads earlier work; I was tiled by a former colleague that had joined the project that “Lars was playing it safer, playing to win” these days. I don’t know how much either of these people are associated with Dart anymore. Somewhere in Dart’s search of a killer problem to be the solution for, we got fully typed Dart (as opposed to the original annotations are optional mindset). I did one of the free web courses for it, built like 10 teeny pointless apps. Three things stood out: - the experience was kind of painful on iOS, the look had an “uncanny” effect - the tutor tried to explain classes as a “way of organizing code” which undersells what classes are really about (binding behavior to data) - the language felt like an alter Java (type declarations in the left side still??)
- serial_dev 5y agoOh, Dart is my favorite part of Flutter. It's a language that is very easy to learn and use, no surprises, it's performant (performant enough), and you can use it on web, server and as command line apps, too. The language has gotten significantly better and the Dart team focuses on the right issues to solve next.
- berkes 5y ago> on web Does it stranspile to JavaScript, or compile to asm, or something else entirely?
- devxpy 5y agoTranspile to Javascript https://dart.dev/overview#platform https://dart.dev/overview#platform
- _delirium 5y agoIt compiles to JS: https://dart.dev/tools/dart2js https://dart.dev/tools/dart2js The Dart team is investigating a dart-to-wasm compiler, but is waiting on the Wasm GC proposal to be standardized: https://medium.com/dartlang/experimenting-with-dart-and-wasm-ef7f1c065577 https://medium.com/dartlang/experimenting-with-dart-and-wasm...
- serial_dev 5y ago> Dart supports the web as one of its core platforms. Dart-to-JavaScript compilers are available both for development and for production. You can learn more about the status quo here https://dart.dev/web https://dart.dev/web Compiling to WASM is on the roadmap https://github.com/flutter/flutter/wiki/Roadmap#dart https://github.com/flutter/flutter/wiki/Roadmap#dart > Dart (...) We also plan to expand Dart's compilation toolchain to support compiling to Wasm, contingent on the timely standardisation of WasmGC.
- boot_loop 5y ago