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

Show HN: Get v2.0

https://github.com/Water-Run/get/releases/tag/v2.0
1•linzhangrun•42s ago•0 comments

The Russian who invented semiconductors 25 years before the USA

https://www.semidoped.com/p/til-the-man-who-invented-the-future
2•johncole•5m ago•0 comments

2ez.sol Its 1999 again Free games. 2ez

https://2ez.sol.site
1•sgspace•13m ago•1 comments

Grid: E2EE Alternative to Life360

https://mygrid.app
1•thebiblelover7•18m ago•1 comments

Field of clones: How horse replicas came to dominate polo

https://knowablemagazine.org/content/article/technology/2026/cloned-polo-horses
4•gscott•20m ago•0 comments

Lego launches 12,060-piece Sagrada Família – its biggest ever set

https://www.cnn.com/2026/06/05/style/lego-sagrada-familia-gaudi-scli-intl
1•giuliomagnifico•22m ago•0 comments

Show HN: LLM for Dummies

https://ronreiter.github.io/llm-for-dummies/
1•ronreiter•23m ago•0 comments

Show HN: TakoVM – Isolated model and tool execution used by enterprises

https://github.com/las7/TakoVM
1•sakuraiben•24m ago•0 comments

The gamers taking on the industry to stop it switching off games

https://www.bbc.com/news/articles/c8e8e7g0r82o
1•breve•24m ago•0 comments

Ukrainian drones target St Petersburg in attack Russia calls 'unprecedented'

https://www.bbc.com/news/articles/cg7498kz808o
3•MilnerRoute•24m ago•1 comments

Show HN: Ext-Infer – Native LLM Inference and Embeddings for PHP

https://infer.displace.tech
1•eamann•27m ago•0 comments

Agent in 50 Lines

https://minimal-agent.com/
3•andai•31m ago•1 comments

The oldest surviving animated feature film at 100

https://www.bbc.com/culture/article/20260603-how-a-26-year-old-german-woman-made-the-worlds-oldes...
2•1659447091•31m ago•1 comments

New Biochemistry-Based Metabolic Protocol Seeking Alpha Concierge Members

1•joshwprinceton•33m ago•0 comments

NASA interested in Hubble reboost if costs can be reduced

https://spacenews.com/nasa-interested-in-hubble-reboost-if-costs-can-be-reduced/
2•defrost•49m ago•0 comments

How Liminalism Became the Defining Aesthetic of Our Time

https://hyperallergic.com/how-liminalism-became-the-defining-aesthetic-of-our-time/
4•zeech•54m ago•0 comments

Show HN: Oproxy – inspect and modify network traffic from the browser

https://github.com/sauravrao637/oproxy
3•sauravrao637•55m ago•1 comments

The Demon of the Gaps

https://surfingcomplexity.blog/2026/06/06/the-demon-of-the-gaps/
6•azhenley•1h ago•2 comments

Gnome OS Nightly

https://os.gnome.org
3•shaunpud•1h ago•0 comments

TSMC CEO: I envy their 80% gross margins, but I would never do that

https://www.thestreet.com/investing/stocks/tsmc-taiwan-semiconductor-ceo-sends-blunt-message-to-m...
3•teleforce•1h ago•0 comments

ForgeLite-The Most Minimalized Git

2•david3289•1h ago•0 comments

I made this word find game

https://word.1200tech.com
4•bosco_camera•1h ago•0 comments

Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering

https://arxiv.org/abs/2601.14470
21•Anon84•1h ago•2 comments

Gaia2: Benchmarking LLM Agents on Dynamic and Asynchronous Environments

https://arxiv.org/abs/2602.11964
2•Anon84•1h ago•0 comments

Bitcoin is cratering, but there is a new Wall Street crypto HYPE

https://www.cnbc.com/2026/06/06/bitcoin-price-crash-crypto-hype-hyperliquid-etfs.html
4•KnuthIsGod•1h ago•0 comments

HateArena – A free and open source arena shooter

https://github.com/hatearena/hate
5•death_eternal•1h ago•0 comments

Ask HN: Where do you get the latest updates about AI?

3•d0able•1h ago•1 comments

An Ohio Valley 100k-Watt FM Signal Is Severed in Broad Daylight – Radio World

https://www.radioworld.com/news-and-business/headlines/an-ohio-valley-100000-watt-fm-signal-is-se...
52•pkaeding•1h ago•44 comments

ICE detainees across the US describe medical neglect

https://apnews.com/article/ice-immigration-detention-medical-neglect-dhs-32c3fbeef0c44dfb02fcab89...
5•petethomas•1h ago•0 comments

Super El Niño Events

https://en.wikipedia.org/wiki/Super_El_Ni%C3%B1o_events
4•rolph•1h ago•0 comments