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

Comments

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

1•asphero•18s ago

2025 Year End Report on the Federal Judiciary – Chief Justice John Roberts [pdf]

https://www.supremecourt.gov/publicinfo/year-end/2025year-endreport.pdf
1•everybodyknows•5m ago•0 comments

Saks Prepares for Bankruptcy After Missing Debt Payment

https://www.wsj.com/finance/saks-prepares-for-bankruptcy-after-missing-debt-payment-ff3df6d2
1•JumpCrisscross•8m ago•0 comments

A man taking over the Large Hadron Collider – only to switch it off

https://www.theguardian.com/science/2025/dec/31/large-hadron-collider-head-of-cern-mark-thomson
2•pseudolus•10m ago•0 comments

Nerd: The First Programming Language Not Built for Humans

https://www.nerd-lang.org/about
17•gnanagurusrgs•29m ago•28 comments

Future of space exploration depends on better biology

https://www.economist.com/leaders/2025/12/30/the-future-of-space-exploration-depends-on-better-bi...
1•smurda•30m ago•0 comments

Show HN: Open-source AI agent Framework

https://github.com/claude-php/claude-php-agent
1•dalemhurley•35m ago•0 comments

Writing a performant autograd on tenstorrent wormhole p1

https://mewtwo.bearblog.dev/wormhole-autograd-p1/
3•csirak1528•36m ago•1 comments

The Struggle for Sudan

https://www.merip.org/the-struggle-for-sudan/
1•mhb•37m ago•0 comments

We need to reassess our relationship to digital tech

https://disconnect.blog/we-need-to-reassess-our-relationship-to-digital-tech/
2•bovermyer•38m ago•0 comments

California’s billionaire tax, explained

https://sfstandard.com/2025/12/30/california-s-billionaire-tax-explained/
4•donsupreme•38m ago•1 comments

Be aware when opening "take home challenges" from untrusted recruiters

https://www.reddit.com/r/cscareerquestions/s/qIYFSd4lUW
6•satvikpendem•44m ago•0 comments

To the people who've helped me become the way that I am

https://acknowledgements.aadillpickle.com/
1•dependency_2x•44m ago•1 comments

Interview with Steve Wozniak After Jobs' Departure (1985)

https://computeradsfromthepast.substack.com/p/interview-with-steve-wozniak-after
1•rbanffy•45m ago•0 comments

Roadmap to Java

https://nemorize.com/roadmaps/java
2•reverseblade2•50m ago•0 comments

Ray Bradbury S3E5 The Pedestrian (Transcript)

https://subslikescript.com/series/The_Ray_Bradbury_Theater-88591/season-3/episode-5-The_Pedestrian
2•raybadbury•56m ago•1 comments

What to know about latest rupture of the Bearspaw South feeder main

https://calgaryherald.com/news/feeder-main-break-2-0-q
1•petethomas•56m ago•0 comments

Runtime invariant to rule count in a single-pass boundary execution model

https://targetedwebresults.com/pounce-demo-final.gif
1•MKuykendall•56m ago•2 comments

Rembg: Remove Image Backgrounds

https://github.com/danielgatis/rembg
1•Olshansky•57m ago•0 comments

Leaks Predict $5000 RTX 5090 GPUs in 2026 Thanks to AI Industry Demand

https://www.techpowerup.com/344578/leaks-predict-usd-5000-rtx-5090-gpus-in-2026-thanks-to-ai-indu...
1•linksbro•1h ago•0 comments

Meta AI chief Alexandr Wang says will have kids only after Elon Musk's Neuralink

https://www.businessinsider.com/scale-ai-founder-alexandr-wang-meta-neuralink-kids-elon-musk-2025-6
1•radeeyate•1h ago•0 comments

Show HN: Chat with people who share the same Internet connection (= IP address)

https://ipchat.org
3•kkovacs•1h ago•2 comments

Bokehlicious Selfies in Python (2020)

https://www.rahulrav.com/blog/bokehlicious.html
1•azhenley•1h ago•0 comments

52 Things I Learned in 2025

https://probablyinteresting.substack.com/p/52-things-i-learned-in-2025
1•zdw•1h ago•0 comments

Show HN: BusterMQ, Thread-per-core NATS server in Zig with io_uring

https://bustermq.sh/
12•jbaptiste•1h ago•1 comments

It will be more practical to fingerprint real media than fake media

https://www.engadget.com/social-media/instagram-chief-ai-is-so-ubiquitous-it-will-be-more-practic...
3•geox•1h ago•1 comments

A geological carbon cycle sink hosted by ocean crust talus breccias

https://www.nature.com/articles/s41561-025-01839-5
1•PaulHoule•1h ago•0 comments

Predictions on how software will be built in 2026 by CTO of non-AI company

https://behan.substack.com/p/reflections-on-the-best-year-of-my
3•behan•1h ago•1 comments

Application Prohibited Internationally

https://tuckersiemens.com/posts/application-prohibited-internationally/
2•nfrmatk•1h ago•0 comments

Show HN: Use Internationalizationext in Astro

https://github.com/gutenye/astro-i18next
1•GutenYe•1h ago•0 comments