Prepare for hundreds of Glock fans to come to this thread to defend their favorite tupperware gun.
Anyways the Glock and the Hk are night and day different because of their design. Glocks well are Glocks.
Hks have a 1911 grip angle, and offer many different trigger combinations to suit your needs. Want a Glock style trigger? Have a LEM kit installed, want a DA/SA well depending on if you want a safety or a decocker there are 5 different ways to get that.
Accuracy wise they are both the same, recoil wise, the Hk will be slightly lower, but it's all pretty much the same. Capacity wise a Glock will be one or two more rounds, but good luck getting those rounds in the magazine.
Sig vs Hk, well it's kind of hard to compare a metal framed gun to a tupperware gun, I would say they are similar except I don't believe Sig gives you the option of carrying cocked and locked. With a Sig 40 you just replace the barrel you have a 357sig.