4 ms·
> what would you recommend instead for cross-platform desktop app development? Write a web app and distribute said web app with browser runtimes. Either Chromi
by mschuster91 11y ago
> what would you recommend instead for cross-platform desktop app development?
Write a web app and distribute said web app with browser runtimes. Either Chromium or Firefox. JavaScript might be a PITA, but you get a highly performant layout/UI engine, styling and portability for free.
Downside is that for stuff not supported in JS, like filesystem I/O or raw socket networking, you'll need either custom bindings or a NodeJS/PHP/... proxy service, but that's imho acceptable.
> If your Java app performs sluggishly, then it probably isn't because of the UI anyway. You're seriously citing a huge IDE, Lotus Notes, and freaking SAP as benchmarks?
These are widely used Java apps, developed by (in case of Notes and SAP) multi-billion dollar companies, and if even these massive resources cannot get speedy apps done, I might think it's the language/runtime environment at fault here.
- StevePerkins 11y agoI addressed your idea specifically in the parent comment. The most prominent webapp-on-the-desktop example that I can think of is the Atom text editor. It runs like crap, and its installer is roughly 20 TIMES fatter than Notepad++ or Vim's. You could ship the Java-based "jEdit" application, along with a full embedded JVM, and still be 25% lighter. And the desktop app is written in JavaScript. If that sounds like a great idea, then there's really nothing else to talk about from here.