In my experience, the more straight a person is, the dumber they are about anything computer, broadly speaking.
Since about 1990ish onward, yeah its still a hetero male dominated field, but the farther away someone gets from heteronormative man, chances get higher that they're actually extremely gifted/talented at doing actual software dev / it / academic research.
Don't forget Alan Turing, essentially the inventor of modern computing, was a gay man, and if you look through the history of notables in the actual field of comp sci, not the business of it, you'll find it has a lot more woman and non straight dudes in it that many other fields.