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

Gaia data reveal three galactic open clusters in detail

https://phys.org/news/2026-01-gaia-reveal-galactic-clusters.html
1•wglb•28s ago•0 comments

Show HN: Free Facebook Video Downloader with Original Audio Quality

https://facebook-video-download.org
1•yaoluxing•2m ago•0 comments

How Can Pod Startup Be Accelerated?

https://pacoxu.wordpress.com/2026/01/30/kubernetes-pod-startup-speed-optimization-guide/
1•pacoxu2025•3m ago•1 comments

React2AWS: Infrastructure as React Components

https://github.com/mmarinovic/React2AWS
1•jffry•4m ago•0 comments

SVGs are uniquely legible to LLMs

https://turbek.com/Designing-Interactive-SVGs-with-AI/
1•sturbes•5m ago•1 comments

Twix Is OK but Granola Isn't as States Deploy New Food Stamp Rules

https://www.nytimes.com/2026/01/29/business/snap-benefits-food-stamps-rules-health.html
2•ilamont•6m ago•0 comments

scx_horoscope – Astrological CPU Scheduler

https://github.com/zampierilucas/scx_horoscope
1•pabs3•7m ago•0 comments

Two days of oatmeal reduce cholesterol level

https://www.uni-bonn.de/en/news/017-2026
3•brandonb•9m ago•0 comments

Cloudflare's Matrix server isn't an earnest project

https://nexy.blog/2026/01/28/cf-matrix-workers/
2•todsacerdoti•10m ago•0 comments

Agent Trace: Capturing the Context Graph of Code

https://cognition.ai/blog/agent-trace
1•swyx•11m ago•1 comments

Nvidia GeForce Now Is Now Available Natively on Linux in Flatpak Form

https://www.phoronix.com/review/nvidia-geforce-now-linux
2•arprocter•14m ago•0 comments

PongoOS – A pre-boot execution environment for Apple boards

https://github.com/checkra1n/PongoOS
1•basilikum•19m ago•0 comments

CV of Failure

https://sites.google.com/view/mankikim/curriculum-vitae
1•myth_drannon•21m ago•0 comments

GrindMal – An open-source 'arena' for fixing/collab projects

https://grindmal.tomari.dev/
1•tomari99•25m ago•1 comments

AI governance in the agentic era (2025)

https://iapp.org/resources/article/ai-governance-in-the-agentic-era
1•mooreds•25m ago•0 comments

Fitness and exercise effects on brain age: A randomized clinical trial

https://www.sciencedirect.com/science/article/pii/S2095254625000602
2•PaulHoule•32m ago•0 comments

InfiniaxAI Just Automated Repositories

https://infiniax.ai
1•ZacharyGolinger•33m ago•1 comments

Show HN: Guess My RGB – Daily game to test your color visualization skills

https://rgb.day
1•balgan•33m ago•0 comments

Angry gamers are forcing studios to scrap or rethink new releases

https://www.washingtonpost.com/technology/2026/01/26/gamer-protests-ai-slop-backlash/
1•gnabgib•33m ago•0 comments

Pentagon clashes with Anthropic over military AI use, sources say

https://www.reuters.com/business/pentagon-clashes-with-anthropic-over-military-ai-use-2026-01-29/
1•pseudolus•35m ago•0 comments

Show HN: Best AI Image Generator

https://aiimagegenerators.net/
1•wangmao•37m ago•0 comments

Ex-Google engineer convicted of stealing AI secrets for Chinese companies

https://www.reuters.com/legal/government/ex-google-engineer-convicted-stealing-ai-secrets-chinese...
2•tokyobreakfast•41m ago•0 comments

Adult Humor Costumes

https://www.halloweencostumes.com/adult-humor-costumes.html
1•rolph•44m ago•1 comments

Ask HN: How do you reset an AppleID?

1•OhMeadhbh•47m ago•8 comments

Moving on from XML? A teaser for a possible alternative (2024)

https://genodians.org/nfeske/2024-12-20-moving-on-from-xml
1•doener•51m ago•0 comments

Having that high-deductible health plan might kill you, literally

https://arstechnica.com/health/2026/01/having-that-high-deductible-health-plan-might-kill-you-lit...
4•pseudolus•52m ago•3 comments

Sculpt OS Version 25.10

https://genode.org/download/sculpt
1•doener•54m ago•0 comments

Show HN: GLinksWWW – A student-built retro browser with a 9-slot multi-clipboard

https://github.com/rio719/gLinksWWW-browser
1•RioBurhan•55m ago•0 comments

Blessed.rs – An unofficial guide to the Rust ecosystem

https://blessed.rs/crates
2•Brysonbw•56m ago•0 comments

Show HN: A website that summarises all adopted texts of EU parliament

https://euforya.eu
1•krzysiek•57m ago•0 comments