You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The (de)serialization functions in yutils.py are generic and could be used for other transports than WebSockets. In Yjs they are part of the lib0 library.
Should we create a new ypy-lib0 repo in this organization?
Tbh. lib0 is very small library in Rust (unlike its counterpart in JS due to differences in standard library capabilities of both languages). From Rust side it's mostly about encoding/decoding variable length integers + serialisation of Any object. I don't know how much of a work it'll be in supporting this as a python wrapper over Rust library vs. simply implementing these functions directly in Python.
I was not aware it already exists in Rust.
We already have them in Python, but I think it would make sense to use a faster implementation, and also it should be extracted out of ypy-websocket. @Waidhoferj do you think Python bindings for the Rust implementation would be easy?
The (de)serialization functions in yutils.py are generic and could be used for other transports than WebSockets. In Yjs they are part of the lib0 library.
Should we create a new
ypy-lib0
repo in this organization?cc @dmonad
The text was updated successfully, but these errors were encountered: