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

Ask HN: How to find gaps and oppurtunities in the AI era?

3•SRMohitkr•1m ago•0 comments

End-to-End Encrypted RCS Messages Referenced in Latest iOS 26.3 Beta

https://twitter.com/TiinoX83/status/2010830920681427199
1•7777777phil•2m ago•0 comments

DHS Deportation Reels Are Getting Copyright Strikes for Unlicensed Music Use

https://reason.com/2026/01/11/the-deportation-playlist-is-mostly-stolen/
2•fortran77•4m ago•0 comments

First impressions of Claude Cowork, Anthropic's general agent

https://simonw.substack.com/p/first-impressions-of-claude-cowork
2•stosssik•6m ago•0 comments

Keir Starmer abandons plans for compulsory digital ID

https://www.thetimes.com/uk/politics/article/digital-id-scrapped-u-turn-keir-starmer-7zcwqqvb5
2•petethomas•7m ago•0 comments

A Journey of Validating a Healthcare Startup

https://jeevan.life/healthcare.html
1•ssunboyy•10m ago•0 comments

HiGP: A high-performance Python package for Gaussian Process

https://arxiv.org/abs/2503.02259
1•7777777phil•10m ago•0 comments

Incomputable Language: An Essay on AI

https://www.eruditorumpress.com/blog/on-incomputable-language-an-essay-on-ai
1•drnrb•10m ago•0 comments

AI Reliance Logging

https://zenodo.org/records/18239999
1•businessmate•11m ago•1 comments

A book about Solo Building

https://solobuilding.com/
1•mddanishyusuf•18m ago•0 comments

Good Use of Postgres

https://vivekn.dev/blog/good-use-of-postgres/
1•viveknathani_•20m ago•0 comments

When You are Waiting for a Miracle [video]

https://www.youtube.com/watch?v=1-b52n7mYnc
1•marysminefnuf•22m ago•0 comments

Show HN: A directory to discover and install validated Agent Skills

https://www.agentskills.guide/
1•superhuang•32m ago•1 comments

Meta cuts more than 1k in Bay Area tech's first big layoff of 2026

https://www.sfgate.com/tech/article/meta-layoff-1000-first-2026-21293134.php
3•apparent•33m ago•0 comments

One-page static blog using headless CMS

https://github.com/sleekcms/sleekcms-spa-blog
1•yusufnb•36m ago•0 comments

Saccade

https://en.wikipedia.org/wiki/Saccade
1•petethomas•38m ago•0 comments

Show HN: RAG Architecture for optimizing retrieval volume/relevancy tradeoff

https://github.com/darwinapps/nestedRAG
1•Gregoryy•41m ago•0 comments

Show HN: Git-identity-switcher – a CLI to switch Git user identity per repo

https://github.com/csawai/git-identity-switcher
1•csawai•42m ago•0 comments

Zhipu and Huawei open-source GLM-Image on Chinese chips

https://glm-image-ai.app
1•nanobanana•42m ago•0 comments

Saks Global files for bankruptcy after Neiman Marcus takeover leads to collapse

https://www.reuters.com/business/retail-consumer/saks-global-files-bankruptcy-after-neiman-marcus...
1•testrun•42m ago•0 comments

Bringing the Predators to Life in MAME

https://lysiwyg.mataroa.blog/blog/bringing-the-predators-to-life-in-mame/
1•msephton•43m ago•0 comments

Get professional marketing growth services through Amplift

https://amplift.ai/
4•gaygum102•43m ago•1 comments

The <Geolocation> HTML Element

https://developer.chrome.com/blog/geolocation-html-element
1•enz•45m ago•0 comments

Show HN: MapMates – A map for expats to find people in new cities

https://mapmates.io/
1•digi_wares•46m ago•0 comments

From kinetic gases to an exponentially expanding universe

https://iopscience.iop.org/article/10.1088/1475-7516/2025/10/050
1•diwank•52m ago•0 comments

Beebo, a wave simulator written in C

https://git.sr.ht/~willowf/beebo/
3•anon25783•54m ago•0 comments

AI Dance Video Generator Online Free

https://www.aidancegenerator.org/
1•wsm123456•56m ago•0 comments

Show HN: Apps posted here classified by LLM

https://github.com/johndimm/show-hn-classified
1•johndimm•57m ago•1 comments

Personal Taste Is the Moat

https://wangcong.org/2026-01-13-personal-taste-is-the-moat.html
2•gpi•1h ago•1 comments

Pixel 6 and 7 Updates Are Missing: Here's What Is Happening with Your Pixel

https://www.droid-life.com/2026/01/12/pixel-6-pixel-7-updates-schedule-missing/
3•keithoffer•1h ago•1 comments