frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Accidentally Turing-Complete

https://beza1e1.tuxen.de/articles/accidentally_turing_complete.html
25•bschne•11mo ago

Comments

panstromek•11mo ago
Nice list. Some of those are arguably not accidental, TypeScript type system seems kinda obvious to be turing complete when it tries to describe dynamically typed langauage.
WalterGR•11mo ago
x86 MOV instruction: “The mov-only DOOM [game] renders approximately one frame every 7 hours, so playing this version requires somewhat increased patience.”
a_cardboard_box•11mo ago
Rule 110 is only Turing-Complete if you have an infinitely large array of cells, and are able to initialize it with an infinite repeating pattern. If I'm not mistaken, HTML+CSS can only do a fixed-sized array.

With a Turing-Complete language, if a program runs out of memory on one machine, you can run the same code on a bigger machine without modifying it, and it can use the additional memory. With fixed-length rule 110, you need to modify the code if you want to use more memory.

256_•10mo ago
This is addressed in the second paragraph of TFA:

"Stuff which is somehow limited (stack overflows, arbitrary configuration, etc) is still considered Turing complete, since all "physical" Turing machines are resource limited."

In my opinion, worrying about infinite memory, in regards to Turing completeness, makes the task of implementing computation much less interesting.

Also, I'm pretty sure CSS only does one generation (or a finite number of them) before stopping anyway.

256_•10mo ago
Logic in Doom is particularly interesting to me. Apparently you can fit ~64k logic gates in a map (using the method described). From [1]:

"As the DOOM engine was not designed to be an interpreter, there are some constraints on our programs written against it. The biggest one is how large our programs can be. Since each gate uses at least one tag, we can use this as a metric to derive an upper-bound on the size of a program. As the DOOM engine uses 16-bit tags, this means we can have, at most, 65535 gates. This is not a particularly large number. We may be able to implement a very small CPU but this limit will be hit pretty quickly I believe."

The z80 had ~8,500 transistors. The 8086 had ~29,000 (checking Wikipedia). You could get far fewer if you use a 1-bit microarchitecture, I'm sure. I think there was a DEC (PDP?) computer that used that trick to have a really low transistor count, but I don't remember what it was called.

The real problem is RAM; for this you may as well cheat and modify Doom's code to add a RAM chip, and I/O while you're at it.

You could create a CPU in Doom implementing an architecture for which a C compiler exists, capable of compiling Doom, and run it in the CPU in Doom. For "reasonable" speed you'd have to do more than one simulation step per frame render (in the host Doom). If you ran it for long enough maybe you could get a full frame of Doom in Doom.

[1]: https://calabi-yau.space/blog/doom.html

karmakaze•10mo ago
Doom running in TypeScript static type checker[0].

> half trillion lines of types totaling 177 terabytes ran through the type checker around the clock for 12 days to get the first frame

[0] https://news.ycombinator.com/item?id=43184291

karmakaze•10mo ago
My favorite one is Conway's Game of Life. It's perhaps the least surprising one, but it's also the most visually appealing. Really like this video that leads up to making the Game of Life in itself[0]. It's something you can show a non-technical person and they can get a sense of how crazy it is that something so simple can do anything.

[0] https://www.youtube.com/watch?v=Kk2MH9O4pXY

Wait It Out

https://bell.bz/wait-it-out/
1•siddhant•1m ago•0 comments

Project Babylon: Gerald Bull's Downfall (2006)

https://www.damninteresting.com/project-babylon-gerald-bulls-downfall/
1•bookofjoe•1m ago•0 comments

Postgres Traffic Control

https://planetscale.com/blog/introducing-database-traffic-control
2•samlambert•1m ago•0 comments

Show HN: I built a tool for vibe-coding multiplayer games, polls, quizzes

https://ficus.io/
1•molefrog•1m ago•0 comments

Amazon plans smartphone comeback more than a decade after Fire Phone flop

https://www.reuters.com/technology/amazon-plans-smartphone-comeback-more-than-decade-after-fire-p...
1•samaysharma•2m ago•0 comments

Hating on AI Writing

https://tiramisu.bearblog.dev/hating-ai-writing/
1•speckx•2m ago•0 comments

21,864 Yugoslavian .yu Domains

https://jacobfilipp.com/yu/
1•speckx•2m ago•0 comments

BlackRock CEO Larry Fink's letter: "Growing with your country"

https://www.axios.com/2026/03/23/blackrock-ceo-larry-finks-letter-growing-with-your-country
1•toomuchtodo•4m ago•1 comments

Air Canada plane collided with a firefighting vehicle at LaGuardia Airport

https://www.bbc.co.uk/news/live/c620w12y59nt
1•fridek•4m ago•0 comments

Aluminium

https://notoneoffbritishisms.com/2026/03/23/aluminium/
2•jjgreen•5m ago•0 comments

Using local LLM and Ghidra to analyze malware (Part 2)

https://discounttimu.substack.com/p/using-local-llm-and-ghidra-to-analyze
1•guardiangod•5m ago•1 comments

Fighting and distributing flakes in CI with LLMs

https://coder.com/blog/in-a-blink-automating-the-worst-part-of-ci-maintenance
1•dontforceit•6m ago•1 comments

Cyber.mil serving file downloads using TLS certificate which expired 3 days ago

https://www.cyber.mil/stigs/downloads
2•Eduard•8m ago•0 comments

Sam Altman-backed fusion startup Helion in talks with OpenAI

https://techcrunch.com/2026/03/23/sam-altman-backed-fusion-startup-helion-in-talks-with-openai/
2•bezbac•9m ago•0 comments

TikTok Star Khaby Lame Sells His Core Company in Deal Worth $975M

https://www.forbes.com/sites/martinadilicosa/2026/01/27/tiktok-star-khaby-lame-sells-his-core-com...
2•consumer451•11m ago•1 comments

Transference in the Afternoon

https://granta.com/transference-in-the-afternoon/
2•jbegley•11m ago•0 comments

William Burrough's Doing Easy

https://www.tumblr.com/mogadonia/44274156/doing-easy-an-essay-by-william-s-burroughs
1•OhMeadhbh•12m ago•0 comments

Chat Archiver save to PC AI chats – with ChatGPT/others (PyQt5, open source)

https://gitlab.com/LucLab1/chat-archiver
1•Techcen•12m ago•0 comments

Show HN: Urlx – an agent-made Rust replacement for curl/libcurl

https://github.com/jonwiggins/urlx
1•jawiggins•13m ago•0 comments

What is the best agentic AI today?

https://blog.alcazarsec.com/tech/posts/openclaw-vs-nemoclaw
2•alcazar•13m ago•0 comments

Could our universe exist because black holes ate up all the antimatter?

https://www.space.com/astronomy/black-holes/could-our-universe-exist-because-black-holes-ate-up-a...
2•Brajeshwar•13m ago•0 comments

Why your next mobile app is probably headless

https://tuananh.net/2026/03/18/why-your-next-mobile-app-is-probably-headless/
1•vinhnx•15m ago•0 comments

Doom entirely from DNS records

https://github.com/resumex/doom-over-dns
1•Venn1•15m ago•0 comments

I put the MacBook Neo through the same tests as I did the MacBook Air M1

https://www.techradar.com/computing/macbooks/i-put-the-macbook-neo-through-the-same-tests-as-i-di...
1•tosh•15m ago•1 comments

Help me improving this benchmark for vector engines

https://github.com/M4iKZ/Vector-Arena
1•M4iKZ•16m ago•0 comments

AI Chief of Staff

https://github.com/mimurchison/claude-chief-of-staff
1•Rafsark•16m ago•0 comments

An Incoherent Rust

https://www.boxyuwu.blog/posts/an-incoherent-rust/
2•emschwartz•19m ago•0 comments

Pocket agents – dev agents that can be operated through phone

2•HarshGupta07•20m ago•0 comments

Spin Up Postgres in a Second: How We Built Serverless PG

https://deeplake.ai/blog/serverless-pg
1•davidbuniat•21m ago•0 comments

This picture broke my brain [3B1B video]

https://www.youtube.com/watch?v=ldxFjLJ3rVY
2•jgwil2•22m ago•0 comments