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

Comments

panstromek•4mo 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•4mo 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•4mo 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_•4mo 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_•4mo 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•4mo 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•4mo 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: Remote Shell – extreme-vibe coding from your phone

https://remote-shell.bringes.io
1•iosifnicolae2•51s ago•0 comments

Track Aipac (American Israel Public Affairs Committee) Donations

https://www.trackaipac.com
1•iamarco•1m ago•0 comments

Show HN: ContentRepurpose.pro – Paste once to get LinkedIn/X/Email/IG drafts

https://contentrepurpose.pro/
1•wcagscans•2m ago•1 comments

I uncovered an ACPI bug in my Dell Inspiron 5567. It was plaguing me for 8 years

https://triangulatedexistence.mataroa.blog/blog/i-uncovered-an-acpi-bug-in-my-dell-inspiron-5667-...
2•thunderbong•3m ago•0 comments

Deskflow in Action: How I Share My Mac Keyboard and Mouse with Linux

https://wasi0013.com/2025/09/18/deskflow-in-action-how-i-share-my-mac-keyboard-and-mouse-with-linux/
2•furkansahin•7m ago•0 comments

Flight attendants have gone 50 years without ground pay–here's the reason

https://theconversation.com/flight-attendants-have-gone-50-years-without-ground-pay-heres-the-rea...
1•PaulHoule•8m ago•0 comments

The Rise of Emotional Intelligence Apps: Equanima's Innovative Approach

https://equanima.io/the-rise-of-emotional-intelligence-apps-equanimas-innovative-approach/
1•radustoia•8m ago•0 comments

Claude Muzak: Elevator music for your Claude Code tasks

https://github.com/mikeindustries/Claude-Muzak
1•ingve•8m ago•0 comments

Nvidia and Intel to Develop AI Infrastructure and Personal Computing Products

https://nvidianews.nvidia.com/news/nvidia-and-intel-to-develop-ai-infrastructure-and-personal-com...
3•pr337h4m•12m ago•0 comments

The Pat Metheny Method: Not Fusion, Not Jazz, Not Rock (1979)

https://insheepsclothinghifi.com/the-pat-metheny-method-1979/
3•XzetaU8•12m ago•0 comments

Nvidia bets big on Intel with $5B stake and chip partnership

https://www.reuters.com/world/asia-pacific/nvidia-bets-big-intel-with-5-billion-stake-chip-partne...
2•ckastner•13m ago•0 comments

Show HN: XPlant – Track, optimize and iterate your plants like code

https://xplant.shmaplex.com
1•shmaplex•14m ago•0 comments

Signy: Signed URLs for Small Devices

https://github.com/golioth/signy
1•hasheddan•15m ago•0 comments

The Billionaire Trump Supporter Who Will Soon Own the News

https://www.nytimes.com/2025/09/18/opinion/larry-ellison-paramount-cbs-tiktok.html
4•ripe•15m ago•0 comments

RISC-V Needs Secure 'Wheels': The MCU Initiator-Side Perspective

https://arxiv.org/abs/2410.09839
2•fork-bomber•20m ago•0 comments

Arch Linux AUR package repository is being DDoSed

https://status.archlinux.org/
2•lenova•21m ago•2 comments

Nvidia to Invest $5B in Intel

https://www.ft.com/content/be8d4c0c-66ff-4dfd-9b43-af6c0b290ada
2•mmarian•22m ago•0 comments

Whose Punctuation Is More Human: Yours or A.I.'S?

https://www.nytimes.com/2025/09/18/magazine/chatgpt-dash-hyphen-writing-communication.html
1•tonez•22m ago•1 comments

Why the Events in Gaza Are Not "Genocide"

https://www.ajc.org/news/5-reasons-why-the-events-in-gaza-are-not-genocide
1•spacelaserfan•26m ago•1 comments

Literate Programming

https://en.wikipedia.org/wiki/Literate_programming
2•busfahrer•28m ago•0 comments

What is the recipe for human progress?

https://capx.co/what-is-the-recipe-for-human-progress
2•marcsidwell•29m ago•0 comments

Proprietary sector indexes across tech and beyond

https://multiples.vc/sector-indexes
1•ashvardanian•29m ago•0 comments

Mirror Life Worries

https://www.science.org/content/blog-post/mirror-life-worries
1•etiam•30m ago•0 comments

The Challenges of Distributed Systems

https://newsletter.francofernando.com/p/the-challenges-of-distributed-systems
1•ibobev•31m ago•0 comments

American Chemical Society: do not expect CO2 capture breakthrough to save us

https://www.youtube.com/watch?v=dWJi8pRBW4E
2•gsf_emergency_2•34m ago•0 comments

Kmart broke privacy laws by using facial recognition, commissioner finds

https://www.abc.net.au/news/2025-09-18/kmart-facial-recognition-technology-privacy-commissioner/1...
2•maxeda•34m ago•0 comments

RDMA-Powered Distributed Cache for Fast AI Training and Inference

https://github.com/blackbird-io/blackbird
15•hackercat01012•35m ago•0 comments

The Constexpr Debugger

https://blog.jetbrains.com/clion/2025/09/introducing-constexpr-debugger/
2•ashvardanian•36m ago•0 comments

Unbundling Adobe

https://blog.tryresearchly.com/articles/unbundling-adobe-ai
1•leo_researchly•37m ago•0 comments

China's largest chipmaker testing first homegrown immersion DUV litho tool

https://www.tomshardware.com/tech-industry/semiconductors/chinas-largest-foundry-testing-first-do...
2•dataminer•41m ago•0 comments