But in many areas a house is totally within reach on a tech salary.
But throw out daily commuting (or even, really, just accept a reasonable driving commute) and many possibilities open up in many coastal cities, especially given that many jobs aren't in the cities anyway. Yes, if you want to live in the city, many of the coastal cities will be more expensive but, e.g. Chicago is not especially cheap either.