Four Solutions to a Trivial Problem - Guy Steele Jr.
What it is
Guy Steele presents a small geometric problem and compares four computational approaches: a classic sequential solution and three parallel-friendly ones. Each is illustrated pictorially and with working code, weighing total work against time to solution.
Why Hacker News recommends it
HN points to it as a clear lesson that algebraic properties like associativity unlock parallelism, applicable in any language.
- 4 people recommended it
- 4 different months
- 1 strong recommendations
- first 2017, last 2023
What HN commenters said
“watch Guy Steele's talks [1][2][3] if you are interested in data parallelism!”
Guy Steele's talks on data parallelism apply in any language
tkf, 2020-10 · Strong recommendation · in “A quick introduction to data parallelism in Julia”
“I enjoyed this talk along the same lines by Guy Steele, regarding not necessarily forcing a sequential solution to a non-sequential problem”
Avoid forcing sequential solutions; exploit commutative and associative steps for parallelism
platz, 2018-08 · Recommendation · in “Organizing Functional Code for Parallel Execution (2009) [video]”
“Guy Steele gave an incredibly interesting guest talk[1] at google about four different ways to solve this exact problem”
Guy Steele's talk on four ways to solve one problem
heleninboodler, 2022-09 · Recommendation · in “Someone is pretending to be me”
“There are a few good talks that he gives”
Guy Steele Jr. toy-problem talk among his good talks
MathMonkeyMan, 2023-07 · Recommendation · in “Coroutines for Go”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: parallelism, associativity, functional programming, guy steele, algorithms
Also recommended by the same people
talkJohn Wiegley: Putting Lenses to WorkBay Area Haskell · 4 HN recommenders · 2020–2024
talkGabriella Gonzalez – How to market Haskell to a mainstream programmerKonfy · 2 HN recommenders · 2020–2023
lectureBlack hole Firewalls - with Sean Carroll and Jennifer OuelletteThe Royal Institution · 3 HN recommenders · 2017–2022
lectureLeonard Susskind on The World As Hologram | TVO DocsTVO Docs · 7 HN recommenders · 2013–2021
talk"Controlling Time and Space: understanding the many formulations of FRP" by Evan CzaplickiStrange Loop Conference · 5 HN recommenders · 2014–2026
talkYanis Varoufakis: The Global Minotaur: America, Europe and the Future of the Global EconomySkriptaTV · 3 HN recommenders · 2015–2015
talkInvited Talk - Guy SteeleClojureTV · 7 HN recommenders · 2017–2023
demoNaN Gates and Flip FLOPSsuckerpinch · 7 HN recommenders · 2020–2025