I was with a company for 24 years. They went public and cut the old timers loose a few years later.
Now been with a new company for 8 years and at age 60 starting to get nervous.
I also did a short stint teaching Embedded Computing at the local high school. The students are hungry for that stuff, but the administration is malfunctioned without hope of repair.