HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Three Beautiful Quicksorts

Google TechTalks2 HN recommenders · recommended in 2 months, 2010-2023
YouTube
45K views · 19 years ago · talk · evergreen

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.

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

Algorithms & data structuresSoftware architecture & design#quicksort#codeelegance#algorithms#programtransformation#jonbentley

3 comments from Hacker News

@tonym1282023 · in “Ask HN: Where do I find good code to read?”

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 ▶ this video Bret Victor - Inventing on Principle link

RecommendsView on HN
@erre2013 · in “A regular expression matcher By Rob Pike and Brian Kernighan (2007)”

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

RecommendsView on HN
@ehsanul2010 · in “-2000 Lines Of Code”

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": ▶ this video Edit: Fixed quote

CitesView on HN
"Simple Made Easy" - Rich Hickey (2011)1:01:39

"Simple Made Easy" - Rich Hickey (2011)

Strange Loop Conference
219K views • 5 years ago
"Simple Made Easy" - Rich Hickey (2011)1:01:39

"Simple Made Easy" - Rich Hickey (2011)

ClojureTV
434K views • 5 years ago
15 Sorting Algorithms in 6 Minutes5:50

15 Sorting Algorithms in 6 Minutes

Timo Bingmann
29.4M views • 13 years ago
17. Succinct Structures I1:20:11

17. Succinct Structures I

MIT OpenCourseWare
17K views • 12 years ago
Analyzing Programs with Z343:31

Analyzing Programs with Z3

Compose Conference
24K views • 10 years ago
Succinct Data Structures1:26:11

Succinct Data Structures

Edward Kmett
9K views • 13 years ago
Data-Oriented Demo: SOA, composition1:32:47

Data-Oriented Demo: SOA, composition

Jonathan Blow
201K views • 11 years ago
"Transducers" by Rich Hickey45:00

"Transducers" by Rich Hickey

Strange Loop Conference
116K views • 12 years ago
Sorting Algorithms: Speed Is Found In The Minds of People - Andrei Alexandrescu - CppCon 20191:29:55

Sorting Algorithms: Speed Is Found In The Minds of People - Andrei Alexandrescu - CppCon 2019

CppCon
184K views • 7 years ago
Effective Programs - 10 Years of Clojure - Rich Hickey1:14:52

Effective Programs - 10 Years of Clojure - Rich Hickey

ClojureTV
176K views • 9 years ago
Escape from the Heap: Low-Level Programming in Common Lisp56:49

Escape from the Heap: Low-Level Programming in Common Lisp

Arthur Gleckler
17K views • 10 years ago
The Functional Programmer's Toolkit - Scott Wlaschin1:05:51

The Functional Programmer's Toolkit - Scott Wlaschin

NDC Conferences
79K views • 7 years ago
Modern Dictionaries by Raymond Hettinger1:07:41

Modern Dictionaries by Raymond Hettinger

SF Python
150K views • 9 years ago
Lecture 1A: Overview and Introduction to Lisp1:12:56

Lecture 1A: Overview and Introduction to Lisp

MIT OpenCourseWare
420K views • 7 years ago
Simplicity Ain't Easy - Stuart Halloway50:01

Simplicity Ain't Easy - Stuart Halloway

ClojureTV
24K views • 13 years ago
Rich Hickey: Deconstructing the Database1:06:24

Rich Hickey: Deconstructing the Database

InfoQ
106K views • 14 years ago
Leslie Lamport: Thinking Above the Code59:50

Leslie Lamport: Thinking Above the Code

Microsoft Research
403K views • 12 years ago
"Outperforming Imperative with Pure Functional Languages" by Richard Feldman34:55

"Outperforming Imperative with Pure Functional Languages" by Richard Feldman

Strange Loop Conference
98K views • 5 years ago
Four Solutions to a Trivial Problem - Guy Steele Jr.1:01:47

Four Solutions to a Trivial Problem - Guy Steele Jr.

Google TechTalks
36K views • 10 years ago
H3: Tiling the Earth with Hexagons25:39

H3: Tiling the Earth with Hexagons

Uber Engineering
53K views • 8 years ago