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

Comments

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

Peter Thiel knows about the Antihchrist

1•zerosizedweasle•1m ago•0 comments

Charting market dynamics in India's underground ticket resale WhatsApp groups

https://aftereod.substack.com/p/stress-fractures-indias-concert-boom
1•huwsername•2m ago•0 comments

Claimcheck: Narrowing the Gap Between Proof and Intent

https://midspiral.com/blog/claimcheck-narrowing-the-gap-between-proof-and-intent/
1•todsacerdoti•4m ago•0 comments

Show HN: Instrumental Model from Scratch (With Demo)

https://instr.io/?view=model
1•day6•6m ago•0 comments

Tell HN: Ramadan Mubarak

1•Sayyidalijufri•8m ago•0 comments

Personal Agents with David Singleton and Hugo Barra [video]

https://www.youtube.com/watch?v=1tK_x_vxGWs
1•jairojair•9m ago•0 comments

Microsoft tests Researcher and Analyst agents in Copilot

https://www.testingcatalog.com/microsoft-tests-researcher-and-analyst-agents-in-copilot-tasks/
1•gmays•10m ago•0 comments

Show HN: Agent Audit Kit v0.1 – deterministic replay + stress for LLM agents

https://github.com/helpfuldolphin/AgentAuditKit/releases/tag/aak-v0.1.0-e3
1•helpfuldolphin•12m ago•0 comments

Honey bees navigate more precisely than previously thought

https://uni-freiburg.de/en/honey-bees-navigate-more-precisely-than-previously-thought/
3•geox•18m ago•0 comments

FBI, St. Paul police probing ICE arrest that resulted in skull fractures

https://apnews.com/article/immigration-enforcement-minneapolis-hospital-ice-beating-assault-eb305...
4•petethomas•19m ago•0 comments

Lessons learned from `oapi-codegen`'s time in the GitHub Secure Open Source Fund

https://www.jvt.me/posts/2026/02/17/oapi-codegen-github-secure/
1•zdw•25m ago•0 comments

"Observability Engineering": a book so nice, we wrote it twice

https://substack.com/home/post/p-186798752
3•donutshop•26m ago•0 comments

Claude Is Okay

2•zerosizedweasle•28m ago•0 comments

Which Future?

https://michaelnotebook.com/whichfuture/
1•yurivish•30m ago•0 comments

Tell HN: Attackers using Google parental controls to prevent account recovery

5•TazeTSchnitzel•31m ago•0 comments

A No-Name Director to Everyone but His 38M Fans

https://www.theatlantic.com/culture/2026/02/iron-lung-markiplier-youtuber-movie-review/686020/
2•zdw•31m ago•0 comments

Out of the blue: A look back at Air Force One's classic design (2018)

https://www.raymondloewy.com/out-of-the-blue-a-look-back-at-air-force-ones-classic-design/
1•hank808•33m ago•1 comments

Show HN: DevDay – End-of-day recap for AI coding sessions

https://github.com/ujjwaljainnn/devday
1•ujjwaljainnn•33m ago•0 comments

Show HN: AIBenchy – Independent AI Leaderboard

https://aibenchy.com
1•XCSme•35m ago•1 comments

Taste for Makers

https://paulgraham.com/taste.html
3•avonmach•36m ago•1 comments

Thin Is In

https://stratechery.com/2026/thin-is-in/
1•maguay•37m ago•0 comments

Other money making uses for the DGX Spark?

1•JerichoJones•39m ago•1 comments

A Guide to Which AI to Use in the Agentic Era

https://www.oneusefulthing.org/p/a-guide-to-which-ai-to-use-in-the
2•Hyeonjong•39m ago•0 comments

Hive – LangGraph for Swift, but built on BSP supersteps

https://github.com/christopherkarani/Hive
1•ckarani•40m ago•1 comments

Show HN: Start an Apple Container in Seconds

https://github.com/beachdevs/container
1•dpweb•42m ago•0 comments

Browser-based Whisper transcription using WebGPU and adaptive model selection

https://cowslator.space/
1•brunochavesj•43m ago•1 comments

Tidal Heating of Io

https://en.wikipedia.org/wiki/Tidal_heating_of_Io
3•thunderbong•43m ago•0 comments

Show HN: Conduit: One Swift interface for every AI provider, on-device and cloud

https://github.com/christopherkarani/Conduit
1•ckarani•45m ago•0 comments

Visualizing how cancer drugs reshape proteins linked to lung cancer

https://phys.org/news/2026-01-visualizing-cancer-drugs-reshape-proteins.html
3•PaulHoule•46m ago•0 comments

Show HN: How I built Timeframe, our family e-paper dashboard

https://hawksley.org/2026/02/17/timeframe.html
2•hawksley•46m ago•0 comments