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

ArXiv has almost 600 submissions today and most are AI slop

https://arxiv.org/list/math/new
1•marysminefnuf•3m ago•0 comments

Show HN: Eatheria – Self-hosted AppSec platform with AI false-positive filtering

https://github.com/MartinCrespoC/Security-Team---Workspace-
1•ikharoz•6m ago•0 comments

Show HN: OpenRouter for Sandboxes – Get sandboxes from any provider in seconds

https://reachpad.dev/router
2•sakuraiben•8m ago•0 comments

I Went on an AI Show. It Made Me Feel Better About Human News

https://www.upstartsmedia.com/p/the-good-bad-ugly-of-24-hour-ai-news
1•thm•8m ago•0 comments

Why Migrants Tend to Make the Countries They Move to Like the Ones They Left

https://twitter.com/williameijer/status/2094531862245069246
2•MrBuddyCasino•17m ago•0 comments

GEIPAN – French government UFO investigations

https://www.cnes-geipan.fr/en/missions-methodes-et-resultats
2•andsoitis•18m ago•0 comments

The single biggest change I made to the Jock compiler between Alpha and RC

https://twitter.com/sigilante/status/2094559940778348682
1•MrBuddyCasino•18m ago•0 comments

Program Learning with Verifiable Rewards: Symbolic Backpropagation

https://arxiv.org/abs/2608.28421
1•sbulaev•20m ago•0 comments

OpenAI story as anti-hero heist story?

https://uphack.io/blog/post/the-hugging-face-incident-is-not-an-ai-story/
1•dickiedyce•21m ago•0 comments

LogRange C++ log-domain accumulators and a scanner for underflowing sums

https://github.com/iouel/logrange
1•cheIs•26m ago•0 comments

Joining AMI to Work on World Models

https://www.lihaoyi.com/post/JoiningAMItoworkonWorldModels.html
1•lihaoyi•29m ago•0 comments

Show HN: Serendipity – rediscover the web one interesting page at a time

https://serendipity.surf/
2•RaCaS123•34m ago•0 comments

Lionel Messi announces retirement from Argentina's national team

https://www.washingtonpost.com/sports/2026/08/31/soccer-great-lionel-messi-announces-retirement-a...
3•MehrdadKhnzd•36m ago•0 comments

The Ur Project - Notes on building a new Linux distribution

https://ur.foo-projects.org/
2•9front•39m ago•0 comments

Show HN: Seatlr – We rebuilt our traveler chat into an AI-powered travel network

https://www.seatlr.com/
2•alihadi965•41m ago•0 comments

Paint.NET Adds Experimental Wine/Linux Support

https://forums.paint.net/topic/134563-%F0%9F%8D%B7-extremely-experimental-winelinux-support-how-t...
5•tech234a•44m ago•0 comments

Show HN: I Built the AI command center that runs all local models in one place

https://generativeide.com/
2•rohangnaneshjh•45m ago•0 comments

Intelligence Without Brains [video]

https://aeon.co/videos/why-we-should-think-of-intelligence-in-terms-of-goals-not-brains
2•the-mitr•45m ago•0 comments

Ask HN: Why are the high rep people on HN so stupid?

5•LowIqHn•46m ago•3 comments

io_uring without readahead

https://frn.sh/io-uring/
3•theanonymousone•55m ago•0 comments

Yiddish's 'revival' points to its resilience as a portable homeland

https://theconversation.com/yiddishs-revival-points-to-its-resilience-as-a-portable-homeland-and-...
3•theanonymousone•58m ago•0 comments

Power Users in 2026

https://nullish.smol.pub/power-users-in-2026
2•meetpateltech•59m ago•0 comments

I Built a Bullet Journal Habit Tracker Tool After Realizing How Much Time Spend

https://www.indiehackers.com/post/i-built-a-bullet-journal-habit-tracker-tool-after-realizing-how...
2•ahmadhussain89•1h ago•0 comments

Restroom Archive

https://restroomarchive.com
10•jcalx•1h ago•1 comments

CISA confirms hackers targeted over 100 US water systems during July

https://techcrunch.com/2026/08/26/cisa-confirms-hackers-targeted-over-100-us-water-systems-during...
4•deepmem•1h ago•0 comments

Two Alleged 'TeamPCP' Hackers Arrested in Australia

https://krebsonsecurity.com/2026/08/two-alleged-teampcp-hackers-arrested-in-australia/
2•e12e•1h ago•0 comments

GPU World

https://www.gpuworld.org/
2•simonpure•1h ago•0 comments

Sliding-window beats linear attention

https://arxiv.org/abs/2608.28444
2•simonpure•1h ago•0 comments

Running a personal AI agent on an old Android phone instead of a server

https://medium.com/@fsaint/the-best-home-for-your-agent-is-in-your-junk-drawer-3afe0b0976e8
2•fsaint•1h ago•0 comments

OpenTS is a new open-source reconstruction of Command and Conquer: Tiberian Sun

https://www.gamingonlinux.com/2026/08/opents-is-a-new-open-source-reconstruction-of-command-conqu...
6•geoffbp•1h ago•0 comments