| ▲ | Z80 Sans – a disassembler in a font (2024)(github.com) | |||||||||||||||||||
| 94 points by pabs3 4 days ago | 12 comments | ||||||||||||||||||||
| ▲ | Averave 9 hours ago | parent | next [-] | |||||||||||||||||||
You can do a lot of crazy things with fonts. Just off the top of my head: Tetris Font - https://news.ycombinator.com/item?id=40737294 A font which is also an LLM - https://news.ycombinator.com/item?id=40766791 And in the same vein: Tetris in a PDF - https://news.ycombinator.com/item?id=42645218 Doom in a PDF - https://news.ycombinator.com/item?id=42678754 | ||||||||||||||||||||
| ||||||||||||||||||||
| ▲ | billforsternz 6 hours ago | parent | prev | next [-] | |||||||||||||||||||
I thought my Z80 project (https://github.com/billforsternz/retro-sargon) was close to the whimsical end of the practical to just for fun spectrum but this takes things to a whole new level, kudos. | ||||||||||||||||||||
| ▲ | ilaksh 9 hours ago | parent | prev | next [-] | |||||||||||||||||||
I guess it would be cheating, but he actually could have just written it in Rust, since OpenType can execute web assembly. People have abused that to embed things like Tetris and even an LLM inside of fonts. What he did was more impressive in a way. | ||||||||||||||||||||
| ||||||||||||||||||||
| ▲ | tgv 9 hours ago | parent | prev | next [-] | |||||||||||||||||||
This made me smile. What an astonishing combination. The oddball application of a font as a disassembler works like a wonderful practical joke to me. Merging parsing, processing and rendering into a single step feels mad genius. | ||||||||||||||||||||
| ▲ | notglossy 9 hours ago | parent | prev | next [-] | |||||||||||||||||||
Man... I'm lucky if the fonts I'm using even have tabular figures as alternates. This is on a whole other level. | ||||||||||||||||||||
| ▲ | userbinator 9 hours ago | parent | prev | next [-] | |||||||||||||||||||
Not too surprising given that a font maps bytes into glyphs, and an instruction set maps them to instructions. I suspect a 6502 or 8051 version would be much simpler. | ||||||||||||||||||||
| ||||||||||||||||||||
| ▲ | iberator 7 hours ago | parent | prev [-] | |||||||||||||||||||
Ha ha this is the best thing I have seen today in hacker news! So clever and funny | ||||||||||||||||||||