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

Underappreciated Books to Learn Object Oriented Design and UML?

2•shivajikobardan•5m ago•0 comments

Council reaches position on Chat Control

https://www.consilium.europa.eu/en/press/press-releases/2025/11/26/child-sexual-abuse-council-rea...
1•tonoto•5m ago•1 comments

Replace internal links in the new Gato AI Translations (WordPress)

https://gatoplugins.com/blog/replace-internal-link-urls-with-v15-2-of-gato-ai-translations-for-po...
1•leoloso•5m ago•0 comments

Show HN: VibeJar – Mood Tracking and Journal

https://apps.apple.com/in/app/vibejar-mood-tracker-journal/id6755709551
1•mohninad•10m ago•0 comments

LLMs: The gift that keeps on giving

https://mltrenches.substack.com/p/llms-the-gift-that-keeps-on-giving
2•druub•13m ago•0 comments

The Monocab Project

https://www.monocab-owl.de/english-language/
1•robin_reala•13m ago•0 comments

DevOps Manifesto: Against SiloOps and SoloOps – DevOps Is Software Engineering

https://alterloop.dev/manifesto/
1•francescobianco•13m ago•0 comments

30+ AI coding agents in the terminal, IDE, web

https://awesome-coding-ai.vercel.app/
2•ohong•15m ago•0 comments

Show HN: Preshiplist – A fast way to ship waitlist websites without headaches

https://www.preshiplist.co/
1•Frederick_22xAI•15m ago•0 comments

Counter Galois Onion: Improved encryption for Tor circuit traffic

https://blog.torproject.org/introducing-cgo/
1•fanf2•15m ago•0 comments

Judicial Malfeasance and Palestine Action

https://www.craigmurray.org.uk/archives/2025/11/judicial-malfeasance-and-palestine-action/
1•jjgreen•19m ago•0 comments

Security Flaws in DeepSeek-Generated Code Linked to Political Triggers

https://www.crowdstrike.com/en-us/blog/crowdstrike-researchers-identify-hidden-vulnerabilities-ai...
2•shalmanese•23m ago•0 comments

$9 author sues over 384M Indian Jones movie

https://www.google.com/search?q=+author+sues+over+384M+Indian+Jones+movie
2•asdefghyk•25m ago•1 comments

Model Context Protocol (MCP) Specification 2025-11-25

https://mcp.mintlify.app/specification/2025-11-25
1•somesnm•27m ago•0 comments

AI Legal system disruption with contract engineering

https://kyc.co/articles/vertical-markets-vanishing-lawyers-and-the-new-operating-system-of-commerce
1•steven555•31m ago•1 comments

I Reverse-Engineered Exa.ai Infrastructure Cost with Napkin Math

https://www.kshivendu.dev/blog/exa-napkin-math
1•kshivendu•33m ago•1 comments

Hurl 7.1.0, the Pretty Edition

https://hurl.dev/blog/2025/11/26/hurl-7.1.0-the-pretty-edition.html
2•jicea•34m ago•0 comments

Show HN: How to Quickly and Free Remove TikTok Video Watermarks

https://vdraw.ai/tiktok-watermark-remover
1•passioner•39m ago•0 comments

ArcOS v1.1 – A Natural-Language Cognitive Operating System

https://github.com/Takeshi-Sakamoto5/ArcOS-v1.1
1•takeshi_sakamo•43m ago•1 comments

Which Browser Should I Use In 2025

https://hackaday.com/2025/04/07/which-browser-should-i-use-in-2025/
2•heatherleelove•46m ago•0 comments

Health Care Systems

https://rodgercuddington.substack.com/p/healthcare-systems
2•freespirt•46m ago•1 comments

A New Blueprint: House of Leaves and AI

https://oxonianreview.com/articles/a-new-blueprint-house-of-leaves-and-ai
1•bryanrasmussen•47m ago•0 comments

Building Self-Hosting Rails Applications: Design Decisions and Why

https://sendbroadcast.net/blog/self-hosting-rails
1•amalinovic•49m ago•0 comments

Foreign tourists to pay extra fee to visit US national parks

https://www.bbc.com/news/articles/c1kpnxvpgy2o
1•mikhael•52m ago•1 comments

Benchmarking GPT-5.1 vs. Gemini 3.0 vs. Opus 4.5 across 3 Coding Tasks

https://blog.kilo.ai/p/benchmarking-gpt-51-vs-gemini-30-vs-opus-45
2•heymax054•57m ago•0 comments

Recent Performance and Administration Features in Firebird

https://www.ibphoenix.com/articles/art-00000602
1•mariuz•57m ago•0 comments

Show HN: Lifeline – Visual memory journal with emotion auras and AI companion

https://mylifelineapp.com/
1•Remi_Etien•59m ago•0 comments

Why Pricing Power Is the Most Important Economic Signal No One Tracks

https://capitalfolly.com/
2•d_e_solomon•1h ago•2 comments

Should R ecosystem be a choice for longer-term projects?

1•northlondoner•1h ago•0 comments

If you're building an AI product, interface is your primry competitive advantage

https://eleganthack.com/ux-is-your-moat-and-youre-ignoring-it/
2•kaizenb•1h ago•0 comments