Talks to Watch

'Fastware' - Andrei Alexandrescu [ ACCU 2016 ]

34K views · May 16, 2016 · 1:02:17 · 1 HN recommender · 3 mentions · discussed 2016–2021

Andrei Alexandrescu's ACCU 2016 talk previews material from his book on writing fast code, with a focus on optimization techniques such as sentinels and faster search.

Why Hacker News points people here: HN recommends it as a careful, entertaining talk on low-level optimization that shows how textbook algorithms can be sped up.

“If you’re skeptical, I really do encourage you to watch, he’s not sloppy.”HN comment, 2020

What Hacker News said 3

Strongly recommendsdundariousSep 2020

“If you’re skeptical, I really do encourage you to watch, he’s not sloppy.”

How sentinels speed up textbook algorithms and how to apply them sensibly

Full comment

See Alexandrescu’s Fastware talk on how amazingly sentinels can improve even textbook algorithms, and how to apply the approach intelligently. E.g., for a linear search, overwrite the last element with the sought after value, and do a tiny bit of work to make that safe and to undo it before return. If you’re skeptical, I really do encourage you to watch, he’s not sloppy. this video

Cites itrenoxAug 2016

“describe the usage of this kind of search to speed up quicksort in his 'Fastware' (fun) video”

Alexandrescu describes a similar search trick for speeding up quicksort

Full comment

Andrei Alexandrescu describe the usage of this kind of search to speed up quicksort in his 'Fastware' (fun) video: this video Discussed here: link

in “What to use instead of std::set [pdf]” · view on HN
Cites itsimionesMar 2021
Full comment

Assuming you're talking about Concepts, I've heard Andrei Alexandrescu, for example, challenge that hope [0], but I'd be happy to hear this has been fixed. [0] this video

in “How C++ Resolves a Function Call” · view on HN