If you think some of the compensation packages being mentioned here are big, you should consider how much money many of the sales reps make who work for these companies. Based on my personal experience, even an inside sales guy at a mid-sized tech company with a solid product can make $150k-200k. Field sales reps (non-management) can make upwards to $750k to $1.25M. Yes, they're in sales and carry a quota, but many get paid big money just on maintenance & support renewals, with some getting quota retirement for purchases made as a result of license compliance audits. Also, and perhaps more importantly, sales reps can often live in low cost areas since they're always on the road.
If I were a software engineer today, I'd consider becoming a Sales Engineer supporting Field Sales, and then learn how to sell (you pick up a lot by osmosis by accompanying field sales on customer calls). If field sales didn't work out, I could always go back to being an engineer.