I personally prefer the XD for its trigger and personal ergonomics but others find the Glock to be better for them. I have nearly 4,000 rounds through my 45 ACP Service model so far and it has not had a hiccup with any load I've run through it; various weights and bullet styles of factory, Wolf, aluminium Blaser, milsurp, and handloads. I ran 1,000 rounds of Wolf ammo through it to see how dirty it needs to get before malfunctions appear but none occurred. This is my duty gun and I have total trust in its working when I need it to. I also have a 40 S&W Service model XD with over 7,000 rounds through it and it has performed the same.
The Glocks are good guns but the grip angle is all wrong for me and the trigger pull is mostly horrendous. I have a difficult time shooting them well unless I really concentrate and that is not what I look for in a duty weapon. Best bet would be to borrow or rent a sample of each to try before buying. One gun might "feel" better in the hand but you could find it feels very different when under recoil.
The Glocks are good guns but the grip angle is all wrong for me and the trigger pull is mostly horrendous. I have a difficult time shooting them well unless I really concentrate and that is not what I look for in a duty weapon. Best bet would be to borrow or rent a sample of each to try before buying. One gun might "feel" better in the hand but you could find it feels very different when under recoil.