While I think that war can drive technology, I think that there is also something else that drives technological advancement, and that is competition. Russia and the US wanted to beat each other in space, countries want to beat others and this pushes technological innovation, not just war. But I do think war pushes technology too.