frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Accidentally Turing-Complete

https://beza1e1.tuxen.de/articles/accidentally_turing_complete.html
25•bschne•1y ago

Comments

panstromek•1y 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•1y 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•1y 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_•1y 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_•1y 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•1y 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•1y 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

Owners who spend more time close to their cats tend to have more positive moods

https://www.eurekalert.org/news-releases/1148065
1•gmays•5m ago•0 comments

Show HN: Visual heat map of AI news updated hourly

https://ai-news.jagular.io
1•jnaina•10m ago•0 comments

I put my cell number on my startup's homepage

1•civitasinnovare•13m ago•0 comments

Superintelligence Strategy (2025)

https://www.nationalsecurity.ai
1•reasonableklout•17m ago•1 comments

Americans Are Spending More Money to Drive Worse Cars

https://www.theatlantic.com/technology/2026/10/americans-not-buying-electric-cars/689071/
5•fortran77•18m ago•1 comments

Apple's OS release and how it impacts Identity Graphs

https://cunderwood.dev/2026/10/20/apples-os-release-and-how-it-impacts-identity-graphs/
1•abtestdev•23m ago•0 comments

Why do some data grids show blank rows during scrolling?

https://comparegrids.com/articles/article-why-grids-show-blank-rows
1•davidvela•29m ago•0 comments

Show HN: TMPlayer, a TV player for the videos in your own Telegram chats

https://github.com/dracu-lah/TMPlayer
1•nevilkrishnak•30m ago•0 comments

Advancing Fault-Tolerant Quantum Computing with GPU-Accelerated Simulation

https://nvidia.github.io/cuda-quantum/blogs/blog/2026/10/19/jupiter-magic-state-simulation/
1•wondersky•31m ago•0 comments

FaderBuddy – Plug-and-play motorized faders for ESPHome and more

https://github.com/scottbez1/FaderBuddy
1•foltik•33m ago•0 comments

U.S. Political Money Funnels to Indian Bots to Lure Voters

https://www.nytimes.com/2026/10/19/business/michigan-primary-disinformation-campaign.html
3•grandpajoey•34m ago•0 comments

Token-based API guard Auth Bypass

https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6
1•Spqa•34m ago•0 comments

Show HN: Vramkit – measuring LLM weight and KV-cache compression on a MacBook

https://github.com/SRKRZ23/vramkit
1•sardor_r1•35m ago•0 comments

Show HN: Death Plan Switch, a self-hosted dead man's switch for solo devs

https://deathplanswitch.com/
2•romeo19361•36m ago•0 comments

How to Rebuild Yourself, Inch by Inch

https://mrjakyl.substack.com/p/how-to-rebuild-yourself-inch-by-inch
1•yarapavan•36m ago•0 comments

Russian Satellite Makes a Menacing Approach to Another Craft in Orbit

https://www.nytimes.com/2026/10/19/science/russia-satellite-kosmos-2612.html
2•reaperducer•37m ago•0 comments

Europe has lots of pleasant cities but too few that matter

https://economist.com/europe/2026/10/15/europe-has-lots-of-pleasant-cities-but-too-few-that-matter
3•andsoitis•43m ago•0 comments

Rising Stars Need a Witness

https://www.indiethinkers.com/essays/the-cosigns-you-dont-ask-for
1•danielkhunter•43m ago•0 comments

Parallel Language Models via Variational Decoding

https://arxiv.org/abs/2610.26693
1•E-Reverance•43m ago•0 comments

No More Icons in Every Menu by Default

https://blog.jim-nielsen.com/2026/icons-in-every-menu/
2•riffraff•46m ago•0 comments

Terence Tao and Yu Deng: Why We Build Open Math Model

https://www.youtube.com/watch?v=TjeCcDkuyao
5•doppp•48m ago•0 comments

Telehack

https://telehack.com/
1•jljljl•49m ago•0 comments

The Permanent Voice Vault

https://satire.worldbibliotech.com/
1•book-collective•50m ago•0 comments

Clang Bytecode interpreter update 2026

https://developers.redhat.com/articles/2026/10/19/clang-bytecode-interpreter-update-2026
1•tbaeder•52m ago•0 comments

Inside Prometheus: Meta's Journey to a Gigawatt-Scale Supercluster

https://engineering.fb.com/2026/10/19/data-center-engineering/inside-prometheus-meta-gigawatt-sca...
2•jonbaer•53m ago•0 comments

Managing projects with GNU Make, 3.xth Edition

https://wanderinghorse.net/computing/make/
2•seeg•54m ago•0 comments

SKY‑001 ] the First Engineering World Model

https://skyfall.ai/sky-001
1•doener•54m ago•0 comments

Mastodon 5.0: A Closer Look

https://blog.joinmastodon.org/2026/10/5.0-a-closer-look/
3•riffraff•56m ago•0 comments

ThinkPad I9990303 Error Catch-22

http://www.os2museum.com/wp/thinkpad-i9990303-error-catch-22/
3•userbinator•57m ago•0 comments

IBM Anderon Quantum Foundry Automates Qubit Fabs

https://spectrum.ieee.org/anderon-quantum-fab
2•gmays•58m ago•0 comments