Of course if you're willing to take 20-30% less pay, immigrating to Canada and working for one of these tech companies in Vancouver or the Toronto area is much, much easier.
For instance, folks doing well-paid jobs in let's say China or Hong Kong aren't underpaid, they're paid well, relative to their local market. The same is true in Canada, it's just that Canadians live very close to a very different market with a very different cost structure and externalities - but 'feels' about the same from the other side of the fence. Consider 50% more folks live below the poverty line per capita in the US than in Canada so clearly it's not all bad.
Remember, Canadians can show up at the US border with $50USD and an offer letter in a SWE job and get a 3-year TN status adjudicated on the spot. There's clearly more to it.
The vast majority of employers will not sponsor you for a H1B, esp. if you don't currently work for them.