TypeScript types can run DOOM
Michigan TypeScript1 HN recommender · recommended in 1 month, 2025-2025
485K views · 1 year ago · demo · evergreen
The Michigan TypeScript group shows the Doom engine running entirely inside the TypeScript type system. It is open source, and two follow-up videos cover why and how they did it.
HN commenters link it as a delightful example of how far TypeScript types can be pushed, since they are Turing complete.
13:45A 10x faster TypeScript
Microsoft Developer
608K views • 1 year ago
1:01:31TypeScript is being ported to Go | interview with Anders Hejlsberg
Michigan TypeScript
102K views • 1 year ago
43:14Anders Hejlsberg and Lars Bak: TypeScript, JavaScript, and Dart
DartlangTV
14K views • 13 years ago
2:07:18Demo: Base language, compile-time execution
Jonathan Blow
164K views • 12 years ago
9:30Jonathan Blow on scripting languages
Jeru Sanders
185K views • 7 years ago
45:05Servo Architecture: Safety and Performance
linux conf au 2017 - Hobart, Australia
12K views • 9 years ago
1:29:49Going Native 2012 Keynote Stroustrup
savage309
33K views • 14 years ago
48:46Rust's Journey to Async/Await
InfoQ
90K views • 6 years ago
1:00:29Google I/O 2012 - Meet the Go Team
Google for Developers
108K views • 14 years ago
13:48The Joy of Programming in Jai - Part 1: Hello World
Nuno Afonso
36K views • 6 years ago
1:55:24Ideas about a new programming language for games.
Jonathan Blow
530K views • 12 years ago
1:21:23Interfacing D To Legacy C++ Code
NWCPP - Northwest C++ Users Group
5K views • 11 years ago
55:08Rust: A Language for the Next 40 Years - Carol Nichols
ChariotSolutions
367K views • 7 years ago
18:50Creating a Doom-style 3D engine in C
Bisqwit
991K views • 11 years ago
1:13:00Jonathan Blow - Jai Demo and Design Explanation (KEYNOTE) - Updated
LambdaConf
241K views • 1 year ago
1:03:48JavaScript: The Good Parts
Google TechTalks
589K views • 17 years ago
2:48TI DOOM
TPMFofMFF
199K views • 18 years ago
1:02:49Reboot Develop 2017 - Jonathan Blow, Thekla Inc. / Making Game Programming Less Terrible
Reboot Develop
112K views • 9 years ago
1:07:00Sydney Golang Meetup - Rob Pike - Go 2 Draft Specifications
Macquarie Group
57K views • 7 years ago
54:31Does APL Need a Type System? by Aaron W Hsu at #FnConf18
ConfEngine
6K views • 7 years ago
3 comments from Hacker News
Typescript types (and Idris) are Turing complete. You can actually get typescript types to run doom. ▶ this video Idris on the other hand is SPECIFICALLY designed so types and the program live in the same language. See the documentation intro: link THe powerful thing about these languages is that they can prove your program correct. For testing you can never verify your program to be correct. Testing is a statistical sampling technique. To verify a program as correct via tests you have to test every possible input and output combination of your program, which is impractical. So instead people write tests for a subset of the possibilities which ONLY verifies the program as correct for that subset. Think about it. If you have a function: def add(x: int, y: int) -> int How would you verify this program is 100% correct? You have to test every possible combination of x, y and add(x, y). But instead you test like 3 or 4 possibilities in your unit tests and this helps with the overall safety of the program because of statistical sampling. If a small sample of the logic is correct, it says something about the entire population of the logic.. Types on the other hand prove your program correct. def add(x: int, y: int) -> int: return x + y If the above is type checked, your program is proven correct for ALL possible types. If those types are made more advanced via being programmable, then it becomes possible for type checking to prove your ENTIRE program correct. Imagine: def add<A: addabl
For those not familiar with this kind of computing challenges, I must link this wonderful video about TypeScript types running... DOOM. ▶ this video
I'd like to see if it makes a difference to the version of DOOM that runs in the TypeScript type system. link ▶ this video