frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Can systems function correctly without memory?

1•SpicyG•2h ago
I’ve been thinking about whether memory is actually a runtime requirement for correctness, or just a training signal whose effects persist even when recall is no longer needed.

In practice, many distributed systems accumulate complexity because they treat state as something to negotiate with rather than something to enforce against. When systems attempt to reconcile past states in order to act in the present, they often generate retries, reconciliation logic, and coordination overhead just to stay consistent.

I’ve been experimenting with an enforcement-first pattern where every interaction is treated as a first-time request, invalid states are refused rather than repaired, and state is carried explicitly by the request itself. I put together a minimal reference implementation to make the idea concrete.

I’m curious where people think this model breaks down in practice, and which classes of systems truly require narrative state rather than local constraint enforcement.

https://github.com/SvengsFuture/stateless-substrate

Comments

PaulHoule•1h ago
It depends on what kind of system you're talking about.

If you have no memory, that memory can't get corrupted.

If the memory is carried by the request the memory can't get desynchronized with the request.

You can use cryptographic techniques to prevent tampering and even reuse of states, though reuse can be a feature instead of a bug. Sometimes the state is too big to pass around like a football but even then you can access it with a key and merge it in in a disciplined way.

SpicyG•1h ago
I agree, and I think you’ve named the core constraint cleanly. The distinction I’m trying to draw isn’t “no memory ever,” but no implicit memory required for correctness. If there’s no memory, there’s nothing to corrupt. If memory is carried by the request, it can’t desynchronize from the request. That’s really the invariant I care about. I also agree that cryptographic techniques make this tractable in practice. Signed tokens, capabilities, idempotency keys, and replay protection let you move state to the edge, while also keeping the core enforcement logic stateless. In that model, reuse can be a feature rather than a bug, as long as it’s explicit and verifiable. Where I’ve seen things break down, is when state is large or shared and gets merged implicitly. As you say, sometimes you can’t pass it around like a football, but even then accessing it by key and merging it in a disciplined and bounded way, preserves the same principle: the system shouldn’t need to remember in order to act correctly. So for me it’s less “stateless vs stateful” and more “enforced state vs negotiated state.” Once the system starts negotiating with history, entropy creeps in very fast.
thinkingkong•1h ago
Well… if you look at pure functions without ant state then thats a whole class of computing you can refer to. The problem is that its not efficient to calculate state from arguments for everything. We end up saving to disk, writing packets over the network, etc. In a purely theoretical environment you could avoid state, but the real world imposes constraints that you need to operate within or between.

Additionally, depending how deep down you go, theres state stored somewhere to calculate against. Vues are stored in some kind of register and theyre passed into operations with a target register as an additional argument.

SpicyG•1h ago
I agree, and I think this is where the distinction matters. I’m not claiming that state disappears, or that computation can be purely stateless all the way down. There is always state somewhere - registers, buffers, disks, networks. The question is where authority lives and whether correctness depends on reconstructing history. The inefficiency you point out is real: recomputing everything from arguments is often worse than persisting state. That’s why the pattern I’m aiming at isn’t “no state,” but no implicit, negotiated state. State can exist, be large, and even be shared — but it should be explicit, bounded, and verifiable, not something the system has to infer or reconcile in order to proceed. At the lowest levels, yes, registers hold values and operations mutate targets. But those mutations are local, immediate, and enforced by hardware invariants. Problems tend to appear higher up when systems start treating historical state as narrative, as something to reason about, merge, or explain, rather than as input with strict admissibility rules. So I see this less as a theoretical purity claim and more as a placement problem: push state to places where enforcement is cheap and local, and keep it out of places where it turns into coordination and recovery logic.

A Decline in Churchgoing Led to a Rise in 'Deaths of Despair'

https://studyfinds.org/churches-kept-americans-alive-states-made-a-decision/
1•pfrrp•5m ago•1 comments

Talk about Cooperation

https://lee-notion-blog-psi.vercel.app/article/2d63e9e4-833e-802d-b2bc-cf3213802693
1•MuziLee•9m ago•0 comments

Where scrollbars are clicked, and why [pdf]

https://link.springer.com/article/10.1186/s41235-024-00551-z
1•thunderbong•11m ago•0 comments

Rust Errors Without Dependencies

https://vincents.dev/blog/rust-errors-without-dependencies/
1•vsgherzi•13m ago•0 comments

