interop-c


wip

  1. JNI (Java Native Interface)
    
  • https://thebreakfastpost.com/2012/01/21/wrapping-a-c-library-with-jni-introduction/

javc TestJNI.java javah -jni TestJNI

  1. JNA (Java Native Access)
    
  • https://github.com/java-native-access/jna/blob/master/www/GettingStarted.md
  • https://github.com/java-native-access/jna/blob/master/www/FrequentlyAskedQuestions.md#how-does-jna-performance-compare-to-custom-jni
  • https://nakkaya.com/2009/11/16/java-native-access-from-clojure/
  • https://stackoverflow.com/questions/24976711/getting-and-passing-structs-by-value-in-clojure-with-jna
  1. JNR
  • https://github.com/jnr/jnr-ffi
  • https://www.lvh.io/CCryptoClojure/