High-performance Tree Wrangling, the APL Way // Aaron Hsu // Dyalog '18
What it is
Aaron Hsu shows how to manipulate and transform tree data in APL using arrays and inverted tables instead of pointers. He claims much smaller code, better performance and easier parallelisation.
Why Hacker News recommends it
HN recommends it as a striking example of high-performance tree handling with array programming.
- 3 people recommended it
- 3 different months
- 0 strong recommendations
- first 2019, last 2021
What HN commenters said
“Or how to model Trees without using pointers by using "Inverted Tables.”
Models trees without pointers using inverted tables in APL.
kadblas, 2019-06 · Recommendation · in “Why I think Haskell is the best general purpose language as of June 22 2019”
“great, as everything Aaron does”
Great presentation on manipulating and transforming trees in APL.
snaky, 2020-01 · Recommendation · in “Language as an intellectual tool: From hieroglyphics to APL (1991)”
“He has one talk (available on YouTube) about his approach to using arrays to working with tree structures in a high-performance way in APL”
Array approach to high-performance tree structures in APL.
jodrellblank, 2021-06 · Recommendation · in “Zig 0.8.0 Release Notes”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: apl, trees, inverted tables, array languages, dyalog
Also recommended by the same people
explainerWhy the Dutch Wait Less at Traffic LightsNot Just Bikes · 2 HN recommenders · 2020–2025
talkJoe Armstrong & Jeremy Ruston - Intertwingling the Tiddlywiki with Erlang | Code Mesh LDN 18Code Sync · 2 HN recommenders · 2020–2024
explainerArcologiesIsaac Arthur · 3 HN recommenders · 2018–2022
talkThe paradox of choice | Barry Schwartz | TEDTED · 4 HN recommenders · 2010–2022
talkDjangoCon 2008 Keynote: Cal HendersonGoogle for Developers · 6 HN recommenders · 2009–2026
lectureThe Most IMPORTANT Video You'll Ever See (part 1 of 8)wonderingmind42 · 13 HN recommenders · 2010–2025
commentarySelf-filling water bottle: BUSTED!Thunderf00t · 1 HN recommender · 2021–2022
explainerWhy Grocery Shopping is Better in AmsterdamNot Just Bikes · 7 HN recommenders · 2020–2025