Are there any explicit plans to make Go’s interoperability with C any faster in the near future?
The overhead of cgo calls has been reduced over the years. And with Go 1.26 it’ll be reduced further. Go 1.26 Release Notes - The Go Programming Language.
I think that it’s typically less than 100ns these days. So unless you’re making thousands of calls in a tight loop it’s unlikely to be too much of an issue. And if you do need to make a lot of calls, the overhead can usually be mitigated by batching the calls and making many C api function calls from a single custom C function.
Go’s C interop has been optimized a lot, and Go 1.26 further reduces cgo call overhead.
For most code it’s already tiny; only very tight C call loops usually need batching for performance.