On Tue, May 5, 2015 at 10:10 PM, Valentin Gosu <valentin.g...@gmail.com> wrote:
> On 6 May 2015 at 04:58, Doug Turner <do...@mozilla.com> wrote: > > > > > > On May 5, 2015, at 12:55 PM, Jonas Sicking <jo...@sicking.cc> wrote: > > > > > > On Thu, Apr 30, 2015 at 3:34 PM, Valentin Gosu < > valentin.g...@gmail.com> > > wrote: > > >> As some of you may know, Rust is approaching its 1.0 release in a > > couple of > > >> weeks. One of the major goals for Rust is using a rust library in > Gecko. > > >> The specific one I'm working at the moment is adding rust-url as a > safer > > >> alternative to nsStandardURL. > > > > > > Will this affect our ability to make nsStandardURL thread-safe? > > > > Unfortunatelly this project does not make nsStandardURL thread safe. It is > only meant to prove Rust can be used in mozilla-central, and bring a little > extra safety to our URL parsing. > Note that the URL parser used by nsStandardURL (that is, nsStdURLParser) itself is thread-safe. If I understand things correctly, this project aims to replace nsStdURLParser with a Rust implementation, therefore it needs to keep being thread-safe. We are already depending on the thread-safety of the URL parser in Gecko. -- Ehsan _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform