I spent the summer at Recurse Center, a programming retreat in Brooklyn, at the recommendation of my friend Cory. These are some things I did there.

130 points•bingden•3 days ago•43 comments•

43 comments

rtpg3 days ago
> This included what was probably the most interesting part, writing the tricky recursive code to implement the match statement.

Back in school I found this book[0], "The Implementation of Functional Programming Languages". Flipping through it was very neat because it kinda demystified the nuts and bolts of implementing the "fancier" functional programming features for me.

Chapter 5 is about implementing pattern matching.

You read this kind of stuff and realize how easy things become when you just tackle a problem with the right mindset and abstractions. And this is a book from 1987! We've always had decent answers for a lot of the stuff.

I think it's interesting to flip through if you're a language implementer, though helps to be comfortable with reading some stuff sideways and not understanding every detail.

[0] https://simon.peytonjones.org/assets/pdfs/slpj-book-1987-sea...

fifticon3 days ago
It is even worse, we had decent answers for some of the stuff back in the 40s, 50s and 60s (e.g. Dijkstra's work on concurrency, before there even were computers to run them on.) Someone will reply to my comment with Lovelace or Babbage or Pascal :-/
rtpg2 days ago
Not super aware of what Djikstra's work on concurrency you're referring to are. I've had to try to implement things from CS research papers directly and have always had a _bit_ of trouble (disclaimer: I'm dumb), and appreciate this book getting down to the implementation details in a bit of a fool-proof way.

Of course this book is a bunch of "research papers" stapled together in some sense but the act of curating is quite nice

jdelman3 days ago
Reading this conjured some feelings in me. At various points in my career, I’ve wanted to take a sabbatical and go to RC. Having spent the last year in the agentic coding world, the idea of writing code by hand seems quaint and outdated. Many have spoken of this feeling of loss so I’m not saying anything new here, but for some reason reading about RC in 2026 specifically cemented the idea that I’ll probably never write anything by hand again.
gwern3 days ago
> The goal of the game is to give hints to a secret word without giving the same hint as another player; it was shocking how often all the agents playing would give the same hint, even at temperature 1. We resolved this by giving them all “personalities” which were really just topics; for example we’d be telling one agent to think about things in the context of sports, so their clue for “shell” might be “defense” or something, whereas the agent told to be a hippie might say “cancer” for the zodiac’s crab.

Mode-collapse is characteristic of pretty much all chatbots post-davinci-002 and a major challenge to anything creative or game-like.

jan_m_savage3 days ago
This is what school should have been like. Instead, we got factory-style non-thinker exam-taker pencil-pushing excel-cruncher-wannabes.
eclectric3 days ago
Always wanted to do this. Anyone attend from India remotely?
captn3m03 days ago
I did during the pandemic. Drop me a message if you wanna chat.

Read the full thread on Hacker News →

Related stories