summaryrefslogtreecommitdiffstats
path: root/third_party/rust/packed_simd/perf-guide/src/introduction.md
blob: 7243e19c8a5404dcfb9382b03ffd02de1c36fc14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Introduction

## What is SIMD

<!-- TODO:
describe what SIMD is, which algorithms can benefit from it,
give usage examples
-->

## History of SIMD in Rust

<!-- TODO:
discuss history of unstable std::simd,
stabilization of std::arch, etc.
-->

## Discover packed_simd

<!-- TODO: describe scope of this project -->

Writing fast and portable SIMD algorithms using `packed_simd` is, unfortunately,
not trivial. There are many pitfals that one should be aware of, and some idioms
that help avoid those pitfalls.

This book attempts to document these best practices and provides practical examples
on how to apply the tips to _your_ code.