TGViewer
Go Library Go Library @golanglibrary · 4.38K subscribers
Post #1537 941
7.5x faster encryption in Go with the new "simd" and "simd/archsimd" packages

In a few hours of work, with the help of modern programming tools, I've successfully implemented ChaCha20 for amd64 AVX2 and AVX512 and arm64 NEON. It's even slightly faster than my ChaCha implementation in Rust while being 10,000 times easier to write and read!


https://kerkour.com/golang-chacha20-encryption-simd-archsimd
More from @golanglibrary
  1. Oct 15, 2026Hacking the Go compiler to efficiently map IPv4 to IPv6 There is no Map() or To6() method…
  2. Oct 14, 2026Every Go release since 2013, benchmarked: go1.2 to go1.27 We measured the fastest Benchmar…
  3. Oct 13, 2026Hooking into the Go Toolchain Today we're going to take a look at the Go toolchain, and mo…
  4. Oct 12, 2026The Data Race That Wasn't a Bug (and the One That Was) The race is between your code and a…
  5. Oct 11, 2026terratest Terratest is a Go library that makes it easier to write automated tests for your…
  6. Oct 10, 2026NATS NATS is a simple, secure and performant communications system for digital systems, se…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →