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

Comments

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

What Is ChatGPT Doing and Why Does It Work? (2023)

https://writings.stephenwolfram.com/2023/02/what-is-chatgpt-doing-and-why-does-it-work/
1•pella•2m ago•0 comments

Hand-curated remote anywhere tech jobs – no country restrictions

https://relocateme.substack.com/p/work-from-anywhere-tech-jobs-introductory
1•andrewstetsenko•2m ago•0 comments

Genuary 2026: Generative Art Month

https://genuary.art
1•tripzilch•3m ago•0 comments

Show HN: I Wrote a Book – Production-Grade Agentic AI

https://productionaibook.com
1•aroussi•6m ago•0 comments

Show HN: A new technique for LLM tool calling and OSS library for it

https://www.symbolica.ai/blog/beyond-code-mode-agentica?theme=dark
2•charlielidbury•8m ago•0 comments

Raxe

https://github.com/raxe-ai/raxe-ce
1•handfuloflight•8m ago•0 comments

Murder-suicide case shows OpenAI selectively hides data after users die

https://arstechnica.com/tech-policy/2025/12/openai-refuses-to-say-where-chatgpt-logs-go-when-user...
1•jsheard•9m ago•0 comments

The woman who sold time – and the man who tried to stop her

https://www.bbc.com/news/articles/c4nn7gew9zxo
1•Phemist•15m ago•0 comments

System Capability Protocol

https://systemcapabilityprotocol.com/
1•ryanm101•17m ago•0 comments

Hawk from Movement Labs clocks in at 22.5% on ARC-AGI-2

https://movementlabs.ai
1•movementlabsAI•20m ago•0 comments

Designating fentanyl as a weapon of mass destruction

https://www.whitehouse.gov/presidential-actions/2025/12/designating-fentanyl-as-a-weapon-of-mass-...
2•KoftaBob•21m ago•0 comments

The Bike Shed: 485: HTTP Basic Auth

https://bikeshed.thoughtbot.com/485
1•amalinovic•24m ago•0 comments

LLMs Are Left-Leaning Liberals: The Hidden Political Bias of LLMs

https://www.scl.org/llms-are-left-leaning-liberals-the-hidden-political-bias-of-large-language-mo...
3•maxloh•26m ago•0 comments

Rkik v2.0.0 – NTP, NTS, PTP diagnostics, presets and config, Docker test lab

1•aguacero7•26m ago•0 comments

AI music licensing is here. Now what?

https://altea.circle.so/c/knowledge/ai-music-licensing-is-here-now-what
1•tmrtn•27m ago•1 comments

The Agentic Shift: How AI Transformed Our Engineering Workflow

https://blog.layerx.xyz/ai-agentic-shift-at-layerx
1•felltrifortence•29m ago•1 comments

Show HN: I made a public traffic counter so websites can share verified views

https://trustviews.io/
1•jeremy0405•29m ago•1 comments

I'm Just Having Fun

https://jyn.dev/i-m-just-having-fun/
1•lemper•30m ago•0 comments

EU household real income per capita up 22% since 2004

https://ec.europa.eu/eurostat/web/products-eurostat-news/w/ddn-20251125-2
6•andrewstetsenko•30m ago•0 comments

English prose has become much easier to read

https://www.worksinprogress.news/p/english-prose-has-become-much-easier
1•ortegaygasset•31m ago•0 comments

The Churn

https://blog.cleancoder.com/uncle-bob/2016/07/27/TheChurn.html
1•BinaryIgor•33m ago•1 comments

Show HN: Add sticky notes to any page on the web

https://leafovers.com/
3•appetizersnack•34m ago•1 comments

Night factory tours provide history lesson of Japan's modern economy

https://immersive.kyodonews.net/night-factory-tours-provide-history-lesson-of-japans-modern-econo...
1•Kaibeezy•35m ago•0 comments

When Everything Is Important, Nothing Matters

https://ramezanpour.net/post/2025/12/16/when-everything-is-important-nothing-is
2•ramezanpour•35m ago•0 comments

AI that helps startups assess technical candidates

https://www.algo-voice.dev/recruiter
3•jarlen•39m ago•1 comments

State of HTML 2025 Results

https://2025.stateofhtml.com/en-US
4•fmerian•39m ago•2 comments

Vampire Ground Finch

https://en.wikipedia.org/wiki/Vampire_ground_finch
1•thunderbong•39m ago•0 comments

Show HN: MethodsAgent – Solves "I can build but can't sell" for founders

https://www.methodsagent.com/
2•pierremouchan•42m ago•0 comments

C++ lowcode toolkit for ERP and Accounting Software

https://fin.in.net
1•basesdk•46m ago•1 comments

An Interview with Rivian CEO RJ Scaringe About Building a Car Company and

https://stratechery.com/2025/an-interview-with-rivian-ceo-rj-scaringe-about-building-a-car-compan...
1•feross•46m ago•0 comments