When binding to native libraries one can also use ...
# science
a
When binding to native libraries one can also use https://github.com/whyoleg/ffi-kotlin by @Oleg Yukhnevich. I have not tried it myself, but it should simplify things a lot.