DELAPARRA
Index
Color
NL
Category: Programming paradigms

SIMD

Explained by Updated

What is SIMD?

SIMD: Single Instruction, Multiple Data — one CPU instruction operates on several values at once (vectorisation). SIMD stands for Single Instruction, Multiple Data. One processor instruction works on several values at once, for example adding four or eight pairs of numbers in the same step. Modern CPUs all have SIMD instructions, such as SSE and AVX on Intel and AMD, and NEON on ARM. Compilers use them automatically for suitable loops, a process called vectorisation, and libraries for image processing, video, compression and machine learning rely on them heavily.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about SIMD

What should you keep in mind with SIMD?

You rarely write SIMD code by hand in web development. It still affects you indirectly: fast JSON parsers, image libraries and database engines owe much of their speed to it. If you process large arrays of numbers, using a well-optimised library instead of your own loop often gives you SIMD speed-ups for free.

At a glance

CategoryProgramming paradigms
Explained by
Updated

More Programming paradigms terms

All terms starting with S

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.