‹ BackHN Continuity

Thread

Platform-independent SIMD in Go

414 points · 152 comments · yurivish

  1. ImJasonH · · focus · HN ↗
    <a href="https:&#x2F;&#x2F;imjasonh.github.io&#x2F;playground&#x2F;palette-swap&#x2F;" rel="nofollow">https:&#x2F;&#x2F;imjasonh.github.io&#x2F;playground&#x2F;palette-swap&#x2F; swaps colors in a provided image in wasm, entirely locally in your browser, to benchmark portable SIMD vs non-portable archsimd vs non-SIMD.

    Portable SIMD is ~11% slower than non-portable SIMD in this case, but both are ~5x faster than non-SIMD.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.