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/.
2020-02-04T06:55:29.040800Z

We are using luchiniatwork/cambada Following works: RUN clojure -A:native-image \ --image-name ${PROJECT_NAME} \ --out target \ --graalvm-opt J-Xmx28g \ --graalvm-opt J-Xms6g \ --graalvm-opt -enable-https \ --graalvm-opt -enable-url-protocols=https \ --graalvm-opt H:+TraceClassInitialization \ --graalvm-opt -initialize-at-build-time=org.postgresql.Driver \ --graalvm-opt -initialize-at-build-time=org.postgresql.util.SharedTimer \ --graalvm-opt -initialize-at-run-time=org.postgresql.sspi.SSPIClient \ --graalvm-opt -initialize-at-run-time=org.httpkit.client.SslContextFactory \ --graalvm-opt -initialize-at-run-time=org.httpkit.client.HttpClient

2020-02-04T06:55:47.041Z

We are also using next.jdbc

2020-02-04T06:56:16.041200Z

We have some custom serializers for postgres and it is important do do type hinting when doing java interoo

2020-02-04T06:57:10.041400Z

I.e (extend-protocol prepare/SettableParameter IPersistentMap (set-parameter [v ^PgPreparedStatement ps ^long i] (.setObject ps i (to-pg-json v))) ))