CRDTs

Hi Swift Collections community,

I’m interested in understanding if there’s an alignment with including Conflict-free Replicated Data Types (CRDTs) in the Swift Collections library. While some atomic CRDTs, like Grow-only counters, may not be specific collections, many useful abstractions built upon them are, such as G-Sets.

In previous discussions around HAMTs, concepts like VersionedSet and VersionedDictionary were mentioned. Building on this, would it make sense to add a CRDTModule or a use-case specific target such as VersionedCollections, ConflictFreeCollections, or ConsistentCollections?

Looking forward to your thoughts on this.

2 Likes