3 ms·
and why do you think so?
by aliezsid 6y ago
and why do you think so?
- cercatrova 6y agoBecause if it were the main priority, you would have no reservations using an inefficient but working solution like Electron, is probably what the parent means.
- aliezsid 6y agoI want the app to cross platform but not at the expense of a Ram hungry app that I just throw out. And yeah, i wouldn’t mind writing the logic in a language like rust or C and then invoking it from the native bindings If there’s no other solution out there for me to achieve performance over the so called “Let’s bundle the whole browser with every app” working solution.
- satvikpendem 6y agoYou 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. [0] https://github.com/flutter-rs/flutter-rs https://github.com/flutter-rs/flutter-rs [1] https://github.com/go-flutter-desktop/go-flutter https://github.com/go-flutter-desktop/go-flutter [2] https://github.com/ReinBentdal/styled_widget https://github.com/ReinBentdal/styled_widget
- aliezsid 6y agoMakes sense. Will give these a try