5 ms·
Do you have any book recommendations for those topics?
by whatamidoingyo 3y ago
Do you have any book recommendations for those topics?
- hiyer 3y agoCrafting interpreters [1] is one such, where the author walks you through writing an interpreter for a toy language. The book uses Kotlin IIRC, but you can write the interpreter in any language of your choice. 1. https://craftinginterpreters.com/ https://craftinginterpreters.com/
- Jtsummers 3y agoIt uses Java and C. Strictly speaking there's no reason you have to use either language, you can also use the design in the language of your choice (assuming sufficiently matching semantics, like C# or Kotlin instead of Java for Part 1, or a willingness to put in more legwork if you go further afield).
- hectormalot 3y agoThere is a similar crafting an interpreter[1] and compiler[2] pair of books for Go. I've heard good things about it, didn't work through it myself though: 1. https://interpreterbook.com https://interpreterbook.com 2. https://compilerbook.com https://compilerbook.com
- Derbasti 3y agoMan, that book was so good! What a tremendous achievement in clarity and insight. I loved it!
- __mp 3y ago"Computer Systems: A Programmer's Perspective" is a great introductory systems textbook on everything going on in a computer. For more advanced C/C++ developers I can recommend "The Linux Programming Interface" - (https://man7.org/tlpi/ https://man7.org/tlpi/). It is a GREAT compendium for writing code against the POSIX API. I have a (legal) copy of this book on all the computers I have access to. "The Database Redbook" - (http://www.redbook.io http://www.redbook.io) is a valuable source on database implementations. "Compilers: Principles, Techniques, and Tools" (Dragon Book) is a great starting point. The book is out of print and but I think it should still hold up for most basic use-cases.
- blueblueue 3y agoI really enjoyed http://www.emulator101.com/ http://www.emulator101.com/. It is a hands on tutorial on how to write an emulator for an Intel 8080 CPU that can run the original Space Invaders. The code examples are in C, but you can find implementations in other languages on GitHub as well.
- 3pm 3y agoThis is a really good fundamentals resource: https://teachyourselfcs.com/ https://teachyourselfcs.com/ They list books and videos.
- NukedOne 3y agoBuilding git https://shop.jcoglan.com/building-git/ https://shop.jcoglan.com/building-git/ Build a blockchain from scratch in go https://web3coach.gumroad.com/l/build-a-blockchain-from-scratch-in-go https://web3coach.gumroad.com/l/build-a-blockchain-from-scra... Compiling to assembly from scratch https://keleshev.com/compiling-to-assembly-from-scratch/ https://keleshev.com/compiling-to-assembly-from-scratch/ If anyone knows of similar books, don't hesitate to comment below.