One other solution is to open work visa for people wanting to join G8 countries. You'll keep jobs onshore if if want hard to get a visa.
Some 4th world countries citizen look up to live in your country: your country is good then.
Let people come in.
You dont: they try another way: they try to convince to offshore.
Keep Up with TechRepublic