Fork me on GitHub
#cljfx
<
2023-09-23
>
Casey12:09:15

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

vlaaad12:09:56

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

vlaaad12:09:16

Haven't tried javafx on android though

grounded_sage14:09:46

what makes Clojure slow on android?

vlaaad14:09:32

GC pressure

vlaaad14:09:51

It generates too much garbage

vlaaad14:09:10

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

vlaaad14:09:34

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

vlaaad14:09:32

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

vlaaad14:09:24

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

Casey14:09:30

Aw that's sad to hear

grounded_sage14:09:42

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

grounded_sage14:09:14

Seems like a silly indirection to exist.