#803·lo

Experimental support of SIMD (go 1.27+)

Author: samberCreated Feb 16, 2026Updated Sep 9, 2026

A few helpers might have SIMD variants:

  • Sum
  • Mean
  • Min
  • Max
  • Clamp
  • SumBy
  • MeanBy
  • Product
  • Abs
  • Sqrt
  • Contains
  • Every
  • Some
  • None
  • IndexOf
  • HasPrefix / HasSuffix
  • Find / FindIndexOf / FindLastIndexOf
  • FindOrElse
  • MinIndex / MaxIndex
  • More ?

See #801, #1005

We won't recode arrow in lo, but I'm open to discussion for a high-level pipelining abstraction. Example:

  • Pythagoras's theorem: Sqrt(Mul(a, a), Mul(b, b))
  • Average age of adults: Mean(GreaterThan(18, age))

EDIT: #1005 brings support for Go 1.27 SIMD experimental lib. I've made some breaking changes but the API is getting simpler, thanks to the new cross-platform simd package of the stdlib. For the Go 1.26 implementation, please stick to github.com/samber/[email protected]