datahike icon indicating copy to clipboard operation
datahike copied to clipboard

GraalVM native-image build support

Open whilo opened this issue 3 years ago • 1 comments

This branch provides a prototype CLI tools built as a native image. The build uses https://github.com/taylorwood/clj.native-image. Preliminary documentation for the CLI can be found under doc/cli.md.

whilo avatar May 25 '21 05:05 whilo

Needs an update to pass the tests.

jsmassa avatar Jan 08 '22 03:01 jsmassa

Blocked by #542

jsmassa avatar Sep 23 '22 11:09 jsmassa

@jsmassa Except for the backward-compatibility-test this should be ready to be merged now. Let me know what needs to be changed for this or feel free to fix it directly. konserve after merge of https://github.com/replikativ/konserve/pull/79 and the hitchhiker-tree also need to be released and changed in the dependencies.

This PR now only makes sure that the native-image can be built and works (tests not yet integrated, they are in bin/run-native-image-tests). I have left all changes to the memory model for https://github.com/replikativ/datahike/pull/332 or follow-ups.

whilo avatar Oct 20 '22 10:10 whilo

I agree, I strongly dislike impl as well unless it would disambiguate internals of something that is already scoped and then internal would probably be better. I actually tried native but native is a protected keyword in Java, so we would have to use something else. I inherited impl from libsci actually.

whilo avatar Dec 23 '22 07:12 whilo