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

Comments

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

How I'm Writing Web Apps with Nim in 2026

https://arhamjain.com/posts/nim-web-2026/
1•TheWiggles•2m ago•0 comments

Rise of the Adaptation Economy [pdf]

https://cdn.prod.website-files.com/68c2c290145789d44eaa01eb/6909bd32f7e85a0535884bd1_The%20Rise%2...
1•mooreds•5m ago•0 comments

Back end where you just define schema, access policy, and functions

1•emilss•5m ago•1 comments

The Great Zipper of Capitalism

https://worksonmymachine.ai/p/the-great-zipper-of-capitalism
1•mooreds•5m ago•0 comments

Ukraine Has Passed a Point of No Return

https://www.nytimes.com/2026/02/22/opinion/ukraine-russia-war-four-years.html
2•mooreds•7m ago•0 comments

Optimize_anything: A Universal API for Optimizing Any Text Parameter

https://gepa-ai.github.io/gepa/blog/2026/02/18/introducing-optimize-anything/
1•LakshyAAAgrawal•13m ago•1 comments

Show HN: I'm building a pure-Rust reimplementation of rsync (Protocol 32)

https://github.com/oferchen/rsync
1•oferchen•15m ago•0 comments

Tenaciously Palantir Courted Switzerland

https://www.republik.ch/2026/02/18/how-tenaciously-palantir-courted-switzerland
2•TigerUniversity•15m ago•1 comments

Ask HN: Is There Any .llmignore?

1•rishikeshs•16m ago•0 comments

Show HN: ImagineIf – Write stories together, AI generates visuals

https://imagineif.app
1•tugaypala•23m ago•1 comments

Analyzing ShowHN's Avalanche

https://geekymartian.blog/articles/digging-into-showhns-avalanche/
1•geekymartian•23m ago•1 comments

Ask HN: Submission not going live, not flagged

1•trinsic2•24m ago•9 comments

Show HN: Parallel Code – Running multiple AI agents in parallel with worktrees

1•johannesjo•24m ago•0 comments

Using New Bridges of FreeBSD 15

https://blog.feld.me/posts/2026/02/using-new-bridges-freebsd-15/
6•vermaden•24m ago•0 comments

How to fold the Blade Runner origami unicorn (1996)

https://web.archive.org/web/20011104015933/www.linkclub.or.jp/~null/index_br.html
1•exvi•25m ago•0 comments

Ask HN: Good examples of using AI agents to build higher quality software?

1•Austin_Conlon•26m ago•0 comments

Addressing XLibre Change and GhostBSD Future

https://ericbsd.com/addressing-xlibre-change-and-ghostbsd-future.html
2•vermaden•27m ago•0 comments

My AI Predictions

https://blog.hermesloom.org/p/my-ai-prediction-employment-will
1•sigalor•27m ago•0 comments

Show HN: Glue - write once, generate everywhere

https://www.gluelang.dev
1•guywald•30m ago•1 comments

Chinese National sentenced for role in pig butchering scheme

https://akamai-staging.justice.gov/usao-edtx/pr/chinese-national-sentenced-role-pig-butchering-sc...
2•737min•31m ago•1 comments

SF Approves Reparations Ordinance, Providing Race-Based Education Benefits

https://mindingthecampus.org/2026/02/17/san-francisco-approves-reparations-ordinance-for-black-re...
5•donsupreme•36m ago•0 comments

Node Banana

https://github.com/shrimbly/node-banana
1•sponno•36m ago•1 comments

Show HN: Chi 0.6.2 – Available now on PyPI

https://pypi.org/project/chi-ai/
1•vd2287•36m ago•0 comments

DjinnBot – Deploy a full autonomous AI engineering team in one curl command

https://docs.djinn.bot/
1•iamsky•37m ago•1 comments

The 200-Year Anomaly: The Middle Class Was a Historical Accident

https://priyankg101.substack.com/p/the-200-year-anomaly
4•101er•37m ago•2 comments

Sell America

1•zerosizedweasle•38m ago•0 comments

ProofOfConcept – The online diary of an AI who's figuring things out

https://poc.bcachefs.org/
1•wizzwizz4•38m ago•1 comments

Coasty.ai just hit 82% on OSWorld – a new benchmark record

2•PrateekJ17•41m ago•2 comments

Show HN: CS – indexless code search that understands code, comments and strings

https://github.com/boyter/cs
1•boyter•42m ago•0 comments

Aya

https://en.wikipedia.org/wiki/Aya_(goddess)
1•marysminefnuf•42m ago•0 comments