logoalt Hacker News

silvajoao • yesterday at 6:14 PM • 1 reply • view on HN

Crafting Interpreters by Bob Nystrom:

https://www.craftinginterpreters.com/

I loved working through that book and building an interpreter for a language that is very similar to Javascript, both in Java first and then a bytecode VM in C.

I also quite liked Three.js Journey, and also Handmade Hero by Casey Muratori.

To learn low-level OpenGL, I think https://webglfundamentals.org/ by Gregg Tavares was the best resource I've ever found. It explains how OpenGL works really well, and how it builds up to 3D. This is great if you'd like to try building your own Three.js.

All of the above were huge inspirations to me, to build my own book / course; I've been building a web browser from scratch in C, with no libraries and no AI, aiming to browse HN and Wikipedia :-) It's actually approaching a good-enough state for release, and I've started talking about it publicly at this month's "What are you working on" thread:

https://news.ycombinator.com/item?id=50424134

I don't think it will be a course anymore, given the advent of coding agents, but I'll try putting together a guide from printf("hello world") until it renders HN :-)


Replies

eliasbagley • yesterday at 10:15 PM

Anyone willing to provide thoughts on why this is still worthwhile to dig into and learn?

In the past this resource would have been really exciting for me to dig into and learn from, but now I feel it's cheapened by AI models being able to do everything better than I ever will.

Idk just a bit depressed at the loss of skill identity, and looking for thoughts on how others have overcome this or a healthier perspective for me to take.

➕ show 1 reply