Cities are a great place to live if you find one with decent public transport. If you're already talking about a major life upheaval, have you considered coming to Europe? There are pretty cool software industries in London and Berlin at least.
YMMV, but I found living in the country pretty unpleasant, particularly as a relatively shy single person with less-mainstream hobbies; you have to drive everywhere, you have to plan a lot more in advance (just trivial things like doing your grocery shopping ahead of time), and there aren't the kind of entertainment options you get in a city.
YMMV, but I found living in the country pretty unpleasant, particularly as a relatively shy single person with less-mainstream hobbies; you have to drive everywhere, you have to plan a lot more in advance (just trivial things like doing your grocery shopping ahead of time), and there aren't the kind of entertainment options you get in a city.