Get the latest tech news

Towards fearless SIMD, 7 years later


Towards fearless SIMD, 7 years later

Another approach, as I believe first advocated in my 2018 blog post, is to write functions polymorphic on a zero-sized type representing the SIMD capabilities, then rely on monomorphization to create the various versions. It would be a lot of work to build out all the needed types and operations, with potentially a large amount of repetitive boilerplate code in the library, which in turn may cause issues with compile time. For one, because it emphasizes portability, it encourages a "lowest common denominator" approach, while I believe that for certain use cases it will be important to tune algorithms to best use the specific quirks of the different SIMD implementations.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of years

years

Photo of fearless SIMD

fearless SIMD

Related news:

News photo

IRS to overhaul its tech after finding $21.1 billion in fraud in just two years

News photo

Xiph.Org's Theora libtheora 1.2 Officially Released: 16 Years After v1.0

News photo

Two Years In The Making, Intel Linux Driver Enables CPS Compression For Alchemist GPUs