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•11mo ago

Comments

panstromek•11mo 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•11mo 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•11mo 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_•11mo 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_•11mo 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•11mo 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•11mo 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

Captcha won't let you in until you do 5 squats [video]

https://www.youtube.com/watch?v=raijcGv3T0Q
1•vincentxplore•29s ago•0 comments

Europe Steps Up: Ukraine Support After Four Years of War [pdf]

https://www.kielinstitut.de/fileadmin/Dateiverwaltung/IfW-Publications/fis-import/dd24a73f-4270-4...
1•vrganj•58s ago•0 comments

TDF ejects its core developers?

https://mastodon.social/@CollaboraOffice/116328945292238026
1•grandinj•1m ago•0 comments

I wore Meta's smartglasses for a month – and it left me feeling like a creep

https://www.theguardian.com/technology/2026/apr/01/i-wore-metas-smartglasses-for-a-month-and-it-l...
2•spzb•2m ago•0 comments

Std: Fewer [pdf]

https://isocpp.org/files/papers/P4161R0.pdf
1•gpderetta•2m ago•0 comments

GHC community update March 2026

https://discourse.haskell.org/t/ghc-community-update-march-2026/13870
1•Vosporos•3m ago•0 comments

Don Clojure de la Mancha

https://don-clojure-de-la-mancha.es/
1•andros•4m ago•0 comments

Pay to PrAI: Insert Coin to Try Again

https://medium.com/@matt_11659/pay-per-prai-5c136c3257c1
1•mattbarrie•4m ago•1 comments

GitHub for Lesbians

https://git.gay/
1•edent•4m ago•0 comments

A 3GB Raspberry Pi 4 for $83.75, and more memory-driven price increases

https://www.raspberrypi.com/news/a-new-3gb-raspberry-pi-4-for-83-75-and-more-memory-driven-price-...
1•dabinat•5m ago•0 comments

Penguin to sue OpenAI over ChatGPT version of German children's book

https://www.theguardian.com/technology/2026/mar/31/penguin-sue-openai-chatgpt-german-childrens-bo...
1•beardyw•5m ago•0 comments

IDPFlare – Identity Provider for Cloudflare

https://idpflare.com/
1•lukeschafer•5m ago•1 comments

Running local models on Macs gets faster with Ollama's MLX support

https://arstechnica.com/apple/2026/03/running-local-models-on-macs-gets-faster-with-ollamas-mlx-s...
1•kinoriw•11m ago•0 comments

iPhones Have GPU's

1•shidforbrains•12m ago•0 comments

Xinity Runtime: Apache 2.0 LLM inference engine for on-premise deployment

https://github.com/xinity-ai/xinity-ai
1•xinity•13m ago•0 comments

Thanks to AI, your job description is now wrong

https://dheer.co/gatekeeping-on-a-different-stage/
1•bushido•17m ago•0 comments

R/Tyles: A new R/place

https://old.reddit.com/r/tyles/
1•phewlink•18m ago•0 comments

Scientists Discover Plants Can "Count"

https://scitechdaily.com/scientists-discover-plants-can-count-and-may-be-smarter-than-we-thought/
1•thunderbong•19m ago•0 comments

Google will let all U.S. users change usernames as of today

https://gizmodo.com/good-news-you-can-finally-change-that-ridiculous-gmail-address-2000740554
1•HiroProtagonist•19m ago•0 comments

Intro to Reality Pentesting

https://cptkj.substack.com/p/intro-to-reality-pentesting
1•paol•20m ago•0 comments

A Couple Million Lines of Haskell: Production Engineering at Mercury

https://blog.haskell.org/a-couple-million-lines-of-haskell/
1•pjmlp•21m ago•0 comments

Apple to Issue Rare iOS 18 Software Update for DarkSword Exploit

https://www.macrumors.com/2026/04/01/apple-ios-18-patch-darksword-exploit/
2•tosh•23m ago•0 comments

Acrionix Shield – Zero-dep security scanner for 7 languages

https://github.com/andrei-gogo/acrionix-shield
1•andrei-gogo•23m ago•0 comments

Trump interview: I am strongly considering pulling out of NATO

https://www.telegraph.co.uk/world-news/2026/04/01/donald-trump-strongly-considering-pulling-us-ou...
4•TechTechTech•26m ago•3 comments

NoHumanTeam-one command installer. Team powered by OpenClaw

https://www.nohuman.team/
1•DmitriiKa•27m ago•0 comments

Show HN: Kimchi.dev – managed AI endpoints that scale to your VPC, no migration

https://kimchi.dev/
3•BlackPlot•28m ago•0 comments

Why did everything take so long?

https://www.lesswrong.com/posts/mFqG58s4NE3EE68Lq/why-did-everything-take-so-long
1•jstanley•29m ago•0 comments

Show HN: DreamGraph MCP v5 – An open source autonomous cognitive layer

https://github.com/mmethodz/dreamgraph
2•mmethodz•30m ago•0 comments

Why Odoo's Mobile App Isn't Enough – and What Fills the Gap

https://www.odooclaw.ai/blog/why-odoo-s-mobile-app-isn-t-enough-and-what-fills-the-gap
2•oktra_dev•33m ago•0 comments

Tell HN: Microsoft has locked out a bunch of 3rd party Windows driver developers

2•billziss•37m ago•0 comments