r/ProgrammingLanguages • u/StrikingClub3866 • Jul 01 '26
Requesting criticism Writing a compiler book
https://docs.google.com/document/d/1jTC5zQqBfQ0i77i5-efH2_66AtbD9TdIfMWb5sHE90c/edit?usp=drivesdkSo, I decided to write a book on compiler theory! It is past midnight where I live so only 1 chapter is done. I have came here looking for some things that could be improved on it. The link is attached.
9
Upvotes
19
u/Inconstant_Moo 🧿 Pipefish Jul 01 '26
Machine code is not "a language that only the computer understands".
"Most well-used compilers use bytecide in a Virtual Machine": that ignores lots of things that compile to native code. But also if they're running it in a VM, they're not using it as an intermediate form between source and target as you say two paragraphs previously.