Very early prototype. Thought of giving the java-ffi a run. Took the zstd-jni as comparison and asked copilot to generate the ffi version with as minimal garbage as possible. In the first iteration ffi is slightly better than jni! Time to dig into generated code. @java #java #ffi