graalvm

Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to https://github.com/clj-easy/graal-docs and https://github.com/BrunoBonacci/graalvm-clojure. GraalVM slack: https://www.graalvm.org/slack-invitation/.
lread 2020-09-22T16:09:11.027800Z

We have a new tip on targeting min macOS version in our clj-graal-docs: https://github.com/lread/clj-graal-docs#targeting-a-minimum-macos-version (thanks to @borkdude to figuring this out!)

lread 2020-09-22T16:10:47.029200Z

Any objections to converting the README to AsciiDoctor? I think it would benefit from a table of contents and AsciiDoctor will automatically generate one if asked.

borkdude 2020-09-22T16:11:05.029400Z

Excellent

borkdude 2020-09-22T16:11:11.029700Z

Go ahead

borkdude 2020-09-22T16:11:40.030Z

Another entry that would maybe be useful in these docs: https://github.com/borkdude/dynaload#graalvm

lread 2020-09-22T16:12:42.030900Z

Definitely! Will add tip for that, thanks.

dominicm 2020-09-22T16:40:55.034400Z

I've done some benchmarking of native image for http, and there's a 20-30% reduction in performance compared to openjdk. I'm working towards opening these up, but I thought I would mention it while I was thinking about it. When I didn't run the tests for long, the gap was much smaller. Obviously the JIT kicks in after a while.

ghadi 2020-09-22T16:43:41.034700Z

oh, it is totally a tradeoff

ghadi 2020-09-22T16:44:31.035600Z

you are giving up a powerful JIT and the variety of GCs for faster startup and generally less memory usage

lread 2020-09-22T16:57:49.036800Z

I find that this section of this video does a good job of explaining the tradeoffs: https://youtu.be/PeMvksAZbdw?t=647