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

How Claude Code agent teams work under the hood

https://www.claudecodecamp.com/p/claude-code-agent-teams-how-they-work-under-the-hood
1•aray07•1m ago•0 comments

Show HN: Wobble – a playful physics sandbox with interactive formulas

https://github.com/rapina/wobble
1•sputnikwrkshp•1m ago•0 comments

The Missing Semester of Your CS Education (2026)

https://missing.csail.mit.edu/?#
1•anishathalye•2m ago•1 comments

The Mythical Agent-Month

https://wesmckinney.com/blog/mythical-agent-month/
2•eddyzh•2m ago•0 comments

Important PSA: Regarding sitewide rules and automated admin moderation

https://old.reddit.com/r/WhitePeopleTwitter/comments/1k9e9vl/important_psa_regarding_sitewide_rul...
1•embedding-shape•5m ago•2 comments

Freelancer Empathy

https://seths.blog/2026/02/freelancer-empathy/
2•speckx•5m ago•0 comments

An intuitive approach for understanding electricity [video]

https://www.youtube.com/watch?v=X_crwFuPht4
1•thunderbong•5m ago•0 comments

A Parallel Internet

https://k2xl.substack.com/p/a-parallel-internet
2•k2xl•6m ago•0 comments

Blue Owl Halts Redemptions on Private Credit Retail Fund

https://www.bloomberg.com/news/articles/2026-02-18/blue-owl-loan-sale-raises-1-4-billion-for-inve...
1•zerosizedweasle•8m ago•3 comments

AIP – How my AI agent built a decentralized identity protocol for agents

https://github.com/The-Nexus-Guard/aip
1•the_nexus_guard•8m ago•1 comments

I Obtained Mew in Pokémon Red on a Real Game Boy

https://vaguilar.com/2026/02/18/how-i-obtained-mew-in-pokemon-red-on-a-real-game-boy/
1•vaguilar•9m ago•0 comments

Sub-$200 Lidar Could Reshuffle Auto Sensor Economics

https://spectrum.ieee.org/solid-state-lidar-microvision-adas
1•mhb•9m ago•0 comments

Nickel Since 1.0

https://www.tweag.io/blog/2026-02-19-nickel-since-1-0/
1•ingve•9m ago•0 comments

Dear Copilot, can you help me with SQL?

https://devblogs.microsoft.com/azure-sql/dear-copilot-azure-sql/
1•ibobev•9m ago•0 comments

Microspeak: Escrow

https://devblogs.microsoft.com/oldnewthing/20260217-00/?p=112067
1•ibobev•9m ago•0 comments

OpenBlockspace – IR³ Alpha – Pure Flux Architecture

https://bitcoin-zero-down-2ea152.gitlab.io/gallery/gallery-item-neg-878/
1•machardmachard•10m ago•1 comments

Optofluidic three-dimensional microfabrication and nanofabrication

https://www.nature.com/articles/s41586-025-10033-x
1•PaulHoule•10m ago•0 comments

Show HN: PostForge – A PostScript interpreter written in Python

https://github.com/AndyCappDev/postforge
1•AndyCappDev•11m ago•0 comments

Why Do the Police Exist? (2020)

https://novaramedia.com/2020/06/20/why-does-the-police-exist/
2•robtherobber•11m ago•0 comments

AI-Powered Performance Analysis

https://twitter.com/LangChain_JS/status/2024515544788140134
1•cbromann•11m ago•0 comments

Show HN: Public Speaking Coach with AI

https://apps.apple.com/us/app/speaking-coach-spechai/id6755611866
1•javierbuilds•11m ago•0 comments

AI found 12 of 12 OpenSSL zero-days

https://www.lesswrong.com/posts/7aJwgbMEiKq5egQbd/ai-found-12-of-12-openssl-zero-days-while-curl-...
3•AndrewDucker•12m ago•0 comments

AI made coding more enjoyable

https://weberdominik.com/blog/ai-coding-enjoyable/
3•domysee•12m ago•0 comments

Reflections on Oman

https://twitter.com/WillManidis/status/2024489454023405861
2•jger15•12m ago•0 comments

Hope

https://en.wikipedia.org/wiki/Hope
1•marysminefnuf•13m ago•0 comments

Passkey deployment mistakes banks make

https://www.corbado.com/blog/passkey-deployment-mistakes-banks
1•vdelitz•14m ago•0 comments

Naval shipwreck emerges in Sweden after being buried underwater for 400 years

https://www.cbsnews.com/news/navy-shipwreck-emerges-baltic-sea-sweden/
3•efrecon•15m ago•0 comments

Cue Is a Configuration Language

https://bitfieldconsulting.com/posts/cuelang-exciting
1•ahamez•15m ago•0 comments

Goosetown: Parallel AI agent flocks that research, build, and review code

https://github.com/block/goosetown
1•triple5•15m ago•0 comments

AI-generated passwords are easy to crack

https://gizmodo.com/ai-generated-passwords-are-apparently-quite-easy-to-crack-2000723660
1•vdelitz•16m ago•0 comments