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

How to Demolish a Bridge [video]

https://www.youtube.com/watch?v=7oi4yMr8Rjk
1•mhb•5m ago•0 comments

Ten Years of Just (and Lists)

1•rodarmor•5m ago•0 comments

Seattle Underground

https://en.wikipedia.org/wiki/Seattle_Underground
1•axelfontaine•8m ago•0 comments

AMD Pulls Memory Encryption from Ryzen CPUs

https://www.technology.org/2026/06/16/amd-strips-memory-encryption-consumer-ryzen-cpus/
2•KAMSPioneer•9m ago•0 comments

Update: Acabei de abrir O SDK no GitHub → github.com/mathhMadureira/orka

1•matteusmadu•10m ago•0 comments

The Battle with Anthropic Is the Start of a New Kind of Conflict

https://www.nytimes.com/2026/06/16/opinion/anthropic-fable-ai-trump-administration.html
1•furcyd•13m ago•0 comments

I built a fail-closed execution gate for AI agents

https://kronyqldemo.netlify.app/demo/ase-proof
1•Auditome•14m ago•0 comments

Total Iran Economic Damage Estimate

https://www.fdd.org/analysis/2026/04/23/total-iran-economic-damage-estimate/
1•littlexsparkee•16m ago•0 comments

Qode – The first AI agent that can generate 50k line codebases in one prompt

https://github.com/akshaylakkur/Q
1•akshayl284•17m ago•1 comments

Silicon Motion exec: Retail SSD market has almost disappeared

https://www.tomshardware.com/pc-components/ssds/the-retail-ssd-market-has-almost-disappeared-says...
6•Lihh27•21m ago•0 comments

Guardrails for Reuse in AI from ClimateSOS Foundational Charter

1•safiume•22m ago•0 comments

An Interview with Eugene Jarvis of Robotron, Defender and Stargate Fame

https://www.gamedeveloper.com/production/eugeneology-an-interview-with-eugene-jarvis
1•evo_9•24m ago•0 comments

VibeThinker-3B achieves 80.2 on LCBv6

https://twitter.com/WeiboLLM/status/2066870851841274249
3•moondistance•26m ago•1 comments

Mathup

https://mathup.xyz/
1•runarberg•26m ago•0 comments

GLM-5.2: Frontier Intelligence, Open Weights

https://twitter.com/Zai_org/status/2066938937344495629
5•zixuanlimit•27m ago•0 comments

Hacking group claims major hack of Novo Nordisk and attempted $25M extortion

https://www.reuters.com/legal/government/hacking-group-claims-major-hack-novo-nordisk-attempted-2...
3•nnmg•27m ago•0 comments

Anthropic "pauses" token-based billing for its Claude Agent SDK

https://arstechnica.com/ai/2026/06/anthropic-pauses-token-based-billing-for-its-claude-agent-sdk/
3•cdrnsf•28m ago•0 comments

The Context Moat

https://richard.dulude.vc/fieldnotes/the-context-moats
1•AnhTho_FR•29m ago•0 comments

5 Stages of a Domain Expiration

https://medium.com/@thesuperrepemail/the-5-stages-of-a-domain-expiration-e1653544c605
1•mssblogs•29m ago•0 comments

What is the most intense way to learn something?: On giving talks

https://chillphysicsenjoyer.substack.com/p/what-is-the-most-intense-way-to-learn
2•crescit_eundo•31m ago•0 comments

Hiring Founding Engineer Roles

https://www.flynavi.com/careers
1•flyingforreal•31m ago•1 comments

When Content Costs Nothing

https://steelmill.substack.com/p/when-content-costs-nothing
1•AzariaK•32m ago•0 comments

Linux 7.1 is here to end the Intel 486 era – and do some serious legacy clean up

https://www.zdnet.com/article/say-goodbye-to-486-processors-linux-7-1-lands/
4•CrankyBear•32m ago•0 comments

Trump administration won't allow G7 member countries to regain access to Fable

https://twitter.com/AndrewCurran_/status/2066925774498910592
2•Filligree•33m ago•0 comments

Nixpkgs Cooldowns

https://determinate.systems/blog/nixpkgs-cooldown/
2•nicksergeant•35m ago•0 comments

From abandoned gaming PC to 14 minute K8s cluster provisioning

https://www.droppedasbaby.com/posts/hl1/
1•offbyone42•36m ago•0 comments

Fable 5 back? 44 delivery channels carrier pigeon included- RFC 2549,3–5 day SLA

https://isfable5available.com/
1•bArmageddon•37m ago•1 comments

Asked Fable to Make the Backrooms

https://backrooms.mom/
2•bxclltkfz•39m ago•0 comments

Is It Possible to Block Childrens' Access to Social Media? [video]

https://www.youtube.com/watch?v=2jJeSgO_MGo
3•Erikun•39m ago•0 comments

GitHub Models is no longer available to new customers

https://github.blog/changelog/2026-06-16-github-models-is-no-longer-available-to-new-customers/
2•herrkanin•40m ago•0 comments