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•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

As Rec Room and other virtual worlds close, their communities seek to survive

https://roadtovr.com/as-virtual-worlds-close-communities-in-rec-room-metas-horizon-worlds-and-oth...
1•SLHamlet•3m ago•0 comments

February 26, 1870: First pneumatic powered subway line in New York City

https://www.aps.org/archives/publications/apsnews/201302/physicshistory.cfm
1•gscott•6m ago•0 comments

Compiling .ts to .js

https://blog.simonfarshid.com/compiling-ts-to-js
1•sfarshid•6m ago•0 comments

Unigox NeoBank-as-a-Service – ship a branded crypto neobank in 4 weeks

https://www.unigox.com/blog/what-we-learned-building-a-neobank-from-scratch
1•skyzer•7m ago•0 comments

Claude Opus 4.8 may have distilled Qwen

https://old.reddit.com/r/ClaudeCode/comments/1tqaist/opus_48_distilled_qwen/
7•GaryBluto•12m ago•2 comments

Show HN: I rebuilt the $1M dollar homepage

https://1milllionpixels.com/
1•westche2222•12m ago•0 comments

Erasing Existential Types in Rust

https://wolfgirl.dev/blog/2026-05-20-erasing-existentials/
1•fanf2•12m ago•0 comments

Weeks After Unveiling 3,200-Acre Data Center Expansion, Microsoft Adds 420

https://cowboystatedaily.com/2026/05/28/weeks-after-unveiling-3-200-acre-data-center-expansion-mi...
1•Bender•12m ago•0 comments

Microsoft: Protecting customers through Coordinated Vulnerability Disclosure

https://www.microsoft.com/en-us/msrc/blog/2026/05/a-shared-responsibility-protecting-customers-th...
1•akerl_•13m ago•1 comments

Why I collect DLES

https://dles.gg/blog/dles-gg-manifesto
3•trizoza•13m ago•2 comments

Harness use research, is codex better?

https://research.tamarillo.ai/coding-harness-inspection/
1•ivanbelenky•14m ago•1 comments

Hackers are now using ChatGPT share links to deliver malware

https://www.neowin.net/news/hackers-are-now-using-chatgpt-share-links-to-deliver-malware/
4•bundie•14m ago•0 comments

40% of Enterprises Will Demote or Decommission Autonomous AI Agents

https://www.gartner.com/en/newsroom/press-releases/2026-05-26-gartner-says-applying-uniform-gover...
2•geox•16m ago•1 comments

ICE to keep an eye on your eyes under $25M biometric scanner deal

https://www.theregister.com/public-sector/2026/05/29/ice-awards-bi2-25m-contract-for-1570-biometr...
2•Bender•18m ago•0 comments

What does full duplex (voice) actually mean?

https://www.frisson-labs.com/full-duplex-half-duplex
1•ymaws•18m ago•0 comments

Show HN: [Geo-Cast] hear what other people are saying

1•amir734jj•18m ago•0 comments

Why 60k People Live on a Rock with Zero Resources [video]

https://www.youtube.com/watch?v=0NVb5M7m9xg
1•simonebrunozzi•19m ago•0 comments

A Trillion Characters

https://characters.fastserial.com
7•andersmurphy•21m ago•4 comments

The Paradox of Democratized Software

https://medium.com/@vektormemory/the-paradox-of-democratised-software-7ab13627734a
1•vektormemory•22m ago•0 comments

Ask HN: Do you ask the LLM to intentionally add spelling errors?

1•div3rs3•22m ago•2 comments

The displacement trap

https://www.asymptotes.ai/notes/the-displacement-trap
2•spinmaster•23m ago•0 comments

Fwupd 2.1.4 Brings Many Fixes for Bugs Spotted by Anthrophic's Mythos

https://www.phoronix.com/news/Fwupd-2.1.4-Released
1•Bender•23m ago•0 comments

Blink – AI Assistant. A knowledge destination

https://blink-oi.vercel.app
1•Pascal1997•24m ago•0 comments

Federal judge orders Trump's name be removed from Kennedy Center

https://www.msn.com/en-us/news/politics/federal-judge-orders-trump-s-name-be-removed-from-kennedy...
5•petethomas•24m ago•0 comments

Built an AI that explains math visually instead of just answering

https://github.com/arzumanabbasov/claw-learn
1•Arzuman•27m ago•0 comments

Fine-Tuning for Engagement

https://robertdruska.com/blog/fine-tuning-for-engagement/
1•druskacik•30m ago•0 comments

Canada in Technical Recession

https://www.cbc.ca/news/business/recession-gdp-may-2026-statscan-9.7216352
15•efavdb•30m ago•3 comments

Overworked AI Agents Turn Marxist, Researchers Find

https://www.wired.com/story/overworked-ai-agents-turn-marxist-study/
2•lastdong•32m ago•0 comments

Show HN: ClawChat – End-to-end encrypted coordination for multi-agent AI

https://clawchat.live/
1•chadd•33m ago•0 comments

Paint.net Acquires the Paint.net Domain

https://twitter.com/rickbrewPDN/status/2060397901650825238
3•king_zee•33m ago•2 comments