Exactly.
The salaries in some countries (e.g. India) are so low that it befuddles me. In smaller cities in India, software engineers actually make closer to around $4K a year, and new grads with no experience start at around $2.5K a year.
Compare that to the new grad pay rate of $180K+ at Google. Also, a close friend of mine at Google makes over $400K.
In some cases, the pay gap is literally 100X. E.g. in the US, it's $400K, and in India, it's $4K.
Why?
This pay gap makes no sense.
And, you're right. As soon as the same dev from India comes over to the US (and gets a Master's or directly comes on an H1B), their pay goes from $4K to $200K. (Another friend of mine moved here from India, and is making over $200K now.)
Why are salaries so far apart, even with all the tech we have today? Doing remote work over the Internet is so easy.
Makes no sense..