Fork me on GitHub
#graalvm
<
2024-01-14
>
Takis_18:01:59

hello : ) i want to learn quarkus and use it with Clojure, but quarkus is commonly used with GraaLVM , so the question is can i use Clojure with it? and Clojure libraries? i saw that i should not use reflection with GraaLVM? but even if i add types, how to use other clojure libraries that cause reflection?

borkdude18:01:45

Reflection is supported via a reflect-config.json

Takis_19:01:43

thank you for helping me, i never used GraaLVM, even if i use reflect-config, this is a viable solution, to use Clojure libraries? for example i made a Mongodb library i wonder if i will be able to use it. In general clojure libraries work with little extra work? Or we can use only libraries that made with GraaLVM in mind?

borkdude19:01:50

Most things should work with a little extra work I’d say but you have to understand the mechanics of it

Takis_19:01:06

macros work? i see now a groovy tutorial that is dynamic also. thank you i will read about those and try it

borkdude19:01:22

Macros are not dynamic, in the sense that they are executed at compile time. All graalvm native image cares about is bytecode

Takis_19:01:54

ok thank you for you time, and Babashka that has the coolest logo!

👍 1