The first programmable, electronic, general-purpose digital computer, the ENIAC, was built to calculate artillery firing tables for the US Army and then immediately used to study the feasibility of the hydrogen bomb, kicking off a long history of connections between the military and computing advances.