My neighbor when I lived in the Mission worked at Apple. We're engineers of similar seniority and he worked longer hours than I did, worked more weekends than I did, and earned less than I did. To say nothing of the perks (I work at Google). Small sample size, but I was taken aback.
I think it's far easier when your at the same career categories in unrelated companies. A lot of problems from sharing salaries get sidestepped, and the usefulness is that much more.
Americans should do it more as a cultural practice, so market prices of salaries can be better spread.
Always occurred odd to me how in NA it's taboo to ask your salary. In New Zealand you could ask that same question of someone you just met, and they'd tell you most of the time. People who earn ridiculous amount might feel awkward revealing it, however for the most part people have no issue.
And if anyone brings it up as "ammo" in a conversation, well you're quickly called a dick and you move on.