Right, and both modernc and wazero are two highly sophisticated projects being used to avoid it.
But cgo being slow (and above all displeasent to work with) is what I'd consider valid criticism of Go.
Go has other advantages, FFI is not one of them.
But cgo being slow (and above all displeasent to work with) is what I'd consider valid criticism of Go.
Go has other advantages, FFI is not one of them.