Company
Date Published
Author
Amjad Masad
Word count
836
Language
English
Hacker News points
None

Summary

We've redesigned our core protocol to make Repl.it a collaborative environment at its core. This change is enabled by our new Collaborative Development Protocol (CDP), which uses channels as the core concept, allowing clients to connect to the same channel to share resources. Our system now supports real-time coding and asynchronous collaboration, making it easier for users to work together on long-term projects. We've also implemented Operational Transformation (OT) to handle file changes in a concurrent and collaborative manner, moving the file authority from the client to the server. This allows for more efficient and seamless collaborative experiences, with features like file watching daemons generating OT messages and broadcasting them to subscribed clients.