~/talk

Data Oriented Design: Machine Learning One Million Times Faster

Talkat C++Online 2025 · 2025-02-26..02-28· [c-and-cpp, machine-learning]
slides:none on file

Shows a concrete refactor of leave‑one‑out linear regression that turns a 14,000 second baseline into ~18 milliseconds — roughly a millionfold speedup by reusing global sums instead of recomputing per‑leave‑out fit. Implements contiguous structures‑of‑arrays and a small DR³ vector framework with vectorized vex objects and transform‑reduce style ops, solves closed‑form betas in bulk, and reports the fast implementation runs correctly and reproducibly on real data.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Data Oriented Design basics
  3. 5:07Beyond micro-optimizations
  4. 8:35Hardware challenges
  5. 12:03Memory access patterns
  6. 18:20Contiguous data power
  7. 23:42Vectorized instructions
  8. 30:09Compile-time precomputation
  9. 33:23George Polya's problem solving
  10. 41:14Leave-one-out regression case
  11. 55:54Key takeaways and summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.