News for hackers. Stuff that matters.
Re:Edit This Blog Post by wbobeirne on Tuesday February 06, 2024 @10:54PM (#39284304)
Absolutely! The real complexity comes from conflict resolution. If someone edits the top, and someone else edits the bottom, which version do you go with? What if they're editing the same area? Entire companies exist to provide elegant solutions to this[0], so it's no simple task.

0: https://liveblocks.io/

Re:Edit This Blog Post by jusuhi on Wednesday February 07, 2024 @01:50AM (#39285339)
The keywords here are operational transform (OT) and conflict-free replicated data types (CRDT). Fun to implement, there are lots of libs.