I am an immigrant. Grew up in the Eastern Bloc - no exposure to computers until high-school (given country), but tons of exposure in school to math, etc. Even in high-school, CS was absolutely more popular with boys and they were enacting the "hacker" model as they perceived it from distance, so there was some "girls don't belong here" attitude, but frankly, once you know you can do it, that stuff is much easier to ignore :). Again, they didn't know what "hacker" meant, more like adolescent posturing.