Ok, but also engineers in the US are much better paid now than 15 years ago. In 2010 the big story in engineer comp was that Google, Apple, and others were conspiring to avoid competing for talent (and thereby driving pay up) [1]. It was roughly Facebook not being part of this scheme that started driving salaries up. A few years ago the popular story was that people were switching jobs because their compensation had been inflated by massive share price increases (ie you are promised x shares vesting over 4 years at sign on with refresher grants, but the value of x shares goes up a bunch over those years) and they wanted to maintain their high realised comp even though shares were no longer rising as much. The only way for that to happen was engineers getting paid very well.
[1] https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_L...