The company I work for has 3 devs in Portugal, working remotely... good people, very skilled, and it's much more affordable to pay them well compared to their local market than trying to hire locally, even if locally (more expensive European country), salaries are still a far cry from those of the USA, let alone Silicon Valley. With remote becoming widespread, it's hard to believe Silicon Valley is still willing to pay so much more money for devs than hire remote workers in Portugal and numerous other countries with high education and infrastructure, but much, much lower salaries.