(no title)
lexh | 1 year ago
This can’t be the first pass someone has made at something like this, right? There must be literal dozens of SIMD thirsty Gophers around. Would a more common pattern be to use CGO?
lexh | 1 year ago
This can’t be the first pass someone has made at something like this, right? There must be literal dozens of SIMD thirsty Gophers around. Would a more common pattern be to use CGO?
chrchang523|1 year ago
https://pkg.go.dev/github.com/grailbio/base/simd has some work I’ve done in this vein.
Andoryuuta|1 year ago
The most complete library I've seen (though admittedly never used) uses CGO _partially_, with a neat hack to avoid the overhead that it comes with [1].
[0]: https://github.com/slimsag/rand/blob/f1e8d464c0021a391d5cd64...
[1]: https://github.com/alivanz/go-simd/
dpifke|1 year ago