2 ms·
> Hmm, makes me wonder if this data structure would also support CRDTs. Collaborative editing is a nice thing to be able to support. Text CRDTs are not very di
by anchpop 5y ago
> Hmm, makes me wonder if this data structure would also support CRDTs. Collaborative editing is a nice thing to be able to support.
Text CRDTs are not very difficult, but representing an AST as a CRDT is an open problem. See [1]. There has thankfully been some progress from HN's own dmulligan, see [2].
[1]: https://writer.zohopublic.com/writer/published/grcwy5c699d67b9c444219b60cdb90ccbabc7 https://writer.zohopublic.com/writer/published/grcwy5c699d67...
[2]: https://martin.kleppmann.com/papers/move-op.pdf https://martin.kleppmann.com/papers/move-op.pdf