graalvm

Takis_ 2024-01-14T18:42:59.912119Z

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?

borkdude 2024-01-14T18:47:45.649979Z

Reflection is supported via a reflect-config.json

Takis_ 2024-01-14T19:01:43.080469Z

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?

borkdude 2024-01-14T19:09:50.834239Z

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

Takis_ 2024-01-14T19:20:06.402249Z

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

borkdude 2024-01-14T19:21:22.386789Z

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

Takis_ 2024-01-14T19:23:54.238679Z

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

šŸ‘ 1