Good videos, with context.
'Fastware' - Andrei Alexandrescu [ ACCU 2016 ]

'Fastware' - Andrei Alexandrescu [ ACCU 2016 ]

ACCU Conference
1 HN recommenders · discussed 2016–2021
Open YouTube ↗

About this video

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 it appears in the archive

HN recommends it as a careful, entertaining talk on low-level optimization that shows how textbook algorithms can be sped up.

AI-generated summary and labels from the source dataset; verify important details against the video. Source & credits.

From the Hacker News discussion

dundarious · 2020-09 · strong rec

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. [VIDEO]

Read original comment ↗
renox · 2016-08 · reference

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

Read original comment ↗
simiones · 2021-03 · reference

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] [VIDEO]

Read original comment ↗