3 # What is this project's goal, in one sentence?
5 To design and implement a safe, concurrent, practical, static systems language.
7 # Why are you doing this?
9 Existing languages at this level of abstraction and efficiency are unsatisfactory. In particular:
11 * Too little attention paid to safety.
12 * Poor concurrency support.
13 * Lack of practical affordances, too dogmatic about paradigm.
15 # What are some non-goals?
17 * To employ any particularly cutting-edge technologies. Old, established techniques are better.
18 * To prize expressiveness, minimalism or elegance above other goals. These are desirable but subordinate goals.
19 * To cover the "systems language" part all the way down to "writing an OS kernel".
20 * To cover the complete feature-set of C++, or any other language. It should provide majority-case features.
21 * To be 100% static, 100% safe, 100% reflective, or too dogmatic in any other sense. Trade-offs exist.
22 * To run on "every possible platform". It must eventually work without unnecessary compromises on widely-used hardware and software platforms.
24 # Is any part of this thing production-ready?
26 No. Feel free to play around, but don't expect completeness or stability yet. Expect incompleteness and breakage.
28 What exists presently is:
30 * A self-hosted (written in Rust) compiler, which uses LLVM as a backend.
32 * An evolving standard library.
33 * Documentation for the language and libraries.
34 * Incomplete tools for packaging and documentation.
35 * A test suite covering the compiler and libraries.
37 # Is this a completely Mozilla-planned and orchestrated thing?
39 No. It started as a part-time side project in 2006 and remained so for over 3 years. Mozilla got involved in 2009 once the language was mature enough to run some basic tests and demonstrate the idea.
41 # Why did you do so much work in private?
43 * A certain amount of shyness. Language work is somewhat political and flame-inducing.
44 * Languages designed by committee have a poor track record. Design coherence is important. There were a lot of details to work out and the initial developer (Graydon) had this full time job thing eating up most days.
48 * The design is stable enough. All the major pieces have reached non-imaginary, initial implementation status. It seems to hold together ok.
49 * Languages solely implemented and supported by one person _also_ have a poor track record. To survive it'll need help.
51 # What will Mozilla use Rust for?
53 Mozilla intends to use Rust as a platform for prototyping experimental browser architectures. Specifically, the hope is to develop a browser that is more amenable to parallelization than existing ones, while also being less prone to common C++ coding errors. The name of that project is _[Servo](http://github.com/mozilla/servo)_.
55 # Are you going to use this to suddenly rewrite the browser and change everything? Is the Mozilla Corporation trying to force the community to use a new language?
57 No. This is a research project. The point is to explore ideas. There is no plan to incorporate any Rust-based technology into Firefox.
59 # Why GitHub rather than the normal Mozilla setup (Mercurial / Bugzilla / Tinderbox)?
61 * This is a fresh codebase and has no existing ties to Mozilla infrastructure; there is no particular advantage to (re)using any of the above infrastructure, it would all have to be upgraded and adapted to our needs.
62 * Git has been progressing rapidly in the years since Mozilla picked Mercurial for its main development needs, and appears to be both more widely known and more accessible at this point.
63 * This reduces the administrative requirements for contributing to merely establishing a paper trail via a contributor agreement. There is no need for vouching, granting commit access to Mozilla facilities, or setting up Mozilla user accounts.
65 # Why a BSD-style license rather than MPL or tri-license?
67 * Partly due to preference of the original developer (Graydon).
68 * Partly due to the fact that languages tend to have a wider audience and more diverse set of possible embeddings and end-uses than focused, coherent products such as web browsers. We'd like to appeal to as many of those potential contributors as possible.