Y
Hacker News
new
|
ask
|
show
|
jobs
by
chrchang523
615 days ago
The problem with cgo is the high function-call overhead; you only want to use it for fairly big chunks of work. Calling an assembly function from Go is a lot cheaper.
https://pkg.go.dev/github.com/grailbio/base/simd
has some work I’ve done in this vein.