-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add context and relation to Ypy (#47)
- Loading branch information
1 parent
d4a6896
commit ab2535a
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
Pycrdt is a Python CRDT library that provides bindings for [Yrs](https://github.com/y-crdt/y-crdt/tree/main/yrs), the Rust port of the [Yjs framework](https://yjs.dev). | ||
Pycrdt is a Python CRDT library that provides bindings for [Yrs](https://github.com/y-crdt/y-crdt/tree/main/yrs), the Rust port of the [Yjs framework](https://yjs.dev). | ||
|
||
Conflict-free Replicated Data Types (CRDTs) allow creating shared documents that can automatically merge changes made concurrently on different "copies" of the data. When the data lives on different machines, they make it possible to build distributed systems that work with local data, leaving the synchronization and conflict resolution with remote data to the CRDT algorithm, which ensures that all data replicas eventually converge to the same state. | ||
|
||
Pycrdt is an alternative to [Ypy](https://ypy.readthedocs.io/). Their architectures differ in that pycrdt is a mixed Python/Rust project, while ypy is Rust-only. This probably gives ypy a performance gain, at the cost of complexity. Pycrdt is more Pythonic and its code base probably easier to understand and maintain. For more information, see the following GitHub issues: | ||
|
||
- [Move pycrdt to jupyter-server](https://github.com/jupyter-server/team-compass/issues/55) | ||
- [New Python bindings for Yrs](https://github.com/y-crdt/ypy/issues/146) |