News for hackers. Stuff that matters.
Re:Crafting Interpreters with Rust: On Garbage Collection by munificent on Wednesday July 31, 2024 @09:46PM (#41125454)
I get tripped up by variance too and thinking about that stuff is literally my job. If it helps, I wrote a blog post recently about Go's type system and it happens to touch in variance in a way that might help it click:

https://journal.stuffwithstuff.com/2023/10/19/does-go-have-s...

Re:Crafting Interpreters with Rust: On Garbage Collection by spinningslate on Thursday August 01, 2024 @04:07AM (#41127105)
The very first sentence of that article got me excited:

>I’ve been noodling on a static type system for my current hobby language.

As an inveterate language tinkerer for decades, Crafting Interpreters is like the intersection of Class A narcotic addiction, Feynman level understanding and religious enlightenment. It's in my top 3 favourite books of all time.

If you were to /happen/ to write an extension/follow up book that addressed static typing, then I can personally guarantee at least one sale.

Independent of that, thanks for the work as it stands. My copy is healthily dog-eared and still gets lugged around on holidays for refresh reading.

Re:Crafting Interpreters with Rust: On Garbage Collection by ltungv on Thursday August 01, 2024 @04:53AM (#41127271)
Thanks for sharing. I've enjoyed every single piece of your writing so far. This will be in the arsenal of materials I'll use when I again get confused about variance.