cljfx

https://github.com/cljfx/cljfx
orestis 2020-08-30T09:34:36.000800Z

Hey! Just joined to say cljfx is awesome.

🦜 2
orestis 2020-08-30T10:04:19.002500Z

I haven’t done any java fx programming before (barely any swing 15 years ago). I started with the interactive example and it all made perfect sense.

orestis 2020-08-30T10:06:36.004Z

The only thing I’m struggling with is the available built-ins and their arguments. I’m grepping through the examples to find stuff :)

vlaaad 2020-08-30T10:12:14.004800Z

🙂 ah, I have the same problem — always have to look at the code to remember what's available

vlaaad 2020-08-30T10:14:34.006800Z

I had an idea to spec default cljfx components and build some sort of a documentation system on top of that for easier lookups. Another leverage would be a dev-time middleware that checks descriptions and gives better error messages. Hardest part is finding the time 🙂

orestis 2020-08-30T10:21:49.007900Z

For sure. Though the examples give some info already and then rest can be pieced together from stack overflow and random google searches about javafx

borkdude 2020-08-30T14:23:40.008300Z

Anyone got a cljfx example with GraalVM native-image?

orestis 2020-08-30T16:28:53.009500Z

I don’t but if it works it would a major thing- being able to ship guis as a single binary with fast startup!

vlaaad 2020-08-30T18:02:19.011300Z

@borkdude unfortunately not. I tried to port cljfx/hn example application to graalvm, but didn't succeed. You can find my progress in this commit — https://github.com/cljfx/hn/compare/native-image. Note that JavaFX requires a Gluon's fork of GraalVM.

vlaaad 2020-08-30T18:04:43.011900Z

I know where was another attempt to port cljfx to GraalVM: https://github.com/michaelsbradleyjr/hello-cljfx-native

vlaaad 2020-08-30T18:04:58.012300Z

I haven't investigated its state

borkdude 2020-08-30T18:07:24.012500Z

Thanks!