A Senior Software Engineer in Stockholm can expect to make less money than a Graduate Software Engineer in the United States, and will pay more taxes.
It's simple, as a technologist, you live in Europe if retirement isn't important for you. Because you'll have almost nothing to show for it after 30 years in tech in Europe.
The tradeoff with many EU countries would be that they enjoy their leisure time a lot more and sooner than Americans. Americans make more and save more statistically, but they spend it on cars, houses, and medical care, and generally have way less free time. So I think it's a wash.