A request was raised by Xuanwo <https://github.com/Xuanwo> to create an 
official *DataSketches Rust implementation*. 
(https://github.com/apache/datasketches-java/issues/698). The goal is to have a 
community-supported, pure Rust library for reading/writing DataSketches. The 
issue is still open with no concrete plan or maintainers yet.

I currently maintain a PoC implementation 
(https://github.com/notfilippo/datasketches-rs), which provides Rust support 
via cxx bindings to the official C++ implementation. I'm happy to donate this 
work and the "datasketches" crate name to this effort.

I plan to explore in the coming days whether re-implementing the sketches in 
pure Rust provides any benefit compared to providing bindings to the C++ 
implementation (which is currently what's done for 
https://github.com/apache/datasketches-python). My intuition tells me that 
there will be at least some benefit in rewriting the sketches that make use of 
C++ templates to cleanly support the Rust type system.

I'm happy to learn your thoughts on this proposal and your opinions on a 
pure-Rust vs binding-based implementation of the library.

Thanks,
Filippo

Reply via email to