What do you mean exactly by "compilers"? Because the book features a chapter on how to compile source code to virtual machine byte code.
Simple machine code generation with basic register allocation and evaluation which eagerly spills to the stack is not super hard. Producing fast code instead is a bottomless well.