capnproto / capnproto-rust

Cap'n Proto for Rust
MIT License
1.99k stars 220 forks source link

Support rayon::iter::IntoParallelIterator in Reader and Builder as a feature #75

Open mmacedoeu opened 7 years ago

mmacedoeu commented 7 years ago

As I see capnproto is all about non copy/ in-place casting so If at any point you need to deep copy all effort is lost. https://github.com/nikomatsakis/rayon is a parallel crate with easy parallel processing but to use it with capnproto without support you need to copy everything losing capnproto purpose.

dwrensha commented 7 years ago

I agree that such support for parallel processing sounds useful! I don't think I'll have time in the near future to investigate exactly what would be involved; if you look into it and figure out some details, keep us posted!