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

Comments

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

Show HN: Surprise Guardian – privacy for couples on shared laptops

https://chromewebstore.google.com/detail/surprise-guardian-privacy/fmefpopmejbhbkafilpboiiielffibbd
1•NabilChiheb•2m ago•0 comments

Emergency UX Audit: When Body Failure Meets the System's Infinite Loop

https://suggger.substack.com/p/emergency-ux-audit-when-body-failure
1•Suggger•2m ago•0 comments

Library Liberation-Competitive Performance Through Compiler-Composed Nanokernels

https://arxiv.org/abs/2511.13764
1•matt_d•3m ago•0 comments

The iOS Weekly Brief – Issue #42

https://vladkhambir.substack.com/p/the-ios-weekly-brief-issue-42
2•khambir•4m ago•0 comments

Claude Code Daily Degradation Tracker

https://marginlab.ai/trackers/claude-code/
3•qwesr123•4m ago•0 comments

Official Earthbound 64 Cancellation Interview (2013)

https://yomuka.wordpress.com/2013/08/18/earthbound-64-cancellation-interview-itoi-miyamoto-iwata/
1•realslimjd•4m ago•0 comments

Modeling uncertainty: A blueprint for the next 24 years of iconographic research

https://resonism.substack.com/p/uncertainty-is-invaluable
1•jkoester•6m ago•0 comments

To Keep Water Liquid, the Red Planet Needed to Freeze

https://www.universetoday.com/articles/to-keep-water-liquid-the-red-planet-needed-to-freeze
1•rbanffy•6m ago•0 comments

America's new dietary guidelines ignore decades of scientific research

https://www.technologyreview.com/2026/01/08/1130905/americas-diet-guidelines-ignore-scientific-re...
2•rbanffy•7m ago•1 comments

Apple-TSMC: The Partnership That Built Modern Semiconductors

https://newsletter.semianalysis.com/p/apple-tsmc-the-partnership-that-built
1•rbanffy•8m ago•0 comments

Finland's electricity consumption hits all-time high (15.6 GW)

https://yle.fi/a/74-20203123
1•iljah•8m ago•1 comments

Recommended RSS Readers

https://www.coryd.dev/posts/2025/recommended-rss-readers
1•cdrnsf•9m ago•0 comments

Show HN: PromptStash – Save and Reuse AI Prompts Across ChatGPT, Claude, Gemini

https://chromewebstore.google.com/detail/promptstash-ai-prompt-man/ocgkponbnolpgobllplcamfobolbjbcj
1•ktg0215•10m ago•1 comments

Cisco switches hit by reboot loops due to DNS client bug

https://www.bleepingcomputer.com/news/security/cisco-switches-hit-by-reboot-loops-due-to-dns-clie...
3•TechTechTech•10m ago•0 comments

How Dangerous Is It to Work for ICE?

https://www.motherjones.com/politics/2025/10/ice-deaths-assaults-administration-masks-covid19-sho...
1•mooreds•11m ago•0 comments

Show HN: Magrittr-like pipe syntax for Python

https://github.com/smacke/pipescript
1•smacke•11m ago•0 comments

Ask HN: "Too many people in HN work in Google or Apple–that itself is immoral."

3•bookofjoe•11m ago•0 comments

A Review of CrowdStrike Acquiring SGNL

https://radar.thecyberhut.com/p/a-review-of-crowdstrike-acquiring
1•mooreds•11m ago•0 comments

"They Saw a Protest": Cognitive Illiberalism and the Speech-Conduct Distinction [pdf]

https://www.stanfordlawreview.org/wp-content/uploads/sites/3/2012/05/Kahan-64-Stan-L-Rev-851.pdf
1•pcaharrier•11m ago•0 comments

Joel David Hamkins declares AI Models useless for solving math. Here's why

https://economictimes.indiatimes.com/news/new-updates/basically-zero-garbage-renowned-mathematici...
1•madihaa•12m ago•0 comments

Debugging CSS Values

https://docs.google.com/document/u/0/d/1zyKdPREtKT8OU4WtlHV_Wxet3SvyUtAXrTdFLPmYmdU/mobilebasic
1•erhuve•12m ago•0 comments

Anti-government protests in Tehran and other Iranian cities, videos show

https://www.bbc.com/news/articles/cg7y0579lp8o
1•mooreds•14m ago•0 comments

AI Agents Are Revolutionizing Open Source Software

https://oneuptime.com/blog/post/2026-01-09-how-ai-helps-open-source-succeed/view
2•ndhandala•14m ago•0 comments

Awesome: Logical Programming Language

https://github.com/matan-h/Awesome-lang
2•matan-h•14m ago•0 comments

What Happens When Governments Can't Tax Productivity Anymore?

https://m4ttl4w.substack.com/p/the-second-bounce-of-the-ball-part
2•mattyboomboom•15m ago•1 comments

The Dead Salmons of AI Interpretability

https://arxiv.org/abs/2512.18792
2•Anon84•15m ago•0 comments

Illinois man charged with hacking Snapchat accounts to steal nude photos

https://www.bleepingcomputer.com/news/security/illinois-man-charged-with-hacking-snapchat-account...
2•fleahunter•17m ago•0 comments

How do you manage quality when AI write code faster than humans can review it?

2•lostsoul8282•17m ago•0 comments

Ask HN: Where do you go to find support when you have blockers in your projects?

2•julienreszka•18m ago•0 comments

Operational Historian

https://en.wikipedia.org/wiki/Operational_historian
1•tosh•22m ago•0 comments