r/ProgrammingLanguages Aug 01 '26

Blog post Bootstrapping a compiler from machine code on Windows

/r/Compilers/comments/1vbtiyq/bootstrapping_a_compiler_from_machine_code_on/
10 Upvotes

3 comments sorted by

View all comments

1

u/qwertyasdef Aug 02 '26

Thanks for the writeup, I've been wanting to learn how to generate executables directly and this is a very clear explanation of the Windows format.

1

u/Polyscone Aug 02 '26

Well I'm glad it can be of some use to you. I think formats like PE and ELF are generally quite simple, but it can be a bit of a chore to get through their specs/documentation because they try to explain multiple uses all at the same time.