Does someone know similar series on other subjects than raytracing? I know there is the Advent of Code, but that's more like solving a puzzle.
They are surprisingly alike. Mine takes you through two complete implementations of the same language: first as a tree-walk interpreter and then as a bytecode compiler. His first book does the former and his second book does the latter.
Both are written in an informal friendly style and focus on working code. If you like one, you'll probably like the latter.
Mine uses Java for the first language and C for the second. Thorsten's books use Go for both. I think mine has more background information, theory, and historical context. His will get you to a working interpreter with less prose to wade through.
I think it's mostly a question of style and preference. I'd dip into the first chapter of each and see which resonates with you.
https://www.amazon.de/Crafting-Interpreters-Paperback-BOB/dp...
https://www.amazon.de/Crafting-Interpreters-Tracy-Shep/dp/B0...
https://www.amazon.de/Crafting-Interpreters-Steven-Billups/d...
Have you already tried getting Amazon to remove them and failed?
Unsurprisingly my family asked what I wanted for Christmas and I put both your book and Thorstens on my list to reread .
I have been curious. Why the choice of java as introductory level?
Maybe I’ve been lucky to choose my own tools over the years. But I still get hung up on this. It’s just that Java is so longform.
I’m not sure I ever really wrote a sort in it, without cheating. Besides showing off that I could, I probably installed groovy or later scala, mostly.
So heh. I had a pleasant headfake in “Crafting Interpreters” when it was revealed that the JVM machinery wasn’t going to get anyone the full distance.
Java just feels backwards, as the low-level code is simpler and smaller. Why is Java still seen as more accessible than [anything else]?
Is OOPs curriculum still that prevalent?
Or. Pointers? Pointers took me a long time, even after I got them. Is it pointers?
"Build your own X" - "This repository is a compilation of well-written, step-by-step guides for re-creating our favorite technologies from scratch." [0]
[0]: https://gamephysicsweekend.github.io/
[1]: https://matthias-research.github.io/pages/tenMinutePhysics/
I built an educational KV store to teach someone to write a database from scratch. I have set up this project in TDD fashion with the tests. So, you start with simple functions, pass the tests, and the difficulty level goes up. There are hints if you get stuck. When all the tests pass, you would have written a persistent key-value store in the end.
It's about 2D programmatic raster graphics.
https://www.pearson.com/us/higher-education/series/Sams-Teac...