Python developer since ages, Rust addict since some time pre 1.0. I love mix and match languages, and find the right tool for the job, especially if learning a new language can change my way of thinking about programming.
A conflict-free replicated data type (CRDT) is a data structure that can be replicated, each replica can be updated independently and it is always mathematically possible to merge the replicas back without conflicts. The simplest CRDT is an append only Set, where the merge is the Set union, building upon this idea we can compose more complex data types. In this talk we will explore how to implement a
cli for a CRDT shopping list, see how Traits are emerging during the code evolution, use cargo to include some useful crates with no pain, and document the code with runnable examples.