Any course from https://pikuma.com/courses (personally I enjoyed the 3D renderer and the compilers courses).
Any book from Nils M Holm https://t3x.org/index.html#books (I enjoyed his Lisp and compilers books).
The Machine in the back of the book https://levships.com/books/the-machine-in-the-back-of-the-bo... was also a nice book (although maybe a bit too short) that guides you into building an 8 bits machine in your language of choice.
Big fan of Pikuma. The game engine course was a fun way for me to practice my C++ for an interview. That along with the computer graphics course helped me switch careers from ML to graphics programming