frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Accidentally Turing-Complete

https://beza1e1.tuxen.de/articles/accidentally_turing_complete.html
25•bschne•1y ago

Comments

panstromek•1y 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•1y 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•1y 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_•1y 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_•1y 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•1y 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•1y 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

Wealth Taxes Could Kill Privately-Owned Companies

https://www.palladiummag.com/2026/09/22/wealth-taxes-could-kill-privately-owned-companies/
1•pr337h4m•33s ago•0 comments

Google Private AI Compute with server-side memory

https://deepmind.google/blog/advancing-private-ai-compute-with-secure-server-side-memory/
1•cagz•37s ago•0 comments

Meta VR Glasses Announced, 100 grams, OLED, $1300

https://www.uploadvr.com/meta-vr-glasses-officially-announced-connect-2026/
2•cubefox•4m ago•0 comments

Six Ways to Integrate Jev

https://vercel.com/i/jev-integrations
1•flashbrew•4m ago•0 comments

GPT-6 Sol vs. Luna

https://vercel.com/i/gpt-6-sol-vs-luna
1•flashbrew•5m ago•0 comments

Ex-cop turned CEO sold U.S. agencies forensics software built in Russia

https://www.justice.gov/usao-cdca/pr/tech-ceo-russian-national-arrested-complaint-alleging-they-h...
2•Scrounger•5m ago•1 comments

Bitflix – MCP Apps Example Application for Video

https://github.com/bitmovin/bitflix-mcp-apps-example
1•tosh•5m ago•0 comments

New Meta VR Glasses

https://www.meta.com/fr/en/vr-glasses/
1•redox_•6m ago•0 comments

IT mistake erases 11 years of viewing history for hospitals' maternity records

https://arstechnica.com/information-technology/2026/09/it-mistake-erases-11-years-of-viewing-hist...
2•joozio•10m ago•1 comments

Initial DIY Cleanroom Experimentation

https://www.jefftk.com/p/initial-diy-cleanroom-experimentation
1•luu•10m ago•0 comments

Show HN: A modern favicon generator designed for clean UI and quality icon set

https://favicon.kumardeepak.com
1•kumardeepakcom•10m ago•0 comments

Show HN: Carosello. A faster image/video viewer for Linux in Rust and gtk4

https://github.com/grigio/carosello
2•grigio•12m ago•0 comments

How tech workers are feeling in 2026: a workforce splitting in two

https://www.lennysnewsletter.com/p/how-tech-workers-are-feeling-in-2026
2•fagnerbrack•12m ago•0 comments

Rat King

https://en.wikipedia.org/wiki/Rat_king
1•Eridanus2•13m ago•0 comments

Super Resolution and Frame Generation on Snapdragon Mobile Platforms

https://www.qualcomm.com/developer/blog/2026/09/introducing-adreno-neural-fusion-sdk-for-snapdrag...
1•Re-Tails•17m ago•1 comments

Contrastive Language Model (CLM): An Ultra-Fast System One Model

https://twitter.com/jackyk02/status/2102905335925424285
1•piyushsthr•18m ago•0 comments

It took 20 yrs to start regulating social media – will AI controls come sooner?

https://www.rnz.co.nz/news/business/1557652/it-took-20-years-to-start-regulating-social-media-wil...
3•billybuckwheat•19m ago•2 comments

TabVault – Open-source tab manager with atomic crash recovery

https://github.com/jarvissing/tabvault
1•jarvissing•21m ago•0 comments

Tales from the Software Factory: The Cron and the VM

https://blog.exe.dev/cron-vs-vm
1•vinhnx•29m ago•0 comments

I built a language model out of cellular automata

https://ssenthilnathan3.github.io/blog/cellular-automata-language-model/
2•nathaah3•31m ago•0 comments

Update: Source Download – Inspect, grab assets, screenshot and record video/GIF

https://chromewebstore.google.com/detail/source-download/nockdgincmpfojabnhbofkddgcmnodpd
1•2rundev•31m ago•0 comments

Omens of Exceptional Talent

https://guzey.com/talent/
1•karakoram•32m ago•1 comments

Debian Inference Portal (Unofficial)

https://inference.debian.net/
1•selfhoster1312•32m ago•0 comments

Understanding Runtime Governance for Enterprise AI Deployment

1•thespotlessmind•34m ago•0 comments

Investigate top humanity questions with your own AI agent

https://interworky.com/
1•ahmedhussam1053•34m ago•1 comments

Can open-source prompt-injection detectors catch realistic AI agent attacks?

https://github.com/rudratoshs/buried-injections
3•northbridgedev•36m ago•1 comments

AI Passport Photo

https://www.aipassportphoto.org/
10•wsm123456•39m ago•4 comments

How to Audit an AI Agent:Time-Travel Debugging and Drift Measurement

https://medium.com/@MirArshadTalpur/how-to-audit-not-observe-an-ai-agent-time-travel-debugging-an...
1•Arshad-Talpur•39m ago•0 comments

The cost and quality frontier across 29 AI coding models

https://bito.ai/benchmarks/ai-coding-model-cost/
1•kirti_soni171•39m ago•0 comments

Inferact's Kimi K3 Megakernel hits 700 tok/s on TPU, Beating GPU

https://inferact.ai/blog/tpu-megakernels
5•xutingl•40m ago•1 comments