Christopher Allan Webber

[UPDATE: I am wrong] Why XUDD is stuck (or: why Python needs better immutable structures)

Christopher Allan Webber at

Some of you may have heard me rant here or there on here about XUDD, an implementation of the actor model which I'm still in many ways excited about. But the project is stuck.

tl;dr: the lack of good functional data structures in Python has kinda killed the project in its present state. If there's a way out that I'm missing though, I'd love to know about it.

Update! I'm wrong. I updated the post.

Seems to me you could send objects as messages, that only allow reading their state, not setting.

joeyh at 2015-02-24T14:02:47Z

That's true... though it does require a serialization of a sort if sending collections: you have to traverse the collection and convert all child elements to read-only also. Though I guess if you're restricting users to sending "ReadOnlyDict" across the wire, you could use similar ReadOnlyDicts nested.

That's probably a good solution.

Christopher Allan Webber at 2015-02-24T15:30:39Z

So I got a number of pointers as to how there are a number of ways forward. I've updated the post accordingly!

Christopher Allan Webber at 2015-02-24T17:27:18Z

I'm going to add your blog's feed to ttrss. Seeing the links you post here is too hit and miss.

lnxwalt@microca.st at 2015-02-24T17:37:21Z