How to Get Into Game Engine Dev?

A mate pinged me recently because a student friend of theirs had a specific question: how do you actually get into game engine development? Not just games programming in general, but proper engine work. It's a brilliant question and one I don't get asked often enough, probably because most people assume you need some sort of dark magic ritual involving assembly code and linear algebra. TLDR: