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

A new nuclear arms race beckons

https://economist.com/international/2026/02/03/a-new-nuclear-arms-race-beckons
1•andsoitis•32s ago•0 comments

Rust Is Just a Tool

https://lewiscampbell.tech/blog/260204.html
1•LAC-Tech•36s ago•0 comments

Show HN: Augmenting developer docs into high-level interactive mental models

https://docmaps-web.vercel.app/
1•b_mutea•1m ago•0 comments

Elon Musk's mega-merger makes little sense business sense

https://www.economist.com/business/2026/02/03/elon-musks-mega-merger-makes-little-business-sense
1•andsoitis•2m ago•0 comments

How to squeeze a lexicon (2001) [pdf]

https://marcinciura.wordpress.com/wp-content/uploads/2019/10/lexicon.pdf
1•mci•3m ago•0 comments

Ask HN: At what point in the future will AIs stop working or not be correct?

1•roschdal•9m ago•0 comments

Show HN: TitanShell – Security-first desktop client for OpenClaw

https://github.com/DaguangZhou/TitanShell
1•snowwolf_zdg•10m ago•1 comments

Show HN: Gateway – An open-source proxy to securely handle BYOK keys

https://github.com/glueco/gateway
3•mumernisar•16m ago•1 comments

Echoes

https://thelehrhaus.com/culture/echoes/
2•barry-cotter•16m ago•0 comments

Manna by Marshall Brain

https://marshallbrain.com/manna1
2•jpmitchell•18m ago•0 comments

CUBO the Industrial-Grade Local RAG

https://github.com/PaoloAstrino/cubo
3•50kIters•18m ago•0 comments

Show HN: Astrolabe – Navigate Your Data Universe in Nextcloud

https://blog.coutinho.io/introducing-astrolabe-navigate-your-data-universe-in-nextcloud
2•cbcoutinho•25m ago•0 comments

"Superhuman": A 13 year old boy swims 2.5 miles to save family swept out to sea

https://www.cbsnews.com/news/boy-swims-hours-save-mom-siblings-swept-out-sea-superhuman/?ftag=YHF...
5•gurjeet•25m ago•0 comments

Oracle to raise $50B as AI debt piles up

https://www.marketwatch.com/story/oracles-monster-25-billion-debt-financing-points-to-anxieties-a...
2•zerosizedweasle•27m ago•0 comments

Show HN: Yutovo – visual online and desktop calculator inside a text editor

https://yutovo.com
2•denprog•28m ago•0 comments

Siemens Energy Bets $1B That A.I. Power Demand Will Last

https://www.nytimes.com/2026/02/03/business/energy-environment/siemens-energy-ai-power-demand.html
2•ChrisArchitect•34m ago•0 comments

Show HN: Ghidra MCP Server – 110 tools for AI-assisted reverse engineering

https://github.com/bethington/ghidra-mcp
2•xerzes•40m ago•1 comments

Western Digital doubles the performance of HDD with dual-actuator High-Bandwidth

https://www.tomshardware.com/pc-components/hdds/western-digital-doubles-the-performance-of-hard-d...
1•XzetaU8•42m ago•0 comments

"Virtual Twin Factory" is just a brute-force legacy model

https://tushar1qaz.substack.com/p/the-virtual-twin-is-a-brute-force
1•FuseGov•43m ago•0 comments

Game Arena

https://www.kaggle.com/game-arena
1•jonbaer•44m ago•0 comments

Show HN: I'm 16 and built EU AI Act compliance software

https://audit.omensystems.com
1•chaitanya_sci•48m ago•0 comments

Taming the Flat AST: Ergonomics in the Age of Zero Allocations

http://modern-c.blogspot.com/2026/02/taming-flat-ast-ergonomics-in-age-of.html
1•g0xA52A2A•49m ago•0 comments

Apple's Xcode Now Supports the Claude Agent SDK

https://www.anthropic.com/news/apple-xcode-claude-agent-sdk
2•achow•54m ago•2 comments

Link Shortening Tools Are High Risk

https://forkingmad.blog/link-shortening-tools/
1•zdw•1h ago•0 comments

The full history of Windows widgets, from 1997 to today

https://xakpc.dev/windows-widgets/history/
16•thunderbong•1h ago•7 comments

39C3 – Celestial navigation with little math

https://www.youtube.com/watch?v=iq1WmAVb3Sg
2•rasengan0•1h ago•0 comments

Embedded Vector and Graph Database in Pure Go

https://github.com/liliang-cn/sqvect
3•AISlop31415•1h ago•1 comments

French government may consider restricting VPNs

https://www.techradar.com/vpn/vpn-privacy-security/vpns-are-next-on-my-list-france-set-to-evaluat...
3•euio757•1h ago•1 comments

A few thoughts about PayPal, nearly 12 years after I left

https://twitter.com/davidmarcus/status/2018809762708873443
4•latchkey•1h ago•0 comments

Nvidia RTX 5070 Ti with a hole in the PCB manages to score a world record

https://videocardz.com/newz/nvidia-rtx-5070-ti-with-a-hole-in-the-pcb-manages-to-score-a-world-re...
1•msephton•1h ago•0 comments