Its one thing discussing an individual round from a 0.5cal Mg or a 20mm canon. Was any plane ever made that could withstand 2 seconds of fire from a P-47 or Typhoon? On ground targets you damage more with a cannon but you have more chance of a hit with an Mg.