cljfx

Casey 2023-09-23T12:13:15.484339Z

Has anyone investigated JavaFX+Clojure on Android recently? Seems like the JavaFX/Gluon folks have made some strides the past years.

vlaaad 2023-09-23T12:51:56.184629Z

I would look into ClojureDart for this to be honest. Clojure on android is very slow.

vlaaad 2023-09-23T12:52:16.475069Z

Haven't tried javafx on android though

grounded_sage 2023-09-23T14:15:46.904149Z

what makes Clojure slow on android?

vlaaad 2023-09-23T14:28:32.243879Z

GC pressure

vlaaad 2023-09-23T14:28:51.362489Z

It generates too much garbage

vlaaad 2023-09-23T14:31:10.320199Z

Or was there a problem on Android with insanely long app boot times where most of the time is spent in Clojure loading namespaces?...

vlaaad 2023-09-23T14:31:34.945879Z

I also heard of recommendations to use react-native+cljs

vlaaad 2023-09-23T14:33:32.808599Z

here is another answer from 10 years ago about Clojure on Android — https://news.ycombinator.com/item?id=5471685

vlaaad 2023-09-23T14:34:24.913709Z

maybe the situation has changed, but to me it seems that there is just no Clojure on Android. But there is ClojureScript and ClojureDart

Casey 2023-09-23T14:35:30.562739Z

Aw that's sad to hear

grounded_sage 2023-09-23T14:36:42.890389Z

Do you think this would be solved if there was native support for Clojure like Kotlin has?

grounded_sage 2023-09-23T14:37:14.039739Z

Seems like a silly indirection to exist.