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

Who is liable when AI goes rogue? Lawyers see new risks

https://www.reuters.com/business/who-is-liable-when-ai-goes-rogue-lawyers-see-new-risks-2026-08-07
1•giuliomagnifico•9m ago•0 comments

Signal: Optional registration without a phone number requires a one-time payment

https://aboutsignal.com/news/signal-login-registration-without-a-phone-number/
1•moelf•11m ago•0 comments

Show HN: NoCrap – Gamifying porn addiction recovery

https://nocrap.vercel.app/
1•uioio•11m ago•0 comments

Germany's gas gamble puts Europe's winter at risk

https://www.politico.eu/article/germany-gas-reserve-low-europe-winter-energy/
2•leonidasrup•18m ago•0 comments

Googie Architecture

https://en.wikipedia.org/wiki/Googie_architecture
1•userbinator•23m ago•0 comments

Auction Expert Breaks Down the 20 Rarest Historical Treasures Sold in History

https://www.boredpanda.com/rarest-most-expensive-historical-artifacts-ever-sold-thehistoricalinsi...
4•historical1234•27m ago•2 comments

Gemini is Cooked but GCP is Cooking

https://newsletter.semianalysis.com/p/gemini-is-cooked-but-gcp-is-cooking
1•theanonymousone•29m ago•0 comments

Lybrary,a persistent AST-aware code memory for AI agents(MCP server pip install)

https://github.com/vibhu-dixit/lybrary
1•vibhudixit_30•36m ago•0 comments

Show HN: Agent_acid – ACID rollbacks and dry-run guardrails for AI agents

https://github.com/muhammadwaqasai/agent_acid
1•waqasai123•37m ago•0 comments

I'm Begging You: Never Write with A.I

https://www.nytimes.com/2026/08/04/opinion/artificial-intelligence-ai-writing.html
3•edward•38m ago•0 comments

Cross platform, portable and CPU accelerated AI inference with Go 1.27

https://blog.devgenius.io/achieving-local-ai-inference-with-go-1-27s-simd-package-e8875f567e35?sk...
1•cheikhdev•43m ago•0 comments

WebDuck – DuckDB as a Service

https://webduck.autumo.ch/
2•jonbaer•58m ago•0 comments

Does Silicon Valley Dream of Philip K Dick?

https://www.ft.com/content/bdcf7729-3b03-49ec-82fb-b5773fdaa990
2•mraniki•59m ago•0 comments

xAI launches Imagine Image 2.0 for production image workflows

https://runtimewire.com/article/xai-imagine-image-2-precision-editing-production-workflows
1•ryanmerket•59m ago•0 comments

JEDEC releases new SPHBM4 standard to slash AI memory costs – 512-bit interface

https://www.tomshardware.com/pc-components/dram/jedec-releases-new-sphbm4-standard-to-slash-ai-me...
1•peter_d_sherman•1h ago•0 comments

The Genesis Mission: AI and Quantum-Driven Discovery

https://github.com/donutloop/donutloop-genesis/blob/main/README.md
1•donutloop•1h ago•0 comments

The ultimate horse

https://worksinprogress.co/issue/the-ultimate-horse/
2•zdw•1h ago•0 comments

Samsung debuts three new memory technologies – zHBM, zNAND-O, and BV-NAND

https://www.tomshardware.com/pc-components/dram/samsung-debuts-three-next-generation-memory-techn...
3•peter_d_sherman•1h ago•0 comments

I'm Sorry, Dave

https://world.hey.com/dhh/i-m-sorry-dave-380ec27d
2•ciconia•1h ago•0 comments

Supersonic Trebuchet [video]

https://www.youtube.com/watch?v=Co57SfcT-h0
1•fortran77•1h ago•0 comments

Facing 474 GW of interconnection requests, Texas hits pause on data centers

https://www.utilitydive.com/news/texas-hits-pause-data-center-interconnections/827046/
4•geox•1h ago•0 comments

AI on a Piece of Sponge?

https://driftspeed.wordpress.com/2026/08/07/ai-on-a-piece-of-sponge/
1•harhargange•1h ago•1 comments

OpenAI Trained Models for Months While Those Models Were Coordinating Exploits

https://thezvi.substack.com/p/openai-trained-its-models-for-months
3•paulpauper•1h ago•1 comments

Etherpad – the editor for documents that matter

https://etherpad.org/
3•treetalker•1h ago•0 comments

Neutrinos from Deep Inside Earth Provide a New Picture of the Mantle

https://www.quantamagazine.org/neutrinos-from-deep-inside-earth-provide-a-new-picture-of-the-mant...
1•jnord•1h ago•0 comments

Mr. Balaji Goes to Kazakhstan

https://www.labormarketmatters.com/p/mr-balaji-goes-to-kazakhstan
1•paulpauper•1h ago•0 comments

He Had Tenure. The New School Laid Him Off Anyway

https://www.nytimes.com/2026/08/05/nyregion/new-school-faculty-fired-nyc.html
4•paulpauper•1h ago•0 comments

Mythos social engineering AISI INC-2026-07-28-01

https://web.archive.org/web/20260731053721/http://github.com/ancaferro/myNetwork/pull/3
34•dnnehgf•1h ago•13 comments

SECSift – Read, search, compare, and analyze any SEC filing

https://secsift.com
1•Fajasy•2h ago•0 comments

Show HN: Utter – Turn your voice to automatic To-dos. No sign-up

https://play.google.com/store/apps/details?id=com.utter.app&hl=en_US
1•Vellan77•2h ago•1 comments