Hope kitex is compatible with arm architecture
Is your feature request related to a problem? Please describe. The consistent hash algorithm of Kitex's load balancing module uses the assembly implementation of the hash function, which is incompatible with the arm architecture instruction set.
Describe the solution you'd like Maybe we can use a hash function that is compatible with the arm instruction set.
Additional context How high is the overhead brought by replacing the hash function?
Thanks for the feedback, v1.9.0 uses xxhash3 involve this problem, github.com/bytedance/gopkg/util/xxhash3 has supported arm now ,go get github.com/bytedance/gopkg@develop can fix ix. Kitex will upgrade it in the next version
Arm32 compilation is not supported
system: apple M1 arm64
code path : cloudwego/kitex-examples/basic/client
command: CGO_ENABLED=0 GOOS=linux GOARCH=arm go build

GOARCH=arm64 试试呢
arm64 是可以的,https://github.com/dapr/dapr/actions/runs/4444626716/jobs/7803013778?pr=6093 发现这个因为跑这个测试没过 :joy:..