~/talk

Speedrun Into Massive Data: Using SIMD in C#

Talkat NDC Oslo 2025 · 2025-05-19..05-23· [dotnet]
slides:none on file

Covers how .NET actually uses SIMD via System.Numerics.Vector to vectorize arrays, showing a naive vectorized sum and that vectorized summing yields ~2x speedup over a plain for loop on the presenter’s M2 Pro (13.4 µs → ~7.4 µs), explains tails, overflow checking and why LINQ Sum already sometimes uses hardware acceleration, and demonstrates GPU offload using ILGPU / CUDA/OpenCL with a naive matrix‑multiply kernel while warning about copy overhead and when GPU parallelism pays off.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 2:20SIMD foundations
  3. 7:53Flynn's taxonomy and SIMD
  4. 14:00Hardware and .NET abstractions
  5. 26:12Implementing SIMD in C#
  6. 32:19Benchmarking and performance
  7. 42:58GPU acceleration and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.