frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Accidentally Turing-Complete

https://beza1e1.tuxen.de/articles/accidentally_turing_complete.html
25•bschne•1y ago

Comments

panstromek•1y 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•1y 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•1y 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_•1y 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_•1y 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•1y 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•1y 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

The 'black box' wastewater trade that rakes in millions for UK utility companies

https://www.theguardian.com/environment/2026/oct/09/uk-water-companies-industrial-commercial-wast...
1•cisc•1m ago•0 comments

Autonomous Delivery Skill

https://gist.github.com/EvanBoyle/8c1a97f682d92dab8c09d0e1ea73f4a0
1•gfortaine•5m ago•0 comments

Anthropic Bans Cruelty to Claude, Still Won't Say What It Protects

https://rews.cc/a/anthropic-bans-cruelty-to-claude-still-won-t-say-what-it-pro-bd99f6
1•ojosilva•6m ago•0 comments

Will We Ever Understand Dementia?

https://www.nytimes.com/2026/10/10/science/will-we-ever-understand-dementia.html
1•bookofjoe•6m ago•1 comments

Show HN: ISA Workbench – Classify and explore binaries in the browser

https://zr.ax/
1•19h•7m ago•0 comments

Microsoft CEO Nadella Calls for 'Emergency Brake' on Advanced AI

https://www.bloomberg.com/news/articles/2026-10-10/microsoft-ceo-nadella-calls-for-emergency-brak...
2•sbulaev•7m ago•0 comments

Show HN: TruthBeacon – Open-source Discord moderation app in Tauri and Rust

https://github.com/boredpolymath/truth-beacon
2•boredpolymath•17m ago•0 comments

Personal agents are not aligned with consumer long-term interests

https://twitter.com/BrendanFalk/status/2109068824293351774
1•brendanfalk•24m ago•0 comments

Vision for New Autonomous Warfare Command Laid Out by Pentagon

https://www.twz.com/news-features/vision-for-new-autonomous-warfare-command-laid-out-by-pentagon
1•cisc•25m ago•0 comments

How to Recover Your Yahoo! Groups from the Internet Archive (2021)

https://datahorde.org/how-to-recover-your-yahoo-groups-from-the-internet-archive/
1•turtleyacht•29m ago•0 comments

Show HN: Dewey: a connectome-driven fruit fly for your macOS menu bar

https://github.com/JorenSix/Dewey
1•joren-•29m ago•0 comments

This Website Is Now Made in Swift

https://sindresorhus.com/blog/swift-website
1•ingve•33m ago•0 comments

Eye Cells May Have Been Rejuvenated for the First Time in People

https://time.com/article/2026/10/08/eye-cells-rejuvenated-for-the-first-time-in-people/
1•davidrjones1977•37m ago•1 comments

Show HN: Aporium – A UMAP galaxy of 5800 philosophy excerpts in conversation

https://www.aporium.app/explore
1•kevinjacobh•38m ago•0 comments

Silicon Valley's Dream City Has Crashed into Small-Town Politics

https://www.wsj.com/us-news/silicon-valleys-dream-city-has-crashed-into-small-town-politics-4521d1bd
3•Anon84•46m ago•0 comments

Ask HN: Would you support a law banning filming people in public?

1•dfps•46m ago•3 comments

Ask HN: Built a benchmark? Would love to learn

1•ramstar3000•49m ago•0 comments

FrameLab – FPS calculator for PC games, checked against real hardware runs

https://framelab-fps.com/uk
1•BMatiashchuk•49m ago•0 comments

Genius or Mid Life Crisis Lol

https://www.reddit.com/r/founder/comments/1x25aws/genius_or_midlife_crisis/
1•jimmyshoez•52m ago•0 comments

Two Kings of New York: Visualizing the Careers of Jay-Z and Nas

https://streettaichi.com/pages/kings-of-new-york
2•laybak•54m ago•0 comments

Show HN: Open-Source Canva Alternative

https://github.com/shaongitbd/doory
1•Aditya_1•57m ago•0 comments

'AI slop' hides the conversations we should be having

https://doi.org/10.1038/s44387-026-00161-8
1•DeepLogin•58m ago•0 comments

Every US Electrical Outlet Explained [video]

https://www.youtube.com/watch?v=n_1wzYQwnts
4•zdw•1h ago•2 comments

Why OpenAI's latest results dump has left mathematicians in shock

https://theconversation.com/is-this-the-mathocalypse-why-openais-latest-results-dump-has-left-mat...
2•ColinWright•1h ago•1 comments

Amiga Demoscene for Beginners

https://spookbench.net/blog/amiga_dmscn/part0.html
1•nickt•1h ago•0 comments

Temporal Continuity API (Groundbreaking)

https://api.rscapex.com
1•TomKrysos•1h ago•0 comments

PwnPad – hardware hacking platform built for practical learning

https://github.com/twelvesec/PwnPad
3•therepanic•1h ago•0 comments

Build your own decision model

https://nishtahir.com/build-your-own-decision-model/
60•softwaredoug•1h ago•6 comments

A black box recorder for contracts

https://lexifina.com/blog/a-black-box-recorder-for-contracts
2•alansaber•1h ago•0 comments

Show HN: Convertix – A free, client-side QR code generator with customization

https://convertix-fast-imager-co.blogspot.com/p/convertix-free-online-qr-code-generator.html
3•tanjirods•1h ago•0 comments