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

Single message billboard. outbid to takeover

https://billboard.today
1•bekdavid893•1m ago•0 comments

Paul R. Ehrlich, Who Alarmed the World with 'The Population Bomb,' Dies at 93

https://www.nytimes.com/2026/03/15/books/paul-r-ehrlich-dead.html
1•igonvalue•4m ago•0 comments

Are we getting NSFW ChatGPT?

https://community.openai.com/t/are-we-getting-nsfw-chatgpt/1376809
2•puildupO•4m ago•1 comments

Thoughts on Generative A.I

https://kghose.github.io/generative-ai/
1•birdculture•5m ago•0 comments

DNS-over-QUIC in Unbound

https://blog.nlnetlabs.nl/dns-over-quic-in-unbound/
1•jruohonen•8m ago•0 comments

See what attackers can discover about your company's domain

https://surfacesentinel.arcforgelabs.com/
1•paddysec•8m ago•1 comments

Scientists harness light to program how particles interact and assemble

https://phys.org/news/2026-02-flip-scientists-harness-particles-interact.html
1•PaulHoule•9m ago•0 comments

Britain's Populist Right Has Surrendered Its Mind to America

https://liambyrne.substack.com/p/take-back-control
3•tastyface•11m ago•1 comments

Show HN: DemoSlice – Turn screenshots into interactive product tours (free)

https://demoslice.io/
1•eyane•12m ago•1 comments

Throwback: Coffeescript.org

https://coffeescript.org
1•BafS•13m ago•0 comments

Show HN: ARISE – Agents that create their own tools at runtime when they fail

https://github.com/abekek/arise
1•abekek•13m ago•0 comments

Show HN: HN Skins – Available Skins: Cafe, Courier, London, Midnight, Terminal

https://github.com/susam/hnskins
1•susam•14m ago•0 comments

Claude, you are a cutie-pie

https://margaretatwood.substack.com/p/claude-you-are-a-cutie-pie
2•theblazehen•16m ago•0 comments

Stolen Works of Art Database

https://www.interpol.int/Crimes/Cultural-heritage-crime/Stolen-Works-of-Art-Database
1•jruohonen•20m ago•0 comments

Show HN: Turn any file into a CLI (reduce tokens vs. MCP)

1•gounisalex•20m ago•0 comments

Show HN: Agreezy: Create and e-sign agreements in minutes, no account needed

https://agreezy.app
2•agreezy•21m ago•1 comments

Show HN: LearnFork – Branching AI chat for learning and researching

https://learnfork.com/home
1•ninjaplavi•21m ago•1 comments

Iceland's Chief 'Lava Cooler' Is Bracing for the Next Eruption

https://www.nytimes.com/2026/03/15/world/europe/iceland-lava-volcano-eruption-grindavik.html
1•mitchbob•21m ago•1 comments

Your Company Is a Harness

https://twitter.com/seandoher1y/status/2033260806318797232
1•seandoh•22m ago•1 comments

The 49MB Web Page

https://thatshubham.com/blog/news-audit
6•kermatt•23m ago•0 comments

I Built LiveAuth: POW and Lightning Network Authentication for AI Agents

1•sydney-liveauth•23m ago•0 comments

Do you really need an agent?

2•g_br_l•24m ago•2 comments

Show HN: Opsmeter.io – AI cost attribution and budget control for LLM apps

1•opsmeter•24m ago•0 comments

Show HN: LLVM-Z80 - I wrote a complete LLVM backend with AI

https://github.com/llvm-z80/llvm-z80
1•zlfn•27m ago•0 comments

Imglink.cc – simple image hosting with folders and password-locked sharing

https://imglink.cc
1•happyghast•27m ago•0 comments

Franklin Awards Global Membership

https://franklinawards.substack.com/p/franklin-awards-global-membership
1•congruency•29m ago•0 comments

GLM-5-Turbo

https://docs.z.ai/guides/llm/glm-5-turbo
4•Topfi•31m ago•2 comments

Ukraine strike on Russian chip plant sparks revolt among pro-war bloggers

https://english.nv.ua/nation/ukraine-strike-on-kremniy-el-plant-sparks-rift-between-russian-propa...
4•gnabgib•32m ago•0 comments

How AI creates more developer jobs

https://stackoverflow.blog/2026/02/09/why-demand-for-code-is-infinite-how-ai-creates-more-develop...
1•karlmush•33m ago•2 comments

Islamvy – Islamic Super Lifestyle App

http://islamvy.com
1•myusufuysal•33m ago•1 comments