About:

Swift development in a data decentral universe

Website:

Outgoing Links:

Michael J. Tsai
Subscribe to RSS:
Ensembles 3, a peer-to-peer sync framework, has been rewritten in Swift 6 with new features and is now in public beta, enhancing local-first data synchronization.
The text discusses the author's concerns about the impact of AI and LLMs on society, particularly in relation to the manipulation of social media and the potential threat to democracy. The author reflects on the rapid advancement ...
The text discusses the development of a new Swift framework called Forked for working with shared data, both on a single device and across many. It explains the challenges faced in developing the collaboration feature of the app A...
The text discusses the development of a distributed data app with SwiftUI and CRDTs. It explains the process of replicating types in Swift, the mathematical features they must possess, and the tools to build them. The app, Decent ...
The text discusses the concept of ReplicatingArray, a complex type that allows concurrent edits to an ordered array and merges the replicas in a neat way, particularly suitable for text. It explains the challenges of maintaining o...
The text discusses the debate among Swift developers about whether to force unwrap optionals. The author argues in favor of force unwrapping, stating that it is better to crash early and often rather than disguising developer inte...
The text discusses the concept of ReplicatingDictionary in Swift, which is a common data type. It explains the ability to recursively merge values in the dictionary and how it can be used to build complex data models that sync up ...

0Time for Tombstones

2020-08-20

The post introduces a new collection type, ReplicatingSet, which is capable of handling removals. It includes important concepts and tools for building other replicating types, such as handling deleted values and tracking time usi...
The text introduces the concept of a replicating collection, specifically the add-only set. It explains the limitations of a replicating register and the need for new types capable of partial merging. The add-only set is described...
The text discusses Conflict-Free Replicated Data Types (CRDTs) and introduces the concept of a Replicating Register, which is a type that stores a value together with the timestamp at which the value was last changed. It explains ...
The text introduces the concept of Conflict-Free Replicated Data Types (CRDTs) and how they can be used in Swift to sync data across multiple devices. It explains the benefits of using replicating types and how they can be used wi...