The Kronk SDK

In the previous article we took yzma apart and found a very disciplined bridge: purego finds the functions inside libllama.so , libffi makes the calls, and no C compiler is involved anywhere. What you get out the other end is llama.cpp's API almost exactly as C sees it — which is wonderful for understanding what's going on, and rather raw for building an application on. Today we climb one level…