3 ms·
If you are interested in CRDTs, take a look at Yjs[0] by Kevin Jahns too, it has bindings for the most popular rich text editors but is also brilliant for gener
by samwillis 5y ago
If you are interested in CRDTs, take a look at Yjs[0] by Kevin Jahns too, it has bindings for the most popular rich text editors but is also brilliant for general data syncing too. It seems to to more performant than Automerge [1]. For an example of using it for shared state take a look at SyncedStore. [2][3].
I think Yjs probably has more potential than Automerge, the community around it is incredible. They have created an Open Collective to fund development of the connected projects[4].
0: https://github.com/yjs/yjs https://github.com/yjs/yjs
1: https://github.com/dmonad/crdt-benchmarks https://github.com/dmonad/crdt-benchmarks
2: https://syncedstore.org/docs/ https://syncedstore.org/docs/
3: https://news.ycombinator.com/item?id=29483913 https://news.ycombinator.com/item?id=29483913
4: https://opencollective.com/y-collective https://opencollective.com/y-collective
- m00dy 5y agoIndeed, yjs looks much more advanced.
- noduerme 5y ago
- terhechte 5y agoKevin is also actively working on a Rust port of yjs [0] which is great for any native app that doesn't run on Javascript but would like to use CRDTs (or interop with other Javascript clients). [0]: https://github.com/y-crdt/y-crdt https://github.com/y-crdt/y-crdt
- WhatIsDukkha 5y agoThere is also an active rust port of automerge fwiw - https://github.com/automerge/automerge-rs https://github.com/automerge/automerge-rs
- sdesol 5y agoHere are some development stats for yjs and automerge for the last 4 months. Ignoring bots, 15 people created pull requests for yjs. 7 people created pull requests for automerge. https://oss.gitsense.com/insights/github?p=targets&q=authors%3AFelixSelter%2CFlamenco%2CMarcoPolo%2CYousefED%2Cbegor%2CboschDev%2Ccarloslfu%2Cdmonad%2Cdoodlewind%2Cept%2Cffd8%2Cfilipot%2Cfson%2Chaved%2Choltwick%2Cja2nicholl%2Cnc%2Cnikgraf%2Cnornagon%2Cokdistribute%2Corionz%2Cukarlsson%2Bpull-age%3A%3C%3D120&t=crc-insights&tb=all&v=automerge%2Fautomerge%20----%20yjs%2Fyjs%3A%3Agithub%3Aautomerge%2Fautomerge%2Cgithub%3Ayjs%2Fyjs%3A%3A%3A%3A%3A%3A1645474960389 https://oss.gitsense.com/insights/github?p=targets&q=authors... What I found interesting is automerge has 3 long time contributors that are still actively contributing: https://oss.gitsense.com/insights/github?q=authors%3Aept%2Cnornagon%2Corionz%2Bpull-age%3A%3C%3D120&t=crc-insights&tb=all&v=automerge%2Fautomerge%3A%3Agithub%3Aautomerge%2Fautomerge%3A%3A%3A%3A https://oss.gitsense.com/insights/github?q=authors%3Aept%2Cn... yjs has 2 https://oss.gitsense.com/insights/github?q=authors%3AboschDev%2Cdmonad%2Bpull-age%3A%3C%3D120&t=crc-insights&tb=all&v=yjs%2Fyjs%3A%3Agithub%3Ayjs%2Fyjs%3A%3A%3A%3A https://oss.gitsense.com/insights/github?q=authors%3AboschDe... And something that I found very interesting is narnagon contributed to both yjs and automerge but hasn't contributed to yjs in the last 4 months. https://oss.gitsense.com/insights/github?p=authors&q=authors%3Anornagon%2Bpull-age%3A%3C%3D120&t=crc-insights&tb=all&v=automerge%2Fautomerge%20----%20yjs%2Fyjs%3A%3Agithub%3Aautomerge%2Fautomerge%2Cgithub%3Ayjs%2Fyjs%3A%3A%3A%3A%3A%3A1645475976869 https://oss.gitsense.com/insights/github?p=authors&q=authors... Full disclosure: The above insights is from my tool Edit: Just an FYI, the gift icon tells you when they first committed, which is how I know if are a long time contributor or not.