CppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++”
What it is
Optiver's Carl Cook explains how to build high-frequency trading systems in C++, where the critical path runs rarely but must be extremely fast. He covers techniques for low and predictable latency, including avoiding main memory and cache misses.
Why Hacker News recommends it
HN repeatedly points people to it as the best overview of low-latency trading engineering.
- 5 people recommended it
- 6 different months
- 0 strong recommendations
- first 2017, last 2025
What HN commenters said
“he provides some interesting theoretical points along the way that might be advantageous to you”
Optimizing HFT code with theoretical points useful beyond C++
log_base_login, 2017-11 · Recommendation · in “Coders who trade: Wall Street designs its staff for the future”
“Here are some talks that will give you a small overview into that world”
Overview of the low-latency trading world
pjmlp, 2020-05 · Recommendation · in “Ask HN: What programming skills are required by HFT or Trading firms”
“You might i.e. check out talks like [0].”
Talk on bare-metal performance concerns
jeffreygoesto, 2020-11 · Recommendation · in “Ask HN: Am I too late for the “Data Science” wave?”
“Here’s a good talk on the reasons for and limits of using C++ for low latency systems”
Reasons for and limits of using C++ for low latency
vgatherps, 2020-11 · Recommendation · in “Java is better than C++ for high speed trading systems”
“I'd also recommend any of Carl Cook's talks”
Carl Cook's talk on low-latency trading
benreesman, 2022-08 · Recommendation · in “Understanding Jane Street”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: c++, hft, performance, cache optimization, cppcon
Also recommended by the same people
courseSes 1: Introduction and Course OverviewMIT OpenCourseWare · 5 HN recommenders · 2020–2023
commentaryGPT-4chan: This is the worst AI everYannic Kilcher · 3 HN recommenders · 2022–2026
talkAdvanced Topics in Programming Languages: A Lock-Free Hash TableGoogleTalksArchive · 4 HN recommenders · 2013–2024
interviewThe Man behind Stable DiffusionYannic Kilcher · 3 HN recommenders · 2022–2023
talk"Simple Made Easy" - Rich Hickey (2011)Strange Loop Conference · 14 HN recommenders · 2022–2026
talkJoe Armstrong - Keynote: The Forgotten Ideas in Computer Science - Code BEAM SF 2018Code Sync · 4 HN recommenders · 2018–2022
talkCppCon 2014: Herb Sutter "Back to the Basics! Essentials of Modern C++ Style"CppCon · 2 HN recommenders · 2014–2021
talkCppCon 2015: Kate Gregory “Stop Teaching C"CppCon · 7 HN recommenders · 2016–2025