> I hope one day I'll live in a country where I have freedom to write any code I like without fearing.
Can the author reach the US by whatever mean and apply for political asylum? That 'fear that they will suffer persecution due to: ... Political opinion'[0] seems legit.
[0] http://www.uscis.gov/humanitarian/refugees-asylum/asylum