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

Comments

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

AI and Voter Engagement

https://www.schneier.com/blog/archives/2025/11/ai-and-voter-engagement.html
1•speckx•45s ago•0 comments

D-Wave Among Few Ramping Quantum Computer Sales

https://www.eetimes.com/d-wave-among-few-ramping-quantum-computer-sales/
1•JoachimS•1m ago•0 comments

Digital Euro

https://en.wikipedia.org/wiki/Digital_euro
1•doener•2m ago•0 comments

Europe's battle for control of its money

https://www.ft.com/content/fe65d870-9d01-4ae7-8796-d8f21db402ba
1•doener•3m ago•0 comments

State of RSS Survey 2025

https://stateofrss.com/2025
1•not--felix•3m ago•0 comments

OpenSourcing Claude Code SDK Code

https://github.com/anthropics/claude-agent-sdk-typescript/issues/57
1•aschen•6m ago•0 comments

Show HN: Fastmail.com masked email CLI tool

https://github.com/fredrmb/masked_fastmail
1•fredmb•6m ago•0 comments

Without US satellites, 'we go dark', tells climate monitor

https://phys.org/news/2025-11-satellites-dark-climate-afp.html
1•defrost•7m ago•0 comments

Message catalogs with compile-time guarantees in Rust

https://github.com/yawn/manifest
1•betareducer•9m ago•1 comments

I guess I'm never paying DreamHost back

https://danq.me/2025/11/18/dreamhost-payback/
1•speckx•9m ago•0 comments

LaTeX template and VS Code setup as an offline alternative to Overleaf

https://github.com/L-51/latex-template-vscode
1•L-51•10m ago•1 comments

Cara Reschedule Agoda Hubungi (0815)4054505

1•notefox•13m ago•0 comments

Claude now available in Microsoft Foundry and Microsoft 365 Copilot

https://www.anthropic.com/news/claude-in-microsoft-foundry
2•taspeotis•13m ago•0 comments

Microsoft is turning Windows into an 'agentic OS,' starting with the taskbar

https://www.theverge.com/news/821948/microsoft-windows-11-ai-agents-taskbar-integration
2•robtherobber•13m ago•0 comments

Kontak Call Center Agoda (0815)4054505

1•notefox•15m ago•0 comments

New ways to plan travel with AI in Search

https://blog.google/products/search/agentic-plans-booking-travel-canvas-ai-mode/
1•jbredeche•16m ago•0 comments

Show HN: Small hardware box that runs local LLMs and exposes an OpenAI API

https://axis-one-psi.vercel.app/
2•mjupp1•16m ago•0 comments

Layanan Agoda Resmi 0815.4054.505

1•notefox•18m ago•0 comments

uBlock origin fileters for github users

https://bananachips.club/@lichen/115575291081552637
1•nabla9•25m ago•1 comments

Compositor for Windows 0.4

https://compositorapp.com/blog/2025-11-15/Compositor-Windows-04/
1•serhack_•25m ago•0 comments

What Killed Perl?

https://entropicthoughts.com/what-killed-perl
1•speckx•25m ago•1 comments

Watch out for online Chinese spy contact, UK defence minister warns public

https://www.theguardian.com/world/2025/nov/19/watch-out-online-contact-chinese-spies-uk-defence-m...
1•ljf•27m ago•0 comments

The Tragedy of Interplay Entertainment – The Cockroach of the Gaming Industry [video]

https://www.youtube.com/watch?v=nmyhmKQYWzg
1•doener•28m ago•0 comments

Don't let your pipes get empty

https://emeaentrepreneurs.com/anti/dont-let-your-pipes-get-empty/
1•sixhobbits•29m ago•0 comments

Fortnite is getting Unity games

https://www.theverge.com/report/823233/fortnite-epic-games-unity-creators-developers-tim-sweeney-...
1•meheleventyone•32m ago•0 comments

Linus Torvalds: Vibe coding is fine, but not for production

https://www.theregister.com/2025/11/18/linus_torvalds_vibe_coding/
2•msolujic•32m ago•0 comments

Big Tech Wants Direct Access to Our Brains

https://www.nytimes.com/2025/11/14/magazine/neurotech-neuralink-rights-regulations.html
2•the-mitr•34m ago•0 comments

Benchmarking Language Implementations: Am I doing it right? Get Early Feedback

https://stefan-marr.de/2025/11/experimental-setups/
2•speckx•37m ago•0 comments

CSS has become too POWERFUL

https://blog.nordcraft.com/css-has-become-too-powerful
6•AndreasMoeller•43m ago•6 comments

Quantum physicists have shrunk and "de-censored" DeepSeek R1

https://www.technologyreview.com/2025/11/19/1128119/quantum-physicists-compress-and-deconsor-deep...
8•fleahunter•45m ago•2 comments