Are you killing hogs to eat or trying to eradicate them? If you don't care if they run off get the .223, if you're trying for DRT buy a .308. Both cartridges work very well in short barrels.

Me I'd just buy a Ruger American Ranch or M4-orgery in .223/5.56 and Load up some TTSX or CEB Raptors and call it a day.