v @avi.im · Jul 27

I always thought Go FFI was slow af. This is a common assumption in the Go community too. A couple of years ago, there used to be so many posts about how slow it is. Turns out it may not be true and Go might have improved.

2 likes 1 replies

?

Replies

v · Jul 27

I read this article by Rafael Batiati and the performance of Go client with CGO is almost like any other. I know it all depends™️, so I benchmarked my old code, and the numbers do look better. (It is also totally possible that earlier I didn't benchmark properly)