Re:Introduction to Loro's Rich Text CRDT
by josephg on Tuesday January 23, 2024 @11:40AM
(#39105736)
Yep. And git can't at all handle realtime editing (since you'd need to commit & push after every keystroke). Or handle any non-text data. Even markdown, as you mentioned, can be a pain.
CRDTs should be able to solve all of these problems. One thing we're still missing in CRDTs is git style conflicts when merging long running branches. Should be possible - but still nobody has solved that as far as I know.
Re:Introduction to Loro's Rich Text CRDT
by mixmastamyk on Wednesday January 24, 2024 @04:54PM
(#39123073)
Re: markdown in vcs
Put each sentence and/or clause on its own line and it will avoid a large fraction of issues. Not all though.
I’ve tried managing markdown docs in git a few times. Even with a team of senior+ engineer git experts it became a pain on frequently changing documents because conflicts were so common — if you wrap markdown at 80 characters, rewording a sentence is more likely to merge conflict than changing a variable in code since it may re-wrap several lines; and if you don’t wrap at all, any change in the paragraph will conflict on the entire paragraph.