Compiling C to printable x86, to make an executable research paper
Channel:suckerpinch · Length:25:41 · Published:2017-03-31 · Views:480023
Summary
Tom7 explains how he built a SIGBOVIK 2017 paper made only of printable ASCII bytes that is also a valid DOS executable. He writes a C compiler targeting printable x86 without self-modifying code and solves the puzzles the constraint creates.
Why HN recommends it
HN fans call it a favorite engineering video and a showcase of Tom7's masterpiece-level, playful hacking.
His video about the printable x86[1] is my favorite engineering video of all time. — HN, 2019
Compilers, interpreters & program analysis · Security & hacking · Demoscene & retrocomputing
Subtitles (excerpt)
Hi, I'm Tom 7. Today I want to talk to you about a research paper, that is, at the same time, a computer program. What does that mean? Well, just because a file says, in its name, that it's an EXE, or executable program, doesn't mean that it necessarily is. It also doesn't mean that it isn't both an executable program and something else at the same time. Like, a text file, for example, containing an interesting research paper. Now, I didn't just find this research paper -- which is also a program -- I made it, for SIGBOVIK this year. So I want to talk about how I did that, because I think it's interesting. We're going to learn about compilers, we're going to learn about some bits, and some low-level assembly, and hopefully have some fun. Um, let's get started! (guitar music) Every file on the computer is just a bunch of bytes. And we'll talk more about bytes in a second because there's a particular thing about them that's important for this work. But I'm not going to belabor it, because first of all, I know there are a lot of people that already know everything about bytes. And then there are many people watching that don't live and breathe this stuff. Both will probably be bored by the details.
On Hacker News
Love Tom7, his video "Compiling C to printable x86, to make an executable research paper" [0] is my favorite but most of his stuff is super interesting. [0] [VIDEO] — omgmajk, 2023-10
The author is an absolute legend. Absolutely every video on his Youtube channel is a masterpiece [LINK] And this includes the video that explains this code (Compiling C to printable x86, to make an executable research paper) [VIDEO] — nextaccountic, 2023-07
Every one of this guy's SIGBOVIK papers/videos are pure gold. His video about the printable x86[1] is my favorite engineering video of all time. ^1: [VIDEO] — badrequest, 2019-11
He's a mad genius! I like his compiler that generates executables made up only of printable characters: [VIDEO] / [LINK] He's super playful and awesomely smart! — pronoiac, 2019-07
Mine are "Harder Drives"[1], "ELO World"[2], and "Printable x86"[3] [1] [LINK] [2] [LINK] [3] [VIDEO] — nick-of-time, 2023-07
Related videos
- Harder Drive: Hard drives we didn't want or need · suckerpinch · 36:46
- The more general uncertainty principle, regarding Fourier transforms · 3Blue1Brown · 18:06
- A new way to visualize General Relativity · ScienceClic English · 11:33
- Peter Singer - ordinary people are evil · Jeffrey Kaplan · 33:51
- Akira Kurosawa - Composing Movement · Every Frame a Painting · 8:24
- Dani DaOrtiz at Fool US 2022 (the act that Penn and Teller didn’t even try to figure out.) · dani daortiz · 10:29
- A Mind Is Born (256 bytes) · lftkryo · 2:22
- VidMe or Why Platforms Aren't Your Friends · Folding Ideas · 15:47
- How Differential Gear works (BEST Tutorial) · ConceptVBS · 9:30
- America Keeps Rejecting an ID Card It Already Has · CGP Grey · 7:15
- Origins of Precision · Machine Thinking · 30:32
- 30 Weird Chess Algorithms: Elo World · suckerpinch · 42:35
- The Continuity of Splines · Freya Holmér · 1:13:50
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45
- Lexical Scanning in Go - Rob Pike · GoogleFOSSSydney · 51:17
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05