Hacker News new | ask | show | jobs
by bigwhite 6 days ago
The Go language has long lacked official support for SIMD instructions, which means it has been at a disadvantage in terms of performance optimization. In recent years, with Go 1.26, an experimental version of the SIMD/ArchSIMD packages was introduced for AMD64 architecture. With Go 1.27, a portable version of the SIMD package was also added. Now, we can fully utilize native SIMD instructions to optimize go program performance.

- https://pkg.go.dev/simd/archsimd@go1.26.5

1 comments

I think too many people get dismissive of reaching out to Assembly in other languages, while in C and C++, having to reach out to Assembly to do exactly the same is seen as an advantage versus other languages.

https://github.com/kelindar/simd

https://github.com/viant/vec

However, having it officially supported is definitely much more convenient.