Then come over to EU. Here not only one have to be young but as well cheap. 100k USD? Forget about it max we can do is 30-40k USD. Apart few exceptions in Germany haven't seen a developer above 40 years old, rarely have seen one above 35.
I don't think it is at all unusual to get paid significantly more than €40k..
It's neither in Germany. I have no idea where op gets their information. Sure, compared to the US pay in Germany is lower, but 40k is not even remotely on the high end for a developer.
On a side note: make your way to SF. As a software engineer, you will feel like a king and there's a meetup for every niche topic you can think of..