4 ms·
Almost -- you can actually have different algorithms that still merge the same way. See our interoperability demo here: https://braid.news/demo/interoperate h
by toomim 7y ago
Almost -- you can actually have different algorithms that still merge the same way. See our interoperability demo here:
https://braid.news/demo/interoperate https://braid.news/demo/interoperate
This demo shows a CRDT and OT system interoperating. They use different algorithms, but merge (almost) the same way!
(I say "almost" because we aren't using the same sorting function to break ties when two people edit in the same location. But this could be fixed.)
In practice, you can certainly specify a merge-type in terms of an algorithm, by saying "this resource merges in the way that the Automerge algorithm merges." But you can also state it abstractly -- for instance, as we do here: https://braid.news/demo/interact#a-merge-type-defines-how-to-flatten-bubbles-in-space https://braid.news/demo/interact#a-merge-type-defines-how-to...