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.

Sign Up to our newsletter

Receive free articles, highlights from the archive, news, details of prizes, and much more.

Follow Literary Review on Twitter

  • Last Tweets

    • 'It is one of those nice linguistic ironies that English should have attempted to make sex respectable by clothing… ,
    • 'He was to my mind the father of the idea that journalism – yes, even journalism – can have a moral dimension to it… ,
    • RT : Feeling old, as exhumes a piece I wrote 37 years ago. But a joy to see Kathy O’S there too. Here’s why:… ,
    • 'Enough of his character remains just out of reach for Barnes to relish the challenge of imagining him.' Patrick M… ,
    • RT : I did a thing about the new Penguin Book Of Oulipo for this month’s Literary Review: @Lit_Review,
    • 'Moore’s work has been so influential that the former ministers who provided him with much of his information now r… ,
    • 'Although he travels through time and space to find the best produce, his choices, delightfully, are not obvious.'… ,