Re:BeeWare – write Python, run everywhere using native UIs
by serial_dev on Sunday February 06, 2022 @04:11PM
(#30237038)
Oh, 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.
[ Parent
| on HN ]
Re:BeeWare – write Python, run everywhere using native UIs
by berkes on Sunday February 06, 2022 @04:22PM
(#30237133)
> on web
Does it stranspile to JavaScript, or compile to asm, or something else entirely?
Re:BeeWare – write Python, run everywhere using native UIs
by serial_dev on Sunday February 06, 2022 @04:35PM
(#30237247)
> 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
Compiling to WASM is on the roadmap 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.
Re:BeeWare – write Python, run everywhere using native UIs
by _delirium on Sunday February 06, 2022 @04:27PM
(#30237188)
It compiles to JS: 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...
Re:BeeWare – write Python, run everywhere using native UIs
by devxpy on Sunday February 06, 2022 @04:26PM
(#30237178)
Transpile to Javascript
https://dart.dev/overview#platform