Can we sentence Microsoft to be tried in The Hague for war crimes? Tempting as this option may be, especially after Windows 8, it seems unlikely. If interactions between armed robots were to trigger combat between major powers, there might be nobody left alive to try to figure out what had gone wrong.
