Artillery barrels use rifling in the barrels, this I know personally, tanks used to shoot other tanks used rifling as well but are now moving back to smoothbore. "To reliably penetrate the thick armor of modern armored vehicles, a very long, thin kinetic energy projectile is required. The longer the projectile is in relation to its diameter, the higher the spin rate must be to provide stability. Practical rifling can only stabilize projectiles of a limited length to diameter ratio, and these modern rounds are simply too long. These rounds are instead formed into a dart shape, using fins for stabiliztion."