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

Jensen Huang on the Joe Rogan Experience [video]

https://www.youtube.com/watch?v=3hptKYix4X8
1•logannyeMD•22s ago•0 comments

Three Ideas for Lowering Electricity Costs

https://www.theatlantic.com/science/2025/12/electricity-costs-climate/685123/
1•JumpCrisscross•1m ago•0 comments

C++ Enum Class and Error Codes

https://mropert.github.io/2025/12/03/enum_class_error_codes_part3/
1•jandeboevrie•2m ago•0 comments

Misha Glenny to Present BBC Radio 4's in Our Time

https://www.bbc.co.uk/mediacentre/2025/misha-glenny-in-our-time-bbc-radio-4
1•timthorn•3m ago•0 comments

Azure Innovations with Mark Russinovich, MSFT Ignite 2025 [video]

https://www.microsoft.com/en-us/research/video/inside-azure-innovations-with-mark-russinovich-mic...
1•whopdrizzard•3m ago•0 comments

Pipe dreams to pipeline realities: an Aspire Pipelines story

https://devblogs.microsoft.com/aspire/aspire-pipelines/
1•doomroot13•3m ago•0 comments

Show HN: Textwave – Versioning for Documents (free, local-only document editor)

https://textwaveapp.com/
1•domysee•4m ago•0 comments

Show HN: Microlandia, a brutally honest city builder

https://microlandia.city
1•phaser•5m ago•0 comments

Metrics That Actually Matter

https://jamesjboyer.substack.com/p/metrics-that-actually-matter
2•aesthetics1•6m ago•0 comments

Flow-Lenia: Towards open-ended evolution in cellular automata

https://arxiv.org/abs/2212.07906
2•snats•7m ago•0 comments

Steam Machine today, Steam Phones tomorrow

https://www.theverge.com/report/820656/valve-interview-arm-gaming-steamos-pierre-loup-griffais
1•ravenical•11m ago•2 comments

Ferrocene 25.11.0 Now Available

https://ferrous-systems.com/blog/ferrocene-25-11-0/
1•todsacerdoti•12m ago•0 comments

Hundreds of Porsche Cars in Russia Shut Down After Satellite System Failure

https://headlinesmonitor.com/porsche-russia-system-failure-vts-immobilized/
4•wslh•12m ago•0 comments

Show HN: Nerve – The AI Chief of Staff that does your actual work

https://www.usenerve.com
3•tluthra•14m ago•0 comments

YAMLResume: Resumes as Code in YAML

https://yamlresume.dev/
2•thunderbong•14m ago•0 comments

ChatGPT is down worldwide, conversations disappeared for users

https://www.bleepingcomputer.com/news/artificial-intelligence/chatgpt-is-down-worldwide-conversat...
1•vaylian•14m ago•0 comments

Stop Talking

https://gurkan.in/2025/12/stop-talking/
6•npstr•14m ago•0 comments

Show HN: Equations Explained Colorfully (KaTeX and Markdown)

https://p.migdal.pl/equations-explained-colorfully/
1•stared•14m ago•0 comments

Time in C++: Understanding std:chrono:steady_clock

https://www.sandordargo.com/blog/2025/12/03/clocks-part-3-steady_clock
1•ibobev•15m ago•0 comments

SmartTube YouTube app for Android TV breached to push malicious update

https://www.bleepingcomputer.com/news/security/smarttube-youtube-app-for-android-tv-breached-to-p...
1•ibobev•16m ago•0 comments

Sterile Neutrino Prediction Muddled by Latest Experiments

https://www.nytimes.com/2025/12/03/science/sterile-neutrinos-particle-physics.html
2•mzs•16m ago•2 comments

Show HN: Cross-Layer Transcoders for Qwen3

https://qwen3.bluelightai.com/
3•epimono•17m ago•0 comments

How many layers of nested mental states can humans track?

https://medium.com/@gp2030/how-many-layers-of-nested-mental-states-can-humans-track-e8a63ff08758
3•light_triad•17m ago•0 comments

Antikythera mechanism: oldest known computer discovered in shipwreck off Greece

https://www.livescience.com/antikythera-mechanism
1•gurjeet•18m ago•0 comments

Show HN: Entrig – Push notifications for Supabase without backend code

https://entrig.com/try
2•ibbie•18m ago•0 comments

Can LLMs Create Legally Relevant Summaries and Analyses of Videos?

https://arxiv.org/abs/2511.13772
1•PaulHoule•18m ago•0 comments

The Rise of AI Denialism

https://bigthink.com/the-present/the-rise-of-ai-denialism/
11•gradus_ad•18m ago•3 comments

Micron Announces Exit from Crucial Consumer Business

https://investors.micron.com/news-releases/news-release-details/micron-announces-exit-crucial-con...
5•simlevesque•19m ago•0 comments

When there's a crisis, three things can happen

https://www.todepond.com/sky/crisis/
1•surprisetalk•20m ago•0 comments

Stumbling

https://quarter--mile.com/stumbling
1•surprisetalk•20m ago•0 comments