Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Subjunctive
Sep 12, 2006

✨sparkle and shine✨

resurrecting the thread to contribute a great book/site for learning a ton about how interpreters are built: https://craftinginterpreters.com/

(a lot of the pieces apply to compilers as well, obviously)

Adbot
ADBOT LOVES YOU

Subjunctive
Sep 12, 2006

✨sparkle and shine✨

I actually get to work on a compiler again for the first time in like a decade, and I also get to work on an interpreter! Everything is coming up Subjunctive!

(Compiler is the winch compiler for wasmtime, which I’m doing a bit of work on mostly to learn ARM assembly, and the interpreter is CRuby where I’m going to try to bring in some performance tricks from other engines I’ve worked on.)

When I worked on a JIT in ~2009, there were samizdat copies of a “new compiler book” draft floating around, seen as the successor to Muchnick. It was being worked on out of Berkeley, IIRC, but I don’t remember the authors’ names. Anyone know what I’m talking about, and if it ever got published?

Subjunctive fucked around with this message at 15:48 on Feb 18, 2024

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply