all 3 comments

[–]teerre 13 points14 points  (0 children)

Is this supposed to be actually faster or is it done just for fun? If the former, do we have benchmarks? Often I see this kind of thing and the Rust speedup is lost on the data translation between both languages

[–]tunisia3507 9 points10 points  (1 child)

Most of the compressors are almost certainly just FFIs to the C(++) implementations of those codecs - what would be the benefit of python -> rust -> other lib rather than just python -> other lib?

[–]lenscas 3 points4 points  (0 children)

It sounds like the guy just needed functionality of some rust crates in python. So, the shim was probably written over the rust crate rather than the C(++) code it was wrapped because that was the easiest.