cljsrn

wcohen 2025-02-24T14:46:50.525139Z

is there anyone who’s tackled getting cljsrn as a UI where on desktop the application logic runs on the JVM? i think all the UI tools I want are available for desktop/mobile on react-native but i’d love to be able to have desktop processing run with full JVM functionality with native FFI and threads etc rather than ports to the JS world. i’m assuming the “laziest” version would be something like accepting defeat and having the desktop be react-native-web served by a javafx webview, but that seems a little roundabout

dmitryn 2025-02-24T16:41:53.436449Z

Maybe you could try Humble UI https://github.com/HumbleUI/HumbleUI ? > Humble UI is a desktop UI framework for Clojure. No Electron. No JavaScript. Only JVM and native code.

dmitryn 2025-02-24T16:44:59.092329Z

I think it's highly experimental and there are no docs, but there are some examples here https://github.com/HumbleUI/HumbleUI/tree/main/dev/examples

wcohen 2025-02-24T16:46:52.889239Z

i was thinking that too, but i was hoping to be able to (i know, i know it’s naive) write once run desktop+mobile and as best as I can tell, humbleui would be JVM only. I suppose your suggestion is actually to give up on trying to reuse, do humbleui for desktop, and cljsrn for mobile

dmitryn 2025-02-25T14:45:43.744909Z

yes, cljsrn for mobile and humbleui for desktop. There is also react-native-desktop-qt project https://repos.status.im/status-im/react-native-desktop-qt, but it's not supported anymore