I think a few things mainly answer your question about Europe:
- More social housing than the US
- Higher minimum wages (so fewer homeless)
- This is just a personal impression but Europeans are less mobile than Americans. Therefore there is more likely to be the family / friends safety net to catch you.