It turns out if you want to blow up an asteroid coming your way, or at least nudge it off its course, lobbing some megatons of TNTs in its general direction is a lot harder than sending over some nukes.
Also, things put on top of nukes when they blow up go really high, really fast, even if they're heavy. So if you add a nuke chute to the back of your spaceship, and some mechanism for dampening the blow you can build some really awesome interplanetary transports. With enough nukes you can even go to other stars in more or less reasonable time frames!
[1] - https://www.academia.edu/1884741/Roundtrip_interstellar_trav...
It is laser propulsion that is techno-magic. Even today. I won't register on whatever site to read yet another article on that, but I do bet neither the lasers nor the sail on this one could be made today.
Realistically all we can do at this time to cope with an extinction level impact, is crying and dying.
There's nothing that comes close to the MJ/kg of a modern thermonuclear weapon.
For some discussion of the specifics...
https://space.stackexchange.com/questions/7960/could-we-deal...
So yes, in theory we could divert some impactors, but in practice right now? No. Nukes don’t help either.
But, anyway, unless we wait way too much, it's better to deflect an asteroid than to break it.
Oh, it's simple- we'd sent in Bruce Willis [1].
__________________