2 ms·
Go programmers usually avoid C bindings if at all possible. Pure Go can be cross-compiled easily, but that goes out the window once you include C code. You can
by miki123211 3y ago
Go programmers usually avoid C bindings if at all possible.
Pure Go can be cross-compiled easily, but that goes out the window once you include C code. You can make it a bit easier by using Zig as your c compiler, but it's still a bit of a pain. If you want to expose your code as a Go package, the situation gets even more complicated.