Does anyone know: Is there actually a better way in go?
I've heard a couple of times that C Bindings in go are slow. Is this what is usually referred to?
I've heard a couple of times that C Bindings in go are slow. Is this what is usually referred to?
So if you're writing a system in both, it's best to have the C side do a lot in each call, vs having the Go side call a lot of tiny funcs.
If you're only calling cgo in a few places, it's not too hard to check each one for memory leaks.