Whats the difference between a ported and a compensated barrel? Which is recommended for Semi Auto Pistols?

Question 1) What is the difference between ported and compensated barrels?

Question 2) Which is recommended for a Glock 23?

Question 3) Could I get my barrel both ported and compensated?

Question 4) If I get my barrel Ported or Compensated do I need to do anything to the slide?
6 answers 6