Note that this is not “go port”. It’s C transpiled to go with their custom C compiler, and it’s transpiled differently for each architecture (as it’s using unsafe go heavily)
I look at it like a neat exercise but not really something to use in production. (I actually use it in tests though.)