Seven years ago, the number of applications to study computing science at the University of Cambridge had dwindled to just a few hundred. Eben Upton, then the director of studies there, was dismayed.