Get the latest tech news

C is not suited to SIMD (2019)


(C++) is used to write performant software, however it is ill-suited to SIMD. In particular, its compilation of stepped reduction with lexical scoping opposes parallel execution.

Returning to SIMD: map (*2) cannot depend on(*2) as a sequence of assembly instructions. Rather, it must treat(*2) like Haskell handles sum, an entity that exists only in the context of the compiler. Array languages naturally express SIMD calculations; perhaps there are more fluent methods for compilation (and better data structures for export à la object files).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of SIMD

SIMD

Related news:

News photo

Expressive Vector Engine – SIMD in C++

News photo

Understanding SIMD: Infinite complexity of trivial problems

News photo

Minotaur: A SIMD-Oriented Synthesizing Superoptimizer [pdf]