Navigation überspringen
In 1956, Edsger Dijkstra needed to demonstrate a new computer called the ARMAC.
0:00 / 0:29

In 1956, Edsger Dijkstra needed to demonstrate a new computer called the ARMAC.

Strace

@straceX10.709 Follower

Auf X besuchen

21.051 Aufrufe

In 1956, Edsger Dijkstra needed to demonstrate a new computer called the ARMAC. He wanted a problem anyone could understand: finding the shortest route between two cities in the Netherlands. One morning, while shopping in Amsterdam with his fiancée, they stopped for coffee. Sitting at an outdoor café, Dijkstra worked out the shortest-path algorithm in about 20 minutes. No pencil. No paper. He later explained that having nothing to write on forced him to eliminate unnecessary complexity. The demonstration used a map of just 64 Dutch cities, allowing each city to be identified with six bits. He didn’t publish the algorithm until 1959. Seventy years later, Dijkstra’s algorithm remains foundational to route planning and the shortest-path calculations used by OSPF routers. One of computer science’s most influential algorithms began over a cup of coffee.

9 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von mikasa

    @10xMikasa

    six bits per city is such a beautifully 1950s engineering detail.

    7 Likes

  • Profilbild von P. Jeffrey Ungar, PhD

    @pjungar

    I reinvented that as an undergrad by staring at the netting on a bag of onions.

    2 Likes

  • Profilbild von Arika

    @Arikalabs

    the priority queue wasn’t even part of the original implementation. that came later.

    1 Like

  • Profilbild von Idempotent SAGE

    @tw_pjm

    love this guy

    1 Like

  • Profilbild von Alan Macdonald 🇨🇦 🇺🇦

    @pembroke529

    The word serendipity comes to mind when I read that post. 👍

  • Profilbild von Schugga

    @Alfahoellenhun1

    Ironically, today's graph theory is 90 % terminology.

  • Profilbild von Sergiy Kanilo

    @spkanilo

    do you really believe that he kept the actual code in this head? that would be weird. normally, one analyse the idea of the algorithm, the code is not important at all. on other hand to analyse the idea of this algorithm 20 minites is way too long

  • Profilbild von Noodles Now

    @Noodles_Now

    Djikstra’s algorithm isn’t super impressive itself (I, like thousands more, re-invented it, as it is basically a best-first search). Variations of A* are used today instead but Djikstra can be used for caching routes for heuristic cell versions of A*. I am impressed he implemented the thing on the tiny computer available, so I toast his coding skill. 🍻

  • Profilbild von shiro_kuma_mon

    @shiro_kuma_mon

    【有り難うございます】 ダイクストラ先生のご尊顔を拝することができました。 いままではお名前しか存じ上げませんでした。