Fork me on GitHub
#graalvm
<
2019-05-10
>
benzap00:05:26

anyone try native image on windows with clojure yet?

borkdude08:05:02

does GraalVM support Windows?

borkdude08:05:55

oh I see. I got to try that for clj-kondo (if only I had access to a Windows machine)

Adrian Smith21:05:14

(reposting from #beginners): in my project (https://github.com/slifin/beeline) if I run

lein run "{\":select\" [\":b\"]}"
I get
["SELECT b"]
as I expected but if I do
lein native-image
and run
./beeline-0.1.0-SNAPSHOT "{\":select\" [\":b\"]}"
I get no output, though I know my program is running because if I change the input I get errors that make sense for my program, what's stopping it from printing?

hlolli23:05:50

I guess the difference is that native-image excpects a class, which you need to specify with (:gen-class) and youd most likely want to use -main as an entry point to the class.

lilactown23:05:53

AFAICT they’ve done that