News for hackers. Stuff that matters.
Re:Ask HN: After Charles Petzold's Code and Nand2Tetris, Wha... by johndoe0815 on Thursday November 30, 2023 @03:50PM (#38478864)
If you want to continue learning about computer architecture, I would recommend David Harris' and Sarah Harris' book "Digital Design and Computer Architecture", available in MIPS, ARM and RISC V editions.

https://pages.hmc.edu/harris/ddca/

An interesting second book that makes the connection to the software side is Bryant/O'Hallaron "Computer Systems: A Programmer's Perspective"

https://csapp.cs.cmu.edu

...and, more on the theory side, both books by Hennessy and Patterson ("Computer Architecture: The Hardware/Software Interface" and "Computer Architecture: A Quantitative Approach").

On the OS implementation side, I still like Comer's "Operating System Design: The Xinu Approach" quite a lot. While this book is quite old, I learned OS design from Comer (and am still teaching this at university level 30 years later...).

https://xinu.cs.purdue.edu

A good complement would be Cox/Kaashoek/Morris "xv6: a simple, Unix-like teaching operating system" (free download)

https://pdos.csail.mit.edu/6.S081/2020/xv6/book-riscv-rev1.p...

A useful addition on OS theory is Remzi and Andrea Arpaci-Dusseau's "Operating Systems: Three Easy Pieces" (also free)

https://pages.cs.wisc.edu/~remzi/OSTEP/

If you want to dig into programming languages, I would recommend Cooper/Torczon "Engineering a Compiler" (unfortunately published by Elsevier) and "Crafting Interpreters" by Nystrom (free)

https://shop.elsevier.com/books/engineering-a-compiler/coope...

https://craftinginterpreters.com

Finally, if you're interested in virtualization (system and bytecode level), I can recommend Smith/Nair "Virtual Machines"

https://www.sciencedirect.com/book/9781558609105/virtual-mac...

I use many of these books in my courses and recommend them to my students - so far, they seem to like the books:

(My OS course at NTNU) https://multicores.org/tdt4186_22/

(My Compiler Construction course at NTNU) https://multicores.org/tdt4205_21/

I hope this helps a bit. Learning all of this will be quite a challenge but also bring a lot of fun! :)

Re:Ask HN: After Charles Petzold's Code and Nand2Tetris, Wha... by gautamsomani on Thursday November 30, 2023 @04:20PM (#38479299)
Wow. This is a treasure of books and topics. Thanks a lot for this. Will definitely explore all of them.