I'm not sure I can be quite that specific, but there are some very well-established differences in the way men and women think, and the way the respond to stress. See here:
http://bible.org/seriespage/biological-basis-gender-specific... [1]
. . . particularly sections V and VII.
I wouldn't go so far as to say we know how gender affects brain chemistry specifically as it refers to programming, only that we know it does affect how we think, process information, and handle stress. And those things seem like they would be relevant. Don't they?
That is to say, I wouldn't say I know ALL of the differences between us are innate, only that I find it plausible that a lot of them are. And that I'm hesitant to treat statistically underrepresented women as necessarily a problem.
[1] You'll have to excuse the bible.org reference; the christian academic community seems to be about the only one in which one can have a serious conversation about innate differences between the genders without getting immediately taken out and shot. You have my assurance that the discussion in the article is interesting and scientific, and comes with copious footnotes to mainstream sources.
(Sorry, I don't mean to harp on this too much, but after hanging out around a sociologist with a pet peeve, it has sadly rubbed off on me.)
This may be because in the academic community "gender" has an entirely different meaning that "sex." Sex (and the sex differences) relate to biological differences, male and female. Gender (and gender differences) relate to society, culture, and how one acts or the roles of the masculine and feminine _within that society_. So of course "gender differences" are not going to turn up a lot in the academic world since a self-identifying masculine male should have the same biology as a self-identifying feminine male. Googling for "sex brain difference" or something like that may help (in google scholar or a journal database, probably not plain google).
One other data point is that it is worth investigating women in technology in other societies. According to this (old) study: http://www.frauen.inf.ethz.ch/stats/international_stat_fraue... women are in the majority for a few asian countries.
Just some thoughts.
Except in pathological cases, we barely know how physiology affects large scale behavior, let alone how particular brain functions influence how one's interests develop and how they excel at activities, especially in the midst of the confounding environmental factors such as upbringing, schooling, and culture. We don't know where Paris or London are on the map.
The question is what comprises this effect and how much of it is nature as opposed to nurture.
Basically, it depends on if you approach it from a hollistic perspective (where the effect of sex is the compound of physical capability and social influences and whatever else) or a narrow perspective (how does the Y chromosome influence analytical capability).
In the wide perspective, the answer is clear - there are indeed differences in how males and females process their environment (https://docs.google.com/viewer?a=v&q=cache:9JNbJB0PhGEJ:...).
In the narrow perspective, it may never be clear for environment influences genetic expression (http://www.nature.com/scitable/topicpage/environmental-influ...). In other words, it's possible that the genetics expressed in a human are themselves socially influenced. Or, for a bigger picture, an individual having a Y chromosome is treated differently by their environment which in turn results in a different genetic expression and, by extension, different preferences and capabilities. Or to put it yet another way, nature influences nuture which, in turn, influences nature. It's a feedback loop.
Also see: http://en.wikipedia.org/wiki/Sex_and_psychology#Intelligence
To summarise the above link, there is greater variation in adult men's intelligence and they are over-represented at the tail end as well as having a higher average intelligence. So we do indeed know where both Paris and London are at this point, we just don't know enough about geology to guess how they got there.
Do we? That observation doesn't appear to account for the fact that the numbers are strongly correlated with culture, nor that women's presence in CS has been declining in Western countries but increasing in others.
This is kind of like saying we knew the net effects of race on personal productivity by looking at Japanese internment camps during WWII — it's a very shallow and facile view of the topic.
Quantify how sex affects the brain in specific ways that effect the likelihood of developing an interesting in programming and being an effective programmer. Until we can do this, essentially saying "physiology affects your organs" is a pretty empty statement.