News for hackers. Stuff that matters.
Re:Thoughts on Clojure UI framework by thom on Thursday September 09, 2021 @03:09PM (#28473431)
I have been enjoying working on a cljfx project recently. Extremely fast to get a prototype together, proper multi core support for number crunching, whole JVM ecosystem to reach out for functionality. Probably not for the faint hearted but it has the advantage that it exists today.
Re:Thoughts on Clojure UI framework by native_samples on Friday September 10, 2021 @06:29AM (#28479669)
JavaFX is really under-rated. The primary argument against it being pushed by JetBrains seem to be related to exotic text rendering features, and/or bugs. OK, well, it sounds a lot easier to do some targeted upgrades there than throw it all out. The core tech is really solid. It's been neglected in the past few years but desktop tech doesn't change that fast. Throwing out a toolkit designed for complex desktop apps and trying to adapt a mobile toolkit doesn't seem likely to lead to better results.
Re:Thoughts on Clojure UI framework by billfruit on Saturday September 18, 2021 @01:50PM (#28577968)
Main thing I feel concerned with JavaFX is that it is no longer being bundled with the JRE. Why is it not being considered a first class citizen of the Java Environment? This means that even the tiniest project using FX should have dependency management to ensure that JRE versions and FX versions and other supporting jars all align up properly to work. Meanwhile AWT/Swing just works right out of the box.
Re:Thoughts on Clojure UI framework by thom on Friday September 10, 2021 @11:47AM (#28483183)
I'll admit I learned JavaFX at the same time as the Clojure wrapper (which fights against the paradigm a little, perhaps) but what I've seen is fine. Big component ecosystem, and styling that appears to be quite powerful if you want it.
Re:Thoughts on Clojure UI framework by ducktective on Thursday September 09, 2021 @03:34PM (#28473708)
> Probably not for the faint hearted

Any advantages over Qt or Electron?

Re:Thoughts on Clojure UI framework by thom on Thursday September 09, 2021 @04:15PM (#28474138)
For a Clojure programmer, yes. And for my particular use cases I’m happy with this over, for example, React Native plus ClojureScript because I can bring in JVM libraries and have easy threading.

But if I were starting from a completely blank slate or building a startup around something (especially consumer based) I’d probably make different choices.