3 ms·
JavaFX meets that requirement. A GUI app that uses JavaFX requires exactly one dependency: the GUI library itself (OK, JavaFX is split into a few different mod
by native_samples 5y ago
JavaFX meets that requirement.
A GUI app that uses JavaFX requires exactly one dependency: the GUI library itself (OK, JavaFX is split into a few different modules). Often you'll add a few open source helpers, e.g. if you want a Material Design theme.
- junon 5y ago> A GUI app that uses JavaFX requires exactly one dependency: the GUI library itself ... and Java.
- native_samples 5y agoYes, that's true. A minimal runtime can be quite small by modern standards (~20mb) but it's not free indeed. Only C or C++ can be "dependency free" in this regard because it's the only languages where operating system vendors are guaranteed to ship the standard library with the OS. All others have to bundle.
- hsn915 5y agoGo is better in this regard because it doesn't even expect much from the OS: everything is bundled.
- native_samples 5y agoThese days you bundle everything with Java apps too. Or at least that's the direction the JVM authors want people to go in (see: jlink and jpackage). It's not a single binary like Go, but in practice that's rarely an issue. Most normal programs have more than one file making them up.