I like both in knife blades. A2 is usually tougher, D2 is typically more wear resistant and more corrosion resistant. To get tougher go up to 3V/Cruwear class. More wear resistant? Try Cruwear, 3V, M2, CPM M4, on up. More corrosion resistance? Try stainless steels.
They are fairly well balanced and not as expensive as powder steels. Both are air hardening steels, though D2 is a die steel, A2 a tool steel.