While Electron's popularity was a boon to the desktop app scene, I keep on dreaming that JavaFX applications made with Kotlin, jlink, Gluon's scene builder (or maybe even something better) will gain enough popularity to attract a healthy open source community for cross platform desktop apps. It feels like the tools are almost where they need to be and finally coming together!
Using Java 9 Modularization to Ship Zero-Dependency Native Apps
101–110 of 117 posts
Re: Using Java 9 Modularization to Ship Zero-Dependency Native Apps
#102Earlier quoted context omitted.
I'm not the OP, but I assume hi-DPI support means that applications scale up their GUI sizes appropriately based on the DPI. When I use a hi-DPI display (like 4K displays), a lot of old software renders text and widgets too small to see, because they were programmed to display things as so-many pixels high, without concern for DPI. It's frequently a problem with old video games, though it affects regular applications…
It's more than that, simply pixel-doubling the UI is also terrible. Real hi-DPI support (to me) is actually rendering at hi-dpi.
Re: Using Java 9 Modularization to Ship Zero-Dependency Native Apps
#103Earlier quoted context omitted.
It offers access to file system and system resources as well as multi platform build support. Developers like all people will whine over anything. For students and indie devs who have little time, support, and resources things like electron are great
Right, but does eg slack actually use any of that? It’s not a great native client by any stretch—it doesn’t use a native UI, it’s not particularly snappy, and it doesn’t do any special integration. So, it seems that electron is mostly a way to distinguish certain sites from others, not that they provide a better experience. Granted I do like the distinct app icon. But electron should mean more than that to qualify as…
So Slack gets an icon on the homescreen and possibly offline notification + notification integration with the OS.
That might be pretty limited from a technical perspective, but it's a massive product thing from a product perspective.
Also, it's possible they may use file access for caching/storage etc..
Re: Using Java 9 Modularization to Ship Zero-Dependency Native Apps
#104Re: Using Java 9 Modularization to Ship Zero-Dependency Native Apps
#105Does it have cross platform Hi-DPI support? No.
Are you joking? I can't tell. Just in case you aren't, what do you think is required for a platform to support Hi-DPI displays?
Re: Using Java 9 Modularization to Ship Zero-Dependency Native Apps
#106Earlier quoted context omitted.
Another anecdote; your comment is the only one I've ever noticed that appears to be defending Slack. From an outsider looking in, I'm not sure why it is so popular.
It's popular because technical superiority isn't why people use software. For example, Spotify eats 100% CPU if I leave it open for 24 hours yet I don't think I've met someone in the last year that doesn't have Spotify running on their computer.
Re: Using Java 9 Modularization to Ship Zero-Dependency Native Apps
#107Even so, Java is now at a place where you can ship self-contained, zero-dependency applications that are comparable in size to other compiled languages (and superior to web-hybrid options like Electron). For cross-platform desktop GUI apps, I would argue that JavaFX combined with Java 9 modularization is hands-down the best choice available today. Electron is succeeding in the desktop GUI space because it tears down…
Electron sits in the same hybrid space as Cordova/Phonegap, and will suffer the same fate once React Native, or something similar, starts eating its lunch.
Re: Using Java 9 Modularization to Ship Zero-Dependency Native Apps
#108TFA reads like GCJ does not exist, a classic lie by omission. Don't become a victim of misinformation! Compiling to small, native binaries (i.e. JRE not needed) is possible since at least 10 years ago. Let's examine this application as an example: http://sancho-gui.sf.net /tmp/sancho-0.9.4-59-linux-gtk$ ls -hs ./sancho 13M ./sancho /tmp/sancho-0.9.4-59-linux-gtk$ du -hs ./lib 740K ./lib /tmp/sancho-0.9.4-59-linux-gtk…
Re: Using Java 9 Modularization to Ship Zero-Dependency Native Apps
#109Earlier quoted context omitted.
While some may find GitKraken visually pleasing, it can't be used for big repos; didn't even manage to open a few of the ones I tried.
I was curious as I've never found a standalone visual git client I liked as much as IntelliJ's integrated one. So I downloaded it, found it was 1/4 of a GB and wouldn't look at a local repo without logging in to a web service. Deleted.
Re: Using Java 9 Modularization to Ship Zero-Dependency Native Apps
#110Earlier quoted context omitted.
I was curious as I've never found a standalone visual git client I liked as much as IntelliJ's integrated one. So I downloaded it, found it was 1/4 of a GB and wouldn't look at a local repo without logging in to a web service. Deleted.
I still haven't found anything better than IntelliJ's triple column view for resolving merge conflicts. Is there anything similar in a more lightweight editor?