Good videos, with context.
William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC]

William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC]

PapersWeLove
11 HN recommenders · discussed 2017–2026
Open YouTube ↗

About this video

William Byrd presents at Papers We Love NYC on what he calls the most beautiful program ever written, a Lisp interpreter written in Lisp. He walks through the metacircular interpreter and related ideas, and demos relational programming and program synthesis near the end.

Why it appears in the archive

HN repeatedly recommends it as an amazing talk that derives the essence of Lisp and shows miniKanren-style program synthesis.

AI-generated summary and labels from the source dataset; verify important details against the video. Source & credits.

From the Hacker News discussion

labria · 2019-10 · strong rec

(define eval-expr (lambda (expr env) (pmatch expr [`,x (guard (symbol? x)) (env x)] [`(lambda (,x) ,body) (lambda (arg) (eval-expr body (lambda (y) (if (eq? x y) arg (env y)))))] [`(,rator ,rand) ((eval-expr rator env) (eval-expr rand env))]))) There's an amazing talk about it: [VIDEO]

Read original comment ↗
BoiledCabbage · 2020-04 · strong rec

If you haven't watched it - check out William Byrd on "The Most Beautiful Program Ever Written" [VIDEO] It's the above and deriving it. It is fascinating to think of it as the essence of a language in 13 lines.

Read original comment ↗
uptheroots · 2021-06 · strong rec

One of my all time favorite YouTube videos is a lecture by William Byrd. I find myself still coming back to this video, it was so fascinating to me as an undergrad. [VIDEO]

Read original comment ↗
hazbo · 2021-08 · strong rec

I can't recommend the talk Dr Byrd did on this enough: [VIDEO] It's one of my favorite programs to play around with. I wrote about an Erlang implementation of this a short while back: [LINK]

Read original comment ↗
geogriffin · 2017-10 · rec

William Byrd's work in program synthesis is an interesting take on this, where an IDE can, guided by test cases written for a function, actually auto-complete code itself whilst writing the function, or tell the programmer when they have something wrong by violating a test case. Of course it is impractical right now, but a good step nonetheless.. It (Barliman) is demoed near the end of this video: [VIDEO]

Read original comment ↗
carapace · 2018-02 · rec

Well, I think lisper nailed it in the article: It's not just that the code is represented as data structured in linked-lists, it's that that data exposes the semantic structure of the code in ways that are more pragmatically useful (among other nice properties) than char strings. When you get into the LISP interpreter itself, which is just a linked-list structure describing how to process linked-list structures (like itself) as code, well... Here's William Byrd on "The Most Beautiful Program Ever Written" (ye LISP interpreter) [VIDEO]

Read original comment ↗
eindiran · 2019-04 · rec

If you're interested in the work that led to this, definitely check out Kenichi Asai's reflective languages. The code for his Black language with reflective semantics is reproduced here: [0] More tangential but also cool: this talk[1] by William Byrd mentions reflective towers, but jumps into a discussion of what he terms "relational programming". It's a demo of his Barliman Smart editor system: [2] [0] [LINK] [1] [VIDEO] [2] [LINK]

Read original comment ↗
m463 · 2019-06 · rec

I watched a fascinating presentation and when I saw the speaker typing (lambda ...) and having it change to (λ ...) and not having to deal with parens.. I was jealous. Does emacs do this? EDIT: the presentation: William Byrd on "The Most Beautiful Program Ever Written" [VIDEO]

Read original comment ↗