That is, amd64.Uint64x2 would be different from arm64.Uint64x2, which hurts portability. And you can't just alias the two types because their method sets are different.
That is, amd64.Uint64x2 would be different from arm64.Uint64x2, which hurts portability. And you can't just alias the two types because their method sets are different.
github.com/golang/go/is...
github.com/golang/go/is...
This means *some* amount of portability, even at the lowest level. Separate packages would give up these benefits.
This means *some* amount of portability, even at the lowest level. Separate packages would give up these benefits.
And thanks to @lemire.bsky.social for writing about this, which made this much faster to track down!
And thanks to @lemire.bsky.social for writing about this, which made this much faster to track down!