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/.
chrisn 2021-03-26T13:09:12.052Z

Everything works as expected but you cannot use jdk-16 FFI pathways in a graal native executable due to missing symbols at link time -- which is pretty damn far, honestly.

chrisn 2021-03-26T13:10:25.052400Z

/usr/bin/ld: tech.v3.datatype.main.o:(.data+0xb28): undefined reference to `Java_jdk_internal_misc_ScopedMemoryAccess_closeScope0'
I am hesitant to start a thread about this in graal-native channel of graalvm considering I just asked about this last week.

chrisn 2021-03-26T13:20:29.053400Z

I guess it means that if we all push on that thread we could get https://download.java.net/java/early_access/jdk16/docs/api/jdk.incubator.foreign/jdk/incubator/foreign/CLinker.html supported in GraalNative. That would give you efficient Cython-like access to foreign libraries through graal native.

borkdude 2021-03-26T13:36:48.053900Z

> Everything works as expected but you cannot use jdk-16 FFI pathways in a graal native executable due to missing symbols at link time Sounds like something worth posting an issue about on oracle/graal github?

chrisn 2021-03-26T13:43:56.054200Z

I posted on their slack; let's see what the response is.