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

Comments

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

If an AI tutor that adapts to your learning style

https://tutoraimvp.netlify.app/index.html
1•Avia_Studio•31s ago•0 comments

1: 59:30: Sabastian Sawe Shatters the 2-Hour Barrier at 2026 London Marathon

https://www.letsrun.com/news/2026/04/15930-sabastian-sawe-shatters-the-2-hour-barrier-at-2026-lon...
1•nradov•38s ago•0 comments

Remembering the 1984 Unix PC. Why did it fail so hard?

https://tech.slashdot.org/story/26/04/26/2038235/remembering-the-1984-unix-pc-why-did-it-fail-so-...
1•MilnerRoute•1m ago•0 comments

Claude Design Is Real Design

https://diverging.run/checkpoints/claude-design-is-real-design/
1•shay_ker•2m ago•0 comments

TRELLIS.2: Native and Compact Structured Latents for 3D Generation

https://microsoft.github.io/TRELLIS.2/
1•stavros•2m ago•0 comments

Two Athletes Break Sub-2-HR Marathon in Adizero Adios Pro Evo 3

https://news.adidas.com/running/two-adidas-athletes-sabastian-sawe-and-yomif-kejelcha-break-the-s...
1•canucker2016•4m ago•0 comments

New HEIC to JPG/PNG Converter

https://heyc.runtime-hub.com/
1•RunTimeZero•4m ago•0 comments

Day stream for Cancer fighters – raised around 70M USD for charity

https://streamer.guide/blog/latwogang-breaks-guinness-record-charity-stream-2026
1•halonn•5m ago•0 comments

The New Linux Kernel AI Bot Uncovering Bugs Is a Local LLM on Framework Desktop

https://www.phoronix.com/news/Clanker-T1000-AMD-Ryzen-AI-Max
1•guerby•8m ago•0 comments

Anonymous IRQ Handlers

https://trident64.github.io/anonymous-irq-handlers/
1•adunk•9m ago•0 comments

Show HN: Tiao, A two-player turn-based board game

https://playtiao.com
1•trebeljahr•9m ago•0 comments

Show HN: AI memory with biological decay (52% recall)

https://github.com/sachitrafa/YourMemory
2•SachitRafa•10m ago•0 comments

Forcing Scammers to Pass a "Face Captcha" [video]

https://www.youtube.com/watch?v=odFq0xgTrko
1•akavel•12m ago•0 comments

Sawe smashes two-hour mark to 'move goalposts for marathon running'

https://www.bbc.com/sport/athletics/articles/crm1m7e0zwzo
1•berkeleyjunk•12m ago•0 comments

The Preservation Sequences, Part 1: Less Dead

https://nectome.substack.com/p/the-preservation-sequences-part-1
1•bcjordan•14m ago•0 comments

Show HN: Mdlens – Reduce token spend and boost retrieval on Markdown-heavy repos

https://github.com/Dreeseaw/mdlens
1•dreeseaw•14m ago•0 comments

At SpaceX, AI is burning the cash that Starlink earns

https://www.reuters.com/business/finance/spacex-ai-is-burning-cash-that-starlink-earns-2026-04-24/
3•JumpCrisscross•15m ago•0 comments

DeepSeek's new models are so efficient they'll run on a toaster by which we mean

https://www.theregister.com/2026/04/24/deepseek_v4/
2•Bender•16m ago•1 comments

More ancient Linux device support faces the chop

https://www.theregister.com/2026/04/24/ancient_linux_drivers_going/
2•Bender•17m ago•0 comments

I brought my husband back for his funeral as a hologram

https://www.bbc.com/news/articles/cm29qj3e294o
1•Brajeshwar•17m ago•0 comments

Microsoft tackles quality control issues. Just kidding

https://www.theregister.com/2026/04/24/microsoft_seeks_quality_improvements_by/
2•Bender•18m ago•1 comments

The Brain of Theseus – a thought experiment (2017)

https://www.spencergreenberg.com/2017/07/brain-of-theseus-a-thought-experiment/
1•bcjordan•19m ago•0 comments

Show HN: Build an AI to Detect Scammers/Gurus

https://www.falsoai.com/
1•liam-chen•19m ago•0 comments

Show HN: Cyberpunk mission control for AI agents, one HTML file

https://github.com/Audazia/solar-system-agents
1•carlosaudaz•19m ago•0 comments

Goingsecure – Private CISO for solo founders and AI builders

https://goingsecure.dev/
1•gertsen•20m ago•1 comments

Human Source License (HSL)

https://github.com/xdgrulez/human-source-license
11•xdgrulez•23m ago•8 comments

The Pareto principle is how AI takes jobs

https://www.msn.com/en-us/money/smallbusiness/the-pareto-principle-is-how-ai-actually-takes-jobs/...
2•galaxyLogic•27m ago•0 comments

I Bought Friendster for $30k – Here's What I'm Doing with It

https://ca98am79.medium.com/i-bought-friendster-for-30k-heres-what-i-m-doing-with-it-d5e8ddb3991d
3•ca98am79•27m ago•1 comments

MoQ Boy

https://moq.dev/blog/moq-boy/
2•mmcclure•28m ago•0 comments

Neal Stephenson: The Real Threat Isn't AI, It's Us [video]

https://www.youtube.com/watch?v=pUSWa5hOCtU
3•mindcrime•28m ago•0 comments