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

QDBP: Explicit depth markers as an alternative to indentation and parentheses

https://github.com/tearflake/qdbp
1•tearflake•4m ago•0 comments

AI Policy Update

https://blog.freecad.org/2026/06/29/ai-policy-update/
1•ilreb•11m ago•0 comments

Reward hacking is swamping model intelligence gains

https://cursor.com/blog/reward-hacking-coding-benchmarks
2•matt_d•13m ago•0 comments

Vega: Zero-knowledge proofs for digital identity in the age of AI

https://www.microsoft.com/en-us/research/blog/vega-zero-knowledge-proofs-for-digital-identity-in-...
1•tosh•15m ago•0 comments

Gemma 4 on Cerebras - The Fastest Inference Is Now Multimodal

https://www.cerebras.ai/blog/gemma-4-on-cerebras-the-fastest-inference-is-now-multimodal
2•Tiberium•15m ago•1 comments

Show HN: Bored People Chat – Anonymous global chat room

https://boredpeoplechat.com/
2•syc-bpc•15m ago•0 comments

I built 25 executable skills for my AI agent �” all open source

https://github.com/ChrisLamDev/hermes-core-skills
1•ChrisLamDev118•16m ago•0 comments

Another Semiquincentennial

https://sanfranciscan.org/2026/06/29/another-semiquincentennial/
1•chema•19m ago•0 comments

Ask HN: Which is the best local model under 3B parameters today?

1•akarshhegde18•20m ago•0 comments

The op log was peer-to-peer the whole time

https://avelino.run/from-icloud-to-peers/
1•ethanplant•22m ago•0 comments

I built a free invoice generator for freelancers – no login, no subscription

https://quickinvoice-jade.vercel.app
1•Mini_dev•25m ago•0 comments

Operation RYaN

https://en.wikipedia.org/wiki/Operation_RYAN
1•valgaze•28m ago•0 comments

We built a P2P app with no servers. 1M users didn't miss them [Video]

https://www.youtube.com/watch?v=n76zGrt4aRY
1•danboarder•29m ago•0 comments

Tangled CI runs on microVMs

https://blog.tangled.org/spindle-microvm/
2•icy•33m ago•0 comments

Manifest-Driven Development

https://spacedock.md/blog/manifest-driven-development/
1•clkao•37m ago•0 comments

Meshtryoshka: Differentiable Mesh Rendering for Unbounded Scenes

https://danielxu9393.github.io/meshtryoshka-website/
1•E-Reverance•37m ago•0 comments

OGN 3D Viewer – glider flights replayed in 3D in the browser

https://s-celles.github.io/ogn-3d-viewer/
1•scls19fr•42m ago•0 comments

PostgreSQL Management Platform

https://gilliomfrontlinedigital.com/
1•Warfighter8714•42m ago•0 comments

There's this mystery of what, actually, is this thing?: DeepMind's philosopher

https://www.theguardian.com/news/ng-interactive/2026/jun/30/theres-this-deep-mystery-of-what-actu...
1•mellosouls•43m ago•1 comments

Can Facial Recognition tools track you online?

https://eyematch.ai/blog/privacy/can-facial-recognition-tools-track-you-online
2•anetagro•45m ago•0 comments

EU Commission HQ forced to shut down air-conditioning amid heatwave

https://www.politico.eu/article/eu-commission-heatwave-hq-forced-shut-down-air-conditioning-europe/
1•mdavid626•45m ago•1 comments

Vāgdhenu: Open-source meter-aware text-to-speech for Sanskrit

https://prathosh.in/vagdhenu/
1•bargavas•46m ago•0 comments

What Is Binning? A Basic Definition (2022)

https://www.tomshardware.com/reviews/glossary-binning-definition
1•thunderbong•53m ago•0 comments

Zero Trace AI – private AI chat with nothing to subpoena

https://zerotraceai.org
2•OrPrivacyGuy•58m ago•0 comments

I have open-sourced gojaja, a CLI for local multi-agent collaboration

2•zpwsmile•1h ago•0 comments

US Supreme Court Just Blew Up EU-US Data Transfers

https://noyb.eu/en/us-supreme-court-just-blew-eu-us-data-transfers
28•tomwas54•1h ago•14 comments

Show HN: Vaghenu, a meter aware sloka-to-chant, TTS for Sanskrit

3•init0•1h ago•1 comments

Popping the GPU Bubble

https://moondream.ai/blog/popping-the-gpu-bubble
49•radq•1h ago•13 comments

Show HN: No ads and noise from any page, get a clean AI reformat in one click

https://code.intellios.ai/cwsum/
1•coolwulf•1h ago•0 comments

Ferrari's marketing boss quits after troubled EV debut

https://www.euronews.com/business/2026/06/25/ferraris-marketing-boss-quits-after-troubled-ev-debu...
3•iancmceachern•1h ago•0 comments