Even embedded is changing massively. The days of regular ASM use are already long behind us and the time when you'd use the smallest, cheapest MCU available and run a bare metal program on top is past in the high end. The mid and low ends are going the same way in the next decades. I've seen companies who have compilers less than a decade out of date or even updated annually! You can actually talk to people who aren't in safety critical areas about undefined behavior and formal verification without getting quizzical looks nowadays. It's shocking.
There is an ever increasing amount of networking in the embedded space. For example, in the past you might have connected several stepper motors to driver circuits on a single MPU and had a RTOS managing concurrent operations. Now you are more likely to have a dedicated MPU on the stepper motor, connected via CANbus and responding to commands to move to a specific position and respond when that position is reached or a time-out due to a jam, overload, etc. Zero position detection is also more likely to be a sub-function of that stepper motor "module".