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

Show HN: Graphthulhu – Knowledge Graph MCP Server for Logseq and Obsidian

https://github.com/skridlevsky/graphthulhu
1•skridlevsky•3m ago•0 comments

Show HN: I vibe-coded this human-aided mini-RSA solver

https://do-say-go.github.io/insights/
1•keepamovin•4m ago•0 comments

What to do before thinking hard

https://timktitarev.wordpress.com/2026/02/12/what-to-do-before-thinking-hard/
1•tim-kt•5m ago•0 comments

ComponentPro Mail library – This website used to sell stolen software

https://www.componentpro.com/products/mail/
1•ZeljkoS•8m ago•0 comments

Why am I unable to submit posts containing web addresses?

1•main-protect•8m ago•0 comments

Ask HN: How do you prevent sensitive data leaks in screen-recorded demos?

2•gongjunhao•9m ago•1 comments

Majutsu An Emacs interface for Jujutsu / jj, like Magit

https://github.com/0WD0/majutsu
2•fanf2•10m ago•0 comments

Two Autonomous Claudes, Full System Access, No Instructions. An Experiment

https://codingsoul.org/2026/02/12/two-autonomous-claudes-full-system-access-no-instructions-an-ex...
1•hleichsenring•12m ago•0 comments

Show HN: Kreuzberg Comparative Benchmarks

https://kreuzberg.dev/benchmarks
1•nhirschfeld•13m ago•0 comments

Data Influence

https://daeus.blog/2025/12/28/data-influence/
1•haakonhr•15m ago•0 comments

xAI's Moonshot Meeting:Billion-Image Floods, and a Lunar AI Factory (No, Really)

https://kirkstechtips.com/xais-moonshot-meeting-layoffs-billion-image-floods-and-a-lunar-ai-facto...
2•dudexsnave•15m ago•1 comments

Recreated the Nier Automata UI in React

https://yorha-design.vercel.app/
1•p0u4a•15m ago•0 comments

Winter OlMilan-Cortina Winter Olympics Debut Next-Generation Sports Smarts

https://spectrum.ieee.org/winter-olympics-2026-tech
2•JeanKage•20m ago•1 comments

Ex-UK gov advisors raise $14M for AI that predicts human behaviour

https://techfundingnews.com/electric-twin-raises-14m-atomico-synthetic-audiences/
5•smithharryh•20m ago•0 comments

Show HN: MCP-X – Single-file multi-client MCP gateway with per-tool access ctrl

https://mcp-x.org/
1•littleRound•21m ago•0 comments

Peon-ping – Stop babysitting your terminal

https://peon-ping.vercel.app/
1•rcarmo•21m ago•0 comments

AI will create optimized binary better than compilers by 2026 – Elon Musk

https://twitter.com/XFreeze/status/2021699619927781842
1•orangeisthe•21m ago•1 comments

Show HN: FrankenTUI in the Browser

https://frankentui.com/web
1•eigenvalue•22m ago•0 comments

Claude Island

https://claudeisland.com/
1•tosh•23m ago•0 comments

Show HN: Rawkit – Free, no-ads developer tools that run in the browser

https://rawkit.dev/
1•mohammedsunasra•26m ago•0 comments

Scaling Culture Without Dilution

https://yusufaytas.com/scaling-culture-without-dilution/
8•jatwork•26m ago•0 comments

From Side Project to 185K GitHub Stars

https://learndevrel.com/blog/openclaw-ai-agent-phenomenon
1•rohitghumare•27m ago•0 comments

Show HN: A free online British accent generator for instant voice conversion

https://audioconvert.ai/british-accent-generator
2•Katherine603•27m ago•0 comments

Train and inference GPT in 243 lines of pure, dependency-free Python by Karpathy

https://gist.github.com/karpathy/8627fe009c40f57531cb18360106ce95
2•itvision•28m ago•1 comments

Show HN: Solving Sudoku reasoning via Energy Geometric models

https://www.davisgeometric.com/index.html
1•epokh•29m ago•0 comments

I'm building a crowdsourced podcast episode tonight from YOUR articles

1•pavkatar•29m ago•0 comments

Forwardly-Evaluated Build Systems

https://garnix.io/blog/garn2/
1•birdculture•29m ago•0 comments

The Origins and Limitations of AMD's Revival

https://thechipletter.substack.com/p/the-origins-and-limitations-of-amds
1•rbanffy•40m ago•0 comments

The Website Is Down #1: Sales Guy vs. Web Dude – [video]

https://www.youtube.com/watch?v=uRGljemfwUE
1•sydney6•42m ago•0 comments

From specification to stress test: a weekend with Claude

https://www.juxt.pro/blog/from-specification-to-stress-test/
9•henrygarner•46m ago•1 comments