On Wed, Jul 12, 2017, at 07:41 PM, Mike Hommey wrote:
> On Wed, Jul 12, 2017 at 04:06:39PM -0700, Eric Rahm wrote:
> > Interesting points.
> > 
> >    - *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.
> >    - *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.
> 
> Note that pingsender is a small self-contained binary. I'm afraid writing
> in
> in rust would make it very much larger.

While this is probably true, it's also a best-case scenario for writing
a component in Rust: it doesn't have to call into *any* Gecko C++ code.
We also have zero visibility into failures in helper programs like this,
so the stability gains we get from using Rust instead of C++ are
outsized in this case.

-Ted
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to