On Wed, Nov 9, 2016 at 12:31 PM, David Teller <dtel...@mozilla.com> wrote:

> \o/
>
> Do we already have a story for implementing WebIDL in Rust?
>

In general, we decided that WebIDL objects need to remain C++, since they
generally need to interact with the DOM and the extra complexity to support
pure-Rust objects in Codegen isn't worth it. If there's functionality that
makes sense to write in Rust, implement the core functionality in a Rust
crate and just forward to it from the C++ DOM object.


>
> Cheers,
>  David
>
> On 09/11/16 12:20, Ted Mielczarek wrote:
> > I recently wrote some documentation on how to add Rust code to Gecko:
> > http://gecko.readthedocs.io/en/latest/build/buildsystem/rust.html
> >
> > It should be fairly straightforward for most use cases (thanks to Nathan
> > Froyd for doing the lion's share of the work to make it so), but if
> > there's anything that's unclear feel free to ask for clarification.
> >
> > -Ted
> > _______________________________________________
> > dev-platform mailing list
> > dev-platform@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> >
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to