https://futureofcoding.org/ logo
#present-company
Title
# present-company
k

Ketan Agrawal

09/11/2022, 11:27 PM
Anyone working on / know the current landscape of protocols for real-time collaboration (ideally editor agnostic)? So far I’ve seen tandem and teletype, but neither seem to be active anymore.
t

Tony Worm

09/12/2022, 4:18 PM
check out CRDT and y.js, this is what people are largely talking about today for RTC. The more academic will point out issues, but they are a good enough solution for most.
s

Srini K

09/12/2022, 8:38 PM
t

Tony Worm

09/12/2022, 9:36 PM
Differential Synchronization is how Google docs originally worked (not sure if it is or not still the way) https://neil.fraser.name/writing/sync/ There were some interesting insights in the paper, notably that you only have to support a reasonable number of users at once.
k

Ketan Agrawal

09/13/2022, 6:57 AM
thank you both for the interesting pointers!! y.js and Peritext both look awesome. The asynchronous/branching model of Peritext is very interesting. I’d love a future where people can do RTC on {code, notes, etc.} using a shared protocol like CRDT, but unlike Google Docs, not everyone is locked into the same tool
t

Tony Worm

09/13/2022, 4:54 PM
How much can you use git? This is what every professional programmer uses for collaboration on code, and RTC would break our workflows most of the time.
k

Ketan Agrawal

09/16/2022, 4:44 AM
Yeah, I mean I use git for work and all my projects. That said I do think there are use cases where RTC seems quite useful though (eg working remotely with someone on some experimental code)
Looks like the former Atom devs are building an editor with RTC: https://zed.dev
t

Tony Worm

09/16/2022, 4:41 PM
The difficulty here is forcing developers to use a certain editor for RTC, vs using Zoom which has RTC by sharing controls. Most of the time, RTC does not need both people with a mouse and keyboard. Convincing developers to use a given IDE is harder than herding cats
j

Joakim Ahnfelt-Rønne

09/18/2022, 7:42 AM
Figma also published an overview of their implementation: https://www.figma.com/blog/how-figmas-multiplayer-technology-works/
2 Views