Re:Llama.cpp 30B runs with only 6GB of RAM now
by baq on Saturday April 01, 2023 @03:18PM
(#35403179)
Python has had cffi since figuratively forever, so I’m not sure why you compare native modules to P/Invoke?
.NET has P/Invoke which is much nicer.
JVM is getting Panama+jextract, which is the nicest yet. You can go straight from header files to pure Java bindings which don't need any extra native code at all. But it's not shipped yet :(