If you love writing and history and art and like talking about them with your friends, would it make sense to marry someone with no interest in those things?
Maybe! Obviously, some people marry complements, differences can attract, and so on. But please consider the other viewpoint.
Isn't it often the case that people choose to be in a relationship with other people who can understand their passions? If your passion is starting a business, or political participation, or world travel, or teaching, or surfing, what would your friends tell you about getting into a relationship with someone who doesn't value those things, and whose expectations of a normal life frankly preclude you spending quality time with that passion?
My passion is programming. And I really enjoy doing it with others.
Is it unrealistic to want to end up with someone I can have an outside chance of sharing gists with?
I think the 'few women in tech' issue affects us personally a lot more than we let on. Writers can marry readers and speakers and thinkers, artists can marry people who appreciate art, entrepreneurs can make the business a family endeavor, but engineers are usually out of luck.
Edit: 'out of luck' if what we want to do is share our specific passion with the person we spend the rest of our life with. If that doesn't matter to you, or the definition of sharing your passion doesn't involve talking code or coding with your SO, then you're lucky!