HackerTube.dev

Three Beautiful Quicksorts

Google TechTalks · 45.3K views · 2007-10-09 · 53:56

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

Jon Bentley walks through three implementations of Hoare's Quicksort, from a dozen-line C function to a series of systematic code transformations that make the program ever simpler and more powerful. It is a Google Tech Talk on code elegance and program derivation.

On Hacker News

HN commenters point to it as programming inspiration and as a source of Bentley's anecdotes about adding function by deleting code.

Recommended by 2 HN people across 2 months · HN mentions 2010–2023

Topics

Search by tags

What people said

tonym128 · 2023-08 · Recommendation

I'm sorry these are videos, but your question made me think of these. If you're looking for programming inspiration I love these videos Jon Bentley - Three Beautiful Quicksorts [VIDEO] Bret Victor - Inventing on Principle [LINK]

Read the original HN comment ↗
erre · 2013-05 · Recommendation

Ah, and Jon Bentley's chapter about quicksort, along whose lines there's a (also very interesting) Google Tech Talk: [VIDEO]

Read the original HN comment ↗
ehsanul · 2010-02 · Reference

I'm reminded of this Google Tech Talk, where the speaker (Jon Bentley) refers to a colleague's praise of someone who "adds function by deleting code": [VIDEO] Edit: Fixed quote

Read the original HN comment ↗

Sources

Video by Google TechTalks, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources