In my part of Canada, a decent dev salary for a new grad is about 45k USD. After taxes you'll be left with about 32k USD. Rent for a 1 bedroom apartment within a half hour drive of the city is about 1k USD, food for one person for a month is 200-250 USD if you don't eat out but do eat reasonably healthy (frozen vegetables, ground beef or pork chops, pasta, stuff like that). After internet, power, car expenses, telephone costs, etc. come out, you're maybe left with 10k USD to spare each year.
If a new grad in California making $180k+ is left with that little after the same expenses in the USA, I'd be impressed.
Granted, other things become more expensive later on. No doubt childcare is more expensive in California, as is housing. But it's not cheap here - a cheap house within a 30 minute drive of the city here costs about 500k USD, while that might be, what, 1-2 million in California? But a senior dev salary here is about 80k USD, vs 300k+ in California. And sure, the ratio might seem not too bad - 80k vs 300k is like a ~4 times difference, 500k to 2 million is like a 4 times difference. But after you deduct living expenses, you're looking at a much different ratio - unless every living expense is 4x more in California. But I'd be shocked if, for example, 1kg of medium ground beef that costs $10 USD in Canada costs $40 USD in California. Or if a $100 internet plan for 100 Mb/s up/down here costs $400 in California.