Why does titanium carbide have a high melting point?

It is a metal alloy which made of two metals.