Re:Ways to Get Better at C++
by CogitoCogito on Friday June 23, 2017 @07:16AM
(#14618333)
I'm not sure what you mean by this. Haven't you had the ability to specify as C ABI with the standard golang compiler since 1.5? I don't believe you need cgo. Maybe I misunderstood your comment?
https://blog.filippo.io/building-python-modules-with-go-1-5/
As long as you specify the correct interface, Python will happily load your modules.
I don't think that's true. Go only has a FFI to the platform's C ABI (cgo).