HN Hall of Fame Weekly email

Rust's Type System Is Turing-Complete: Type-Level Programming in Rust

sdleffler.github.io Essays & writing Essays & articles Computer science Candidate
Screenshot of sdleffler.github.io captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 3 calendar years, with breakout response in 2 of them.

submissions
4
submitters
4
observed span
2017–2021
peak thread · 117 comments
280 pts
latest 20+ return · 2021-03-13
114 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

Hey I'm the person who raised the question (and I work on Rust, mainly on the trait system discussed in this post). I agree with the author that while this is interesting, for users it doesn't matter much. In particular, the folks (with respect) pontificating about whether this is a good or bad thing are quite exagerating its consequences. In practice, you can neither conveniently use this property for metaprogramming, nor will you ever get a nonterminal typechecking (not only…

The article is fascinating and I love fun stuff like this, but the discussion is a bit off the rails. There are a lot of things that are accidentally Turing complete. Turing complete is not synonymous with complicated and unwieldy to use. I mean, okay, maybe if you are doing the stuff that the author is doing it is complicated and unwieldy - in fact to the point that you would never do it in the first place. But Turing…

c3534l·114-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
396

reference only — not used in Hall rules or ranking

Total comments
204

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2017-03-11Rust's Type System Is Turing-Complete: Type-Level Programming in RustFirst breakout · Best threadsleffy280117
2020-08-10Rust's Type System Is Turing-Completethesephist10
2021-03-09Rust's Type System Is Turing-Complete (2017)ibraheemdev10
2021-03-13Rust's type system is Turing-complete (2017)Latest 20+ point returnlukastyrychtr11487