Ok. My usecase is the reimplementation of OS.File in Rust, which should be pretty straightforward and shave a few Mb of RAM and possibly a few seconds during some startups. The only difficulty is the actual JS binding. I believe that the only DOM object involved would be Promise, I'll see how tricky it is to handle with a combo of Rust and C++.
Thanks, David On 10/11/16 02:43, Bobby Holley wrote: > On Wed, Nov 9, 2016 at 12:31 PM, David Teller <dtel...@mozilla.com > <mailto: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. > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform