4 ms·
Flutter is almost certainly the answer you are looking for here. You can see what the developer experience is like here https://docs.flutter.dev/get-started/cod
by mhoad 4y ago
Flutter is almost certainly the answer you are looking for here. You can see what the developer experience is like here https://docs.flutter.dev/get-started/codelab https://docs.flutter.dev/get-started/codelab
- rahen 4y agoOP insisted on _native_ desktop apps, not wrapped web apps. Otherwise Java/Swing would have been a no-brainer.
- account-5 4y agoFrom my current reading of Dart/Flutter[0] the output is not a wrapped webapp. [0] https://dart.dev/tools/dart-compile https://dart.dev/tools/dart-compile
- rahen 4y agoIt's not a native desktop app either, it embeds a large JIT and a hello world is around 50 MB.
- account-5 4y agoThis might be my lack of knowledge in this area since I'm just reading at the minute but from my reading that's not the case. If you create a standalone app (exe compile option) there is no JIT, just: "A standalone, architecture-specific executable file containing the source code compiled to machine code and a small Dart runtime." that "... handles type checking and garbage collection." Unless that runtime is what you're referring to as a JIT. But since it outputs machine code that is a compiled program, not a JIT. I obviously can't speak to the size as I've not written anything yet, I'm just practing. Quite happy to be corrected if I'm misreading things though.
- mhoad 4y agoYou seem to be a bit confused on this topic. Have you actually used Flutter before? What you’re describing isn’t how it works at all.
- kaba0 4y agoYou can actually compile a Swing app with Graal for a standalone executable nowadays
- mhoad 4y agoThey are native desktop apps. Not sure where you got any other idea from.
- rcarmo 4y agoNo, I don't want any JavaScript in my desktop apps, sorry.
- mhoad 4y agoYou’re in luck then because there is none. You seem To be thinking of Electron which is something entirely different.