David Bodanis

Running the Numbers

Algorithms to Live By: The Computer Science of Human Decisions

By

William Collins 351pp £20 order from our bookshop

Before Danny Hillis became very rich as the developer of massively parallel supercomputers, he was an undergraduate at MIT who suffered from an excruciating problem. It was his roommate. In the morning, his roommate would reach into his clean laundry hamper, pull out one sock at random, then pull out a second sock. If it didn’t match, he would throw the second sock back in and grab randomly again for another sock. This would be upsetting for anyone, and especially for a logical person such as Hillis: clearly there have to be better ways of finding matching pairs of clean socks. But how much better?

This question is at the heart of the study of algorithms, the formal procedures that we use to do things. Simple algorithms have been around for ages. When you follow a recipe, for example, you’re following an algorithm. But the field really took off with the growth of digital technology in the past few decades, for almost all tasks that computers perform involve going through the steps in increasingly complex algorithms.

Follow Literary Review on Twitter

  • Last Tweets

    • RT : 'Gracefully meditative...a Chatterton-esque literary discovery of old, albeit with references to Bob Geldof and Alk… ,
    • Still time to win tickets to Lady Windermere's Fan at the Vaudeville Theatre in London. To enter simply email marke… ,
    • In need of last minute christmas gifts for children? Philip Womack reviews the latest children's books from Jessica… ,
    • "An artist had to be a chemist – and he had to have a strong stomach. He would have known, writes Jelley, 'the usef… ,
    • Good spelling, us! ,
    • This Christmas, why not give the gift of being even better read? We're offering discounts on all our subscriptions… ,
    • Philip Henscher on Thom Gunn's 'Selected Poems' ,