Re:You might not need a CRDT
by preseinger on Tuesday December 06, 2022 @02:46PM
(#33885956)
Er, how can you express the merge operation as a type?
See https://raw.githubusercontent.com/braid-org/braid-spec/maste...
And for a more intuitive explanation, this might help: https://braid.org/demo/interact#a-merge-type-defines-how-to-...
Re:You might not need a CRDT
by preseinger on Wednesday December 07, 2022 @06:40PM
(#33901994)
> A Merge Type is a function
Er, okay, if you redefine "type" to mean "function" then sure.
Each datum as both a data type and a merge type. The programmer just needs to specify these two types, and then the programming runtime can choose which synchronization algorithm to use.