by FlyingSnake · 8y ago · 0 comments
I was kinda expecting someone to showcase JavaFx/TornadoFx, after the daily parade of electron/JS based apps.
> it is significantly lighter on resources and more responsive than the Electron-based options
I tend to agree that this is lightweight than Electron etc, but are there any benchmarks to verify the actual numbers?
One the side note, it's funny so see Java being touted as a `lightweight` alternative to desktop apps. Desktop technology has come a full circle.
And another yes, Java is not the lightest thing around. But man its much better than Electron.
Maybe I'm a spoilt C++ programmer, but 250-300 MB is still bit higher for my tastes. For me the golden standard of cross-platform desktop app is Sublime Text which usually hovers around 100-150 MB for me.
However I'm sure the memory usage, and performance can be drastically improved given the fact that JVM is one of the most heavily optimised pieces of software in recent times.
Edit: I just tried it, and it doesn't work for some of the methods for httpbin. Would be great if you could test the app against https://httpbin.org
I sometimes wish I'd done this with C++, but it would be very tedious. I was quite proficient in JavaFX so I reckoned it will be the best tool for the job.
About httpbin: Could you please elaborate on that? Which method failed?
I tried `https://httpbin.org/deflate`, `https://httpbin.org/status/418`, and `https://httpbin.org/brotli`, and they all failed on me. It would be cool if you could use httpbin as a test suite.
Exactly my thought when I read this. Google really outbloated Java with Electron.