Crafting Interpreters: A Review
chidiwilliams.com
Crafting Interpreters: A Review
1–10 of 155 posts
Re: Crafting Interpreters: A Review
#2This is really useful in setting expectations.
Re: Crafting Interpreters: A Review
#3Re: Crafting Interpreters: A Review
#4Re: Crafting Interpreters: A Review
#5I've been wanting to read this book, but I'm not sure how I should go about it. Are you supposed to read and type out the code examples? I'm just wondering if I will learn anything that way?
Re: Crafting Interpreters: A Review
#6The author says it took about 6 months to thoroughly go through the book and examples. This is really useful in setting expectations.
I'm following teachyourselfcs.com[2], so I'm hoping to solidify the concepts the book intro'd by reimplementing the bytecode interpeter in Rust (rlox) and following Alex Aiken's lectures online. OP appears to have reimplemented Lox in Golang (glox) for reinforcement.
So far the time has been well spent. Compilers are now much more 'just another program', and I have new conceptual tools for tackling software engineering problems.
1. https://github.com/thundergolfer/uni/tree/main/books/craftin...
Re: Crafting Interpreters: A Review
#7I've been wanting to read this book, but I'm not sure how I should go about it. Are you supposed to read and type out the code examples? I'm just wondering if I will learn anything that way?
Yes, I read and typed out all the code snippets by hand and it worked really well.
Re: Crafting Interpreters: A Review
#8I've been wanting to read this book, but I'm not sure how I should go about it. Are you supposed to read and type out the code examples? I'm just wondering if I will learn anything that way?
Re: Crafting Interpreters: A Review
#9The author says it took about 6 months to thoroughly go through the book and examples. This is really useful in setting expectations.
I got through all chapters in around 1.5 months, spending 50-60 hours[1]. I'd do solid 4-5 hour blocks on Saturdays and Sundays when I was most into it. I'm following teachyourselfcs.com[2], so I'm hoping to solidify the concepts the book intro'd by reimplementing the bytecode interpeter in Rust (rlox) and following Alex Aiken's lectures online. OP appears to have reimplemented Lox in Golang (glox) for reinforcement.…
Re: Crafting Interpreters: A Review
#10I've been wanting to read this book, but I'm not sure how I should go about it. Are you supposed to read and type out the code examples? I'm just wondering if I will learn anything that way?
I used the book by translating the code into my favorite programming languages and heavily played around with different approaches, which is way more time consuming but I don't think it is necessary at all.
I think if you are already a seasoned programmer you might find it even useful to just read the book and the code without doing much of coding at all. Given that you are good at understanding code without executing it.