I've never had a problem getting a job in tech. Last time I was hired was in my late 40s; I'm now early 50s.
I don't work the 50, 60 hour weeks that I used to when I was younger. So if that is what someone is looking for in a candidate I can see why an older person might get passed over.
But I accomplish more in 20 hours now than I did in 60 hours when I was 25.
The kind of jobs I would want, would not hesitate to hire a 50 year old. At least in my experience.