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•11mo ago

Comments

panstromek•11mo 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•11mo 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•11mo 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_•11mo 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_•11mo 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•11mo 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•11mo 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

A New Computer Chip Could Withstand the Hellscape of Venus

https://www.sciencealert.com/a-new-computer-chip-could-finally-withstand-the-hellscape-of-venus
1•y1n0•5m ago•0 comments

OpenPanel – Open-Source Web and Product Analytics

https://openpanel.dev/
1•radeeyate•6m ago•0 comments

Show HN: React-native-sightline – floating dev overlay for FPS/memory/re-render

https://github.com/Srikanth-AD/react-native-sightline
2•stackdirector•8m ago•0 comments

Meta spins up AI version of Mark Zuckerberg to engage with employees

https://arstechnica.com/ai/2026/04/meta-spins-up-ai-version-of-mark-zuckerberg-to-engage-with-emp...
1•cratermoon•10m ago•0 comments

AI Agent Stores – Making Shopee Products Findable by ChatGPT and Perplexity

https://www.bbiz.shop/blog
2•kenttuzuu•12m ago•0 comments

DaVinci Resolve releases Photo Editor

https://www.blackmagicdesign.com/products/davinciresolve/photo
1•thebiblelover7•12m ago•0 comments

108 Chrome Extensions Linked to Data Exfiltration and Session Theft via C2

https://socket.dev/blog/108-chrome-ext-linked-to-data-exfil-session-theft-shared-c2
2•jbegley•14m ago•0 comments

A Primer on Datacenters

https://www.generativevalue.com/p/a-primer-on-data-centers
1•sneakerblack•17m ago•0 comments

Agentic coding at enterprise scale demands spec-driven development

https://venturebeat.com/orchestration/agentic-coding-at-enterprise-scale-demands-spec-driven-deve...
1•y1n0•21m ago•0 comments

Automated Conjecture Resolution with Formal Verification

https://arxiv.org/abs/2604.03789
1•throwaway81523•27m ago•0 comments

Ente Hackathon #2

https://ente.com/blog/ente-hackathon-2026-april/
1•Cider9986•28m ago•0 comments

United CEO Has Pitched Possible Tie-Up with Rival American

https://www.bloomberg.com/news/articles/2026-04-13/united-ceo-has-pitched-possible-combination-wi...
2•mancerayder•28m ago•2 comments

World Quantum Day 2026

https://doodles.google/doodle/world-quantum-day-2026/
2•mxfh•29m ago•0 comments

Matrix-Game 3.0: Real-Time and Streaming Interactive World Model

https://matrix-game-v3.github.io/
1•pella•36m ago•0 comments

An Amazon warehouse worker died on the job at Oregon facility

https://techcrunch.com/2026/04/13/an-amazon-warehouse-worker-died-on-the-job-at-oregon-facility/
4•cebert•38m ago•1 comments

OpenAI acquires AI personal finance startup Hiro – financial agents next?

https://techcrunch.com/2026/04/13/openai-has-bought-ai-personal-finance-startup-hiro/
2•yesensm•42m ago•0 comments

MCP server for trading intelligence–gap scanner,SEC alerts,insider tracking

https://zivio-mcp-production.up.railway.app
1•doshinikunj•43m ago•0 comments

Wyden Urges House to Reject Handing Trump Unchecked Surveillance Authority

https://www.wyden.senate.gov/news/press-releases/wyden-urges-house-members-to-reject-handing-dona...
4•Cider9986•47m ago•0 comments

U.S. Says Wiretap Program Thwarted Attack on 2024 Taylor Swift Concert

https://www.nytimes.com/2026/04/09/us/politics/section-702-surveillance-fisa.html
2•Cider9986•47m ago•0 comments

Willingness to fail is now a superpower

https://nekolucifer.substack.com/p/willingness-to-fail-is-now-a-superpower
2•gurjeet•52m ago•0 comments

Citation Integrity

https://citationintegrity.org/
1•SanjayMehta•58m ago•0 comments

Forrest's $60M War on Facebook

https://www.afr.com/technology/dad-it-s-a-fraud-call-that-sparked-forrest-s-60m-war-on-facebook-2...
1•mianos•59m ago•3 comments

Just a Moment

https://blog.jdboyd.net/2026/04/just-a-moment/
1•linuxkernal•59m ago•0 comments

AI Home Architecture Startup Looking for Back End/ML Infra Engineer

1•AtmosXR•1h ago•2 comments

I built an AI CMO because I can't market

https://www.polara.ai/
2•foundermax•1h ago•2 comments

Keycard – inject API keys into subprocesses without polluting your shell

https://www.keycard.studio/
1•jijane•1h ago•0 comments

Slate Auto Raised $650M to Build a Truck with No Speakers, Color, or Apologies

https://www.siliconsnark.com/slate-auto-raised-650-million-to-build-a-truck-with-no-speakers-no-c...
2•SaaSasaurus•1h ago•0 comments

How CPUs run functions? [video]

https://www.youtube.com/watch?v=7YyALikxAlU
1•byte_0•1h ago•0 comments

The State of SBoM Generation for C/C++: 2026 Edition

https://www.interlynk.io/resources/the-state-of-sbom-generation-for-c-c-2026-edition
1•riteshnoronha16•1h ago•0 comments

Excitation–inhibition interactions mediate firefly flash synchronization

https://www.biorxiv.org/content/10.64898/2026.01.19.700439v1
1•PaulHoule•1h ago•0 comments