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

Prizewinning Solution of the LeHome Challenge

https://ilialarchenko.com/projects/lehome2026/
1•GaggiX•26s ago•0 comments

NInfer: Tok/s (543 with speculative) for Qwen3.6-35B-A3B on one RTX 5090

https://github.com/Neroued/ninfer
1•opwizardx•2m ago•0 comments

More Money, More Problems

https://www.carlyle.com/carlyle-compass/more-money-more-problems
1•RickJWagner•5m ago•0 comments

NextDemo – product videos that re-render when your app changes

https://nextdemo.app
1•tonyzvony•8m ago•0 comments

Show HN: I created a catalog with embeds for your projects

https://github.com/embedcatalog/embedcatalog
1•aanthonymax•8m ago•0 comments

WazirX stole my crypto and it might be stealing yours too

https://yashmehrotra.com/posts/wazirx-stole-my-crypto-and-it-might-be-stealing-yours-too/
1•yashmehrotra•8m ago•1 comments

XPitch – Football Match Analysis

http://ismailsunni.id/xpitch/help
1•altilunium•11m ago•0 comments

The Computer That Helped Win World War II

https://spectrum.ieee.org/colossus-computer-ieee-milestone
1•sohkamyung•12m ago•0 comments

Gurus

https://orchidfiles.com/gurus/
2•theorchid•12m ago•0 comments

Publishers consider opting out of Google as search traffic declines

https://www.niemanlab.org/2026/07/search-traffic-has-declined-so-much-that-some-publishers-are-co...
3•giuliomagnifico•14m ago•0 comments

Free WhatsApp Sender

https://wawebsender.com
1•aiqanobzfsej5•15m ago•1 comments

You Can't Lay Off a Datacenter

https://okulez.com/blog/you-cant-lay-off-a-datacenter
3•oku_research•15m ago•0 comments

Show HN: VMKeeper, backups for standalone ESXi without vCenter

https://neurontex.eu/vmkeeper
1•vmeiers•15m ago•0 comments

ChatGPT, the Abacus, and Education (2022)

https://blog.charliemeyer.co/chatgpt-the-abacus-and-education/
1•csmeyer•17m ago•0 comments

Google AI Overviews recommend brands your rank tracker never sees

https://medium.com/@a.galecki/google-ai-overviews-recommend-brands-your-rank-tracker-never-sees-e...
1•NodesHub•18m ago•0 comments

Powerful AIs might escape by releasing themselves as open-weight models

https://www.seangoedecke.com/powerful-ais-might-escape-by-releasing-open-weight-models/
1•jbredeche•18m ago•0 comments

Window Hints – Keyboard-first window switching

https://windowhints.com
2•mihau•19m ago•1 comments

The Missing Step Between Agents and Continual Learning

https://lixinge.substack.com/p/the-missing-step-between-agents-and
1•xgli•20m ago•0 comments

Are we living in an age of statistical mediocrity?

https://bbuyukliev.blogspot.com/2026/07/are-we-living-in-age-of-statistical.html
1•bluetomcat•23m ago•0 comments

Build apk vert easily

https://philbuilder.netlify.app
2•henockagbo•26m ago•0 comments

Journalist had his mobile phone seized. Did using GrapheneOS protect his data?

https://www.computerweekly.com/feature/Journalist-Richard-Medhurst-had-his-mobile-phone-seized-Di...
4•rzk•28m ago•0 comments

Tiny inference engine in pure Rust, CPU-only, with TUI visualization

https://github.com/AspadaX/tiny-llama
2•AsapdaX•28m ago•0 comments

Trigger tree is now available as a CI action on GitHub too

https://github.com/Hedde/trigger_tree
1•DevAutomationCC•31m ago•1 comments

The Atlas of Software Engineering Practices

https://eng-atlas.dev/
2•xuancanh•33m ago•0 comments

Lacrima Et Alice Vtuberfr

https://fhentai.net/read/3867871
1•fdfdevev•33m ago•0 comments

Show HN: Frontier model pricing is a rip-off, so I built an open-source CLI

https://kolegacode.com
2•fabioricardo7•37m ago•0 comments

Build and get early validation from your ideas

https://idearify.com
1•isaaksmart•38m ago•0 comments

Science: A New Golden Age

https://www.whitehouse.gov/science/
5•ajackfox•41m ago•1 comments

New Framework Desktop Option with AMD Ryzen AI Max+ Pro 495 and 192GB Memory

https://frame.work/desktop?tab=192gb-coming-soon
13•PhilippGille•42m ago•2 comments

Generative AI floods and dilutes the market for books

https://arxiv.org/abs/2607.20349
2•sbulaev•45m ago•0 comments