NaN Gates and Flip FLOPS
Channel:suckerpinch · Length:19:07 · Published:2019-04-01 · Views:314841
Summary
Tom Murphy (suckerpinch) presents a deliberately trollish computer architecture built on IEEE-754 floating point, using NaN and infinity to define logic gates. He builds working hardware around the idea.
Why HN recommends it
HN fans hold it up as a favorite among his videos and an example of gloriously bonkers technical art, and cite it in floating-point discussions.
Suckerpinch barely ever releases a video, but when he does they are great. — HN, 2023
Computer architecture & CPUs · Satire & parody
Subtitles (excerpt)
like you I like to touch computers and I've concluded that they're pretty cool but if you look inside a computer you'll see that it's filled up with ones and zeros and I think that this is basically just a hack y1 y0 it's totally arbitrary we could have used anything so I think we can do better I think we can do best and consulting all of the ways to do things well we see mathematics like a candle in the dark calling to us and the foundation of all of mathematics is the real numbers which are given to us on computers via I Triple E 754 standard ie ie the floating-point numbers now the floating-point numbers are just like the real numbers except that they've been enhanced for computers so here in green we see all the positive numbers well not all of them you don't get all of the real numbers in fact you get almost none of the real numbers are represented well but we have several numbers that are positive and each of those also has a negative counterpart including for example negative zero now negative zero has some exciting properties like it's equal to zero which you might call positive zero that's kind of weird also if these other numbers like infinity which are not normally found in the real numbers infinity is what you get if you count really high
On Hacker News
Suckerpinch barely ever releases a video, but when he does they are great. NaN gates and FlipFlops are my favorite: [VIDEO] You can only get good at mathematics by doing, but if there is a channel that helps you get better at math passively it is probably Michael Penns': [LINK] — bakuninsbart, 2023-03
Here's my favorite video of his, where he reinvents computing from scratch while eschewing inelegant 1s and 0s for elegant floating-point values: [VIDEO] — kibwen, 2022-12
Seconded, thirded, and fourthed. My favorite is "NaN Gates and Flip FLOPS", where he dismisses 0 and 1 as being too ugly to be the foundation of all computation and reinvents computing via the beauty of rational numbers, which is to say, the horror of IEEE754 floating point (along with a working hardware implementation!): [VIDEO] — kibwen, 2021-04
And the operators +, -, *, and / lack some of the properties of addition, subtraction, multiplication, and division. Tom7 has a good video about this: [VIDEO] — MathMonkeyMan, 2025-06
Not sure how well it fits what you're looking for, but if you're not already aware of tom7/suckerpinch, you might get a kick out of some of his videos -- e.g. [VIDEO] — retsibsi, 2023-12
Related videos
- The Next Major RTS Will Fail. This Is Why. · GiantGrantGames · 25:09
- How We Made MuseScore 4 - Music App Design is Challenging! · Tantacrul · 46:33
- CheerpX: a WebAssembly-based x86 virtual machine in the browser, Yuri Iozzelli · WebAssembly NA · 37:10
- The Closest Thing We Have to Alien Technology · Veritasium · 55:00
- "Turning the database inside out with Apache Samza" by Martin Kleppmann · Strange Loop Conference · 47:42
- This Invention Made Disney MILLIONS, but Then They LOST It! · Corridor Crew · 12:25
- Building The World's First Computer - Greeks, Clocks and Rockets - Antikythera Mechanism Episode 1 · Clickspring · 6:52
- EPC2018 | Wave Function Collapse in Bad North | Oskar Stalberg · BUas Games · 37:41
- Music Software & Bad Interface Design: Avid’s Sibelius · Tantacrul · 21:35
- The LED's Challenge to High Pressure Sodium · Technology Connections · 21:39
- The Epic Of Gilgamesh In Sumerian · Peter Pringle · 3:55
- Mechanical Computer (All Parts) - Basic Mechanisms In Fire Control Computers · Excelsior10000 · 41:53
- SNES Code Injection -- Flappy Bird in SMW · SethBling · 6:31
- Mars Helicopter (before it went to Mars) · Veritasium · 16:00
- RAT POISON AND BRANDY: THE 1904 ST. LOUIS OLYMPIC MARATHON. · Jon Bois · 21:02
- Was Roman Concrete Better? · Practical Engineering · 9:34
- TRUE Limits Of Humanity – The Final Border We Will Never Cross · Kurzgesagt – In a Nutshell · 11:40
- Thinking outside the 10-dimensional box · 3Blue1Brown · 25:13
- 1,000km Cable to the Stars - The Skyhook · Kurzgesagt – In a Nutshell · 7:00
- 25c3: The Ultimate Commodore 64 Talk · Christiaan008 · 1:01:15