News for hackers. Stuff that matters.
Re:Show HN: CodeCafé – A real-time collaborative code editor... by tpae on Monday May 05, 2025 @09:54AM (#43895169)
Question for you, how come you didn't use CDRT like yjs? It could simplify the codebase
Re:Show HN: CodeCafé – A real-time collaborative code editor... by mrktsm__ on Monday May 05, 2025 @10:08AM (#43895340)
Good question — before diving into the project, I did have the chance to choose. I looked into both OT and CRDTs and found that OT is widely used in collaborative editors like Google Docs, so I leaned that way. I wouldn’t say it was a deeply informed decision — I just had more reference points for OT at the time. I think with more hands-on experience with CRDTs, I’d be better equipped to weigh the trade-offs more clearly
Re:Show HN: CodeCafé – A real-time collaborative code editor... by ggap on Monday May 05, 2025 @10:22AM (#43895480)
Well done on this! I will keep an eye on the project