How would you compare the XD to a glock?
Never owned a Glock so I couldn't say.
The XD has a grip and a trigger safety and now Springfield has added a thumb safety as well. And now they have the new M-factor XD's, with match grade barrels.
I'm very happy with the accuracy. Disassembly is fairly simple, but you've got to be careful with the recoil spring on the 5" models. When I took mine out for cleaning, the guide rod shot all the way across the room.