Poor Charlie's Almanack: The Essential Wit and Wisdom of Charles T. Munger

https://www.stripe.press/poor-charlies-almanack
1•vinhnx•13m ago•1 comments

Gertrude Stein Style Training

https://muratcankoylan.com/projects/gertrude-stein-style-training/
1•vuciv•15m ago•1 comments

Show HN: Supabase Auth Site – An out-of-the-box auth site powered by Supabase

https://github.com/saltbo/supabase-auth-site
1•saltbo•21m ago•0 comments

Show HN: Laravel Brick Money Package

https://github.com/devhammed/laravel-brick-money
1•Horlahcoded•26m ago•1 comments

Boris Cherny on Claude Code a Year In

https://twitter.com/bcherny/status/2004887829252317325
1•doppp•36m ago•1 comments

Show HN: PineCone – A bundler for splitting PineScript into multiple files

2•claudianadalin•40m ago•0 comments

Skill for Vue/React refactoring driven by VHO analysis

https://github.com/zcf0508/vue-hook-optimizer/blob/master/packages/mcp/refactor_prompt_en.md
1•huali•42m ago•0 comments

Show HN: Relay – Connect Claude Desktop and Claude Code via MCP

https://github.com/mhcoen/mcp-relay
1•mhcoen•42m ago•0 comments

How Booking.com Works

https://www.booking.com/content/how_we_work.en-gb.html
1•nomilk•44m ago•0 comments

An AI pioneer says the technology is 'limited' and won't replace humans soon

https://www.nbcnews.com/tech/innovation/andrew-ng-says-ai-limited-wont-replace-humans-anytime-soo...
3•nis0s•45m ago•1 comments

Dialtone – AOL 3.0 Server

https://dialtone.live/
2•rickcarlino•45m ago•0 comments

Union Pacific 4014

https://en.wikipedia.org/wiki/Union_Pacific_4014
3•bob1029•49m ago•1 comments

AI skeptic DeSantis: 'We have to reject that with every fiber of our being'

https://www.politico.com/news/2025/12/27/we-have-to-reject-that-with-every-fiber-of-our-being-des...
3•mitchbob•51m ago•2 comments

The story of pantomime

https://www.vam.ac.uk/articles/the-story-of-pantomime
2•1659447091•56m ago•0 comments

Nvidia deal a big win for Groq employees and investors

https://www.axios.com/2025/12/28/nvidia-groq-shareholders
4•wmf•59m ago•1 comments

Still Bother to Learn to Program

https://jeffmorhous.com/learn-to-program-with-ai/
3•wordsaboutcode•1h ago•0 comments

Ask HN: HN Blocks Sites Like Fox News?

2•silexia•1h ago•14 comments

Scripts Stats

https://vermaden.wordpress.com/2025/12/28/scripts-stats/
1•vermaden•1h ago•0 comments

Building the Monolith: Composable Rendering Systems for a 13-Scene WebGL Epic

https://tympanus.net/codrops/2025/11/29/building-the-monolith-composable-rendering-systems-for-a-...
1•PaulHoule•1h ago•0 comments

Acquacotta – A Pomodoro system using Google Sheets as a database

https://github.com/fatherlinux/Acquacotta
1•fatherlinnux•1h ago•1 comments

Cursed Bundler: Using Go Get to Install Ruby Gems – Andrew Nesbitt

https://nesbitt.io/2025/12/25/cursed-bundler-using-go-get-to-install-ruby-gems.html
1•hboon•1h ago•0 comments

The Boss Who Gave His Employees a $240M Gift

https://www.wsj.com/business/fibrebond-eaton-bonus-walker-30844d62
3•sebmellen•1h ago•2 comments

Show HN: A 12KB Deterministic AI Kernel for Robotics (bestbrain-core)

https://codeberg.org/ishrikantbhosale/bestbrain-core
1•setmd•1h ago•2 comments

Timeline for your Apple Devices – stored locally

https://github.com/kennym/find-my-timeline
2•hellokenny•1h ago•1 comments

Resisting Authoritarianism in Today's Classrooms

https://www.laprogressive.com/education-reform/resisting-authoritarianism
1•hkhn•1h ago•0 comments

Radial Hyperbolic Architecture – 37D golden-ratio lattice in Poincaré disk

https://github.com/robertjeffrey1236/Radial-Hyperbolic-Architecture-Prototype
1•Robertjeffrey12•1h ago•0 comments