HN Hall of Fame Weekly email

Introduction to the A* Algorithm (2014)

www.redblobgames.com Books & learning Tutorials & guides Computer science Class of 2018-12 Hall of Fame
Screenshot of www.redblobgames.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 8 calendar years, with breakout response in 4 of them.

submissions
9
submitters
9
observed span
2014–2025
peak thread · 103 comments
509 pts
latest 20+ return · 2025-06-17
288 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

Excellent article - I recently worked on some pathfinding stuff and the material I found on A* was not that great but this is very well laid out. Important side note: A* or other "best path" algorithms are not always preferable - there are some situations where it makes sense to use even less ideal paths in exchange for greater speed and less memory usage - even ones that are faster than greedy-best-first search with A* shown here. If you…

The article doesn't explicitly state it in this manner in one concise place, but the way I would always think about A* from a "practical/easy-to-remember" perspective back when I was doing competitive programming is that they're all the same algorithm, but with different priorities on the priority queue: Breadth-first Search: Priority is order of discovery of edges (that is, no priority queue/just a regular queue) Dijkstra: Priority is distance so far + next edge distance A*: Priority is distance so…

There is an interesting probabilistic angle of this classic AI story with Machine Learning applications here: https://github.com/imagry/aleph_star (paper, presentation, etc).

This is a very nice introduction. Well done.

uberman·4-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
4

100+ points or 50+ comments

Total points
1214

reference only — not used in Hall rules or ranking

Total comments
178

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2014-07-20Introduction to A*First breakout · Best threadphenylene50928
2015-12-12Introduction to A* algorithmwh-uws31
2017-05-31A-Star an interactive explanationnlolks10
2018-01-19Introduction to A*burritofanatic50
2018-12-09Introduction to A* (2014)Hall inductionspapas8220114
2020-08-13Introduction to the a* Algorithmcookingoils41
2022-02-10Introduction to the A* Algorithm (2014)djood20230
2024-10-20Introduction to the a* Algorithmkiyanwang11
2025-06-17Introduction to the A* Algorithm (2014)Latest 20+ point returnauraham288103