puzpuzpuz / xsync

Concurrent data structures for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using runtime functions via go:linkname is not allowed

grongor opened this issue · comments

Hello, I wanted to update to v3 today when the new go 1.23 landed, and I just found out that you are featured in the Go source :) Just in case you missed it...

https://github.com/golang/go/blob/master/src/runtime/alg.go#L58

I'm pleased to see xsync included into the list. The fact that many library authors have to use internal APIs highlights that the public ones are crappy, nothing more.

After all, this library exists mostly because what's available in the sync package leaves a lot to wish for.

I'm pretty stoked about my mention too, and support your sentiment.

Also thanks for the library.

I believe WriteComparable will solve this problem. Commit looks interesting.