Skip to content

Latest commit

 

History

History

nippy

Nippy

Testing whether Nippy library can be used in a native binary image with GraalVM.

Usage

Currently testing:

[com.taoensso/nippy "2.14.0"]

Test with:

lein do clean, uberjar, native, run-native

It works only without any configuration with Clojure data types.

For extra types included in stress data the additional configuration is necessary that works with the newest GraalVM DEV

https://github.com/graalvm/graalvm-ce-dev-builds/releases/tag/21.3.0-dev-20210914_2058

(defn -main []
  (prn (nippy/freeze nippy/stress-data))
  (prn (nippy/thaw (nippy/freeze nippy/stress-data))))