On 13/07/2017 01:06, Eric Rahm wrote: > * *using breakpad* - was the problem that creating wrappers to access > the c/c++ code was too tedious? Could bindgen help with that, if not > it would be interesting gather some details about why it wouldn't > work and file bugs against it.
There were multiple reasons: I had no experience in writing Rust bindings and we wanted to have it ready quickly; additionally we're in the process of rewriting this part of Breakpad functionality in Rust so we decided that it would all become Rust at a later point and writing bindings wouldn't have been a good use of the time. > * *pingsender* - was something like https://hyper.rs/ not around when > you were working on it or is this a case of finding the things you > want can be difficult in rust-land? Either way it might be a good > idea for us to put together a list of "sanctioned" crates for > various tasks. hyper.rs was already available but it's a big dependency and I didn't feel like pulling it into mozilla-central just for the pingsender. I believe we'll have HTTP functionality available from Rust code at some point in the future so when it's ready I might as well port the pingsender to it. As Mike said though the program is very small and self-contained at this point so it would be nice to keep it that way even after a Rust rewrite if possible. Gabriele
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform