Re:Ask HN: 2020, Language and Framework for Cross Platform D...
by satvikpendem on Sunday April 19, 2020 @09:08PM
(#22920244)
You should check out Flutter then, it compiles to native machine code for mobile and desktop (Android, iOS, Windows, macOS, Linux are all supported with native compilation), and uses WASM for web. It's a much more performant solution than Electron. Only thing is the official Flutter desktop implementations are unstable for production, but there are unofficial implementations which are stable [0] [1]. You can use those until the official implementation is stable. You can also use Dart's FFI if you want but since it's compiled instead of interpreted like JS and Electron, you probably don't need to, the performance will be there.
You also said you don't like the layout system, but there are packages for that [2]. Let me know what else you would find annoying, there are usually packages for most things. There are even algebraic data types in Dart through code generation.
You also said you don't like the layout system, but there are packages for that [2]. Let me know what else you would find annoying, there are usually packages for most things. There are even algebraic data types in Dart through code generation.
[0] https://github.com/flutter-rs/flutter-rs
[1] https://github.com/go-flutter-desktop/go-flutter
[2] https://github.com/ReinBentdal/styled_widget