<div dir="ltr">On Tue, Jul 11, 2017 at 11:15 AM, Bobby Holley <span dir="ltr"><<a href="mailto:bobbyholley@gmail.com" target="_blank">bobbyholley@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="gmail-"></span><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>If I were the owner of that module I would consider implementing a policy something like the following:<br></div><div><br></div><div>"When a person writes a new compiled-code component, or majorly rewrites an existing one, they should strongly consider writing it in Rust instead of C or C++. Such a decision will depend on the nature of the component. Components that are relatively standalone and have simple interfaces to other components are good candidates to be written in Rust, as are components such as parsers that process untrusted input."<br></div></div></div></div></blockquote><div><br></div></span><div>I think this is pretty uncontroversial. The high-level strategic decision to bet on Rust has already been made, and the cost of depending on the language is already sunk. Now that we're past that point, I haven't heard anyone arguing why we shouldn't opt for memory safety when writing new standalone code. If there are people out there who disagree and think they have the arguments/clout/allies to make the case, please speak up.<br></div></div></div></div></blockquote><div><br></div>As Gibson said: "The future is already here — it's just not very evenly distributed."</div><div class="gmail_quote"><div><br></div><div>The paragraph you wrote is obvious to you, but I suspect it's not obvious to everyone -- Mozilla has a lot of contributors. There may still be some Firefox developers who think that Rust something that other people do, and that isn't relevant to them or their component(s). There may be some Firefox developers who are interested in Rust, but feel intimidated or uncertain about using it. There may be some developers who are keen to use Rust, but haven't realized that we are past the experimental stage.<br></div><div><br></div><div>Nick<br></div><div><br></div><div> </div></div></div></div>