Embedded development is safe from the young turks in the US. Nobody is being taught how to competently develop in C and work with hardware. There is no apparent ageism where I work because older devs are in demand for skills that aren't available in a younger cohort.