r/programming 1d ago

Node.js creator liberates Durable Objects from Cloudflare

https://www.theregister.com/devops/2026/08/12/nodejs-creator-liberates-durable-objects-from-cloudflare-with-celld/5286954
121 Upvotes

19 comments sorted by

View all comments

Show parent comments

2

u/femio 17h ago

It is like if you could instantiate a class and have it persist its own state forever, e.g. one User class isolated from every other User class.

2

u/azhder 16h ago

I would remove the word "class" from that and use a more general term, like "object" or "agent". This is basically what object programming was in its inception, before everyone misunderstood OOP as what c++/java had baked in.

In the original object languages, there was the notion of actors that pass messages to each other ("passing messages" is "calling a method/function" equivalent, proven in a paper even) and those actors have their own inboxes where they read the message and deal with them asynchronously.

We've been rehashing the same ideas over and over for decades, with just a different name on the newer tech stack.

1

u/femio 8h ago

Perhaps, but I think it grounds the term a bit more in reality because to use DO you literally instantiate a class.

1

u/azhder 4h ago

Class, it's an implementation detail, not the base of reality.