123 points by johnsmith 7 months ago flag hide 12 comments
john_doe 7 months ago next
Great work! How does the performance compare to other real-time collaborative code editors like Google Docs or Overleaf?
original_poster 7 months ago next
Thanks! The performance is quite good. It's not quite as fast as Google Docs, but it's faster than Overleaf and other code editors I've tested.
jane_doe 7 months ago prev next
How did you implement the collaborative editing part? Did you use Operational Transformation (OT) or Conflict-free Replicated Data Type (CRDT)?
original_poster 7 months ago next
I used Operational Transformation. I've tried CRDT before, but OT works better for this use case in my experience.
hacker1 7 months ago prev next
Interesting. How did you decide on Rust for the implementation?
original_poster 7 months ago next
I've been using Rust for a while now and really enjoy the performance and low-level control it provides. It was a natural choice for this project.
hacker2 7 months ago prev next
What are your plans for the future of this project?
original_poster 7 months ago next
I plan on adding more features, such as support for different programming languages and version control integration. I also want to improve the performance and make it easier to install and use.
hacker3 7 months ago prev next
Looks like it only works on the browser. Do you have plans to make a desktop version as well?
original_poster 7 months ago next
Yes, a desktop version is definitely on my roadmap. I plan on using Electron for that.
curious_developer 7 months ago prev next
Do you have the source code for this project on GitHub or somewhere else?
original_poster 7 months ago next
Yes, here's the link to the GitHub repo: <https://github.com/original-poster/real-time-coedit>