|
1.
|
|
|
% The Rust Language FAQ
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
src/doc/complement-lang-faq.md:2
|
|
2.
|
|
|
## Are there any big programs written in it yet? I want to read big samples.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
src/doc/complement-lang-faq.md:4
|
|
3.
|
|
|
There aren't many large programs yet. The Rust [compiler][rustc], 60,000+ lines at the time of writing, is written in Rust. As the oldest body of Rust code it has gone through many iterations of the language, and some parts are nicer to look at than others. It may not be the best code to learn from, but [borrowck] and [resolve] were written recently.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
src/doc/complement-lang-faq.md:6
|
|
4.
|
|
|
[rustc]: https://github.com/rust-lang/rust/tree/master/src/librustc [resolve]: https://github.com/rust-lang/rust/blob/master/src/librustc/middle/resolve.rs [borrowck]: https://github.com/rust-lang/rust/blob/master/src/librustc/middle/borrowck/
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
src/doc/complement-lang-faq.md:10
|
|
5.
|
|
|
A research browser engine called [Servo][servo], currently 30,000+ lines across more than a dozen crates, will be exercising a lot of Rust's distinctive type-system and concurrency features, and integrating many native libraries.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
src/doc/complement-lang-faq.md:12
|
|
6.
|
|
|
[servo]: https://github.com/mozilla/servo
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
src/doc/complement-lang-faq.md:14
|
|
7.
|
|
|
Some examples that demonstrate different aspects of the language:
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
src/doc/complement-lang-faq.md:16
|
|
8.
|
|
|
[sprocketnes], an NES emulator with no GC, using modern Rust conventions
|
|
|
type: Bullet: '* '
|
|
|
|
(no translation yet)
|
|
|
|
Located in
src/doc/complement-lang-faq.md:21
|
|
9.
|
|
|
The language's general-purpose [hash] function, SipHash-2-4. Bit twiddling, OO, macros
|
|
|
type: Bullet: '* '
|
|
|
|
(no translation yet)
|
|
|
|
Located in
src/doc/complement-lang-faq.md:21
|
|
10.
|
|
|
The standard library's [HashMap], a sendable hash map in an OO style
|
|
|
type: Bullet: '* '
|
|
|
|
(no translation yet)
|
|
|
|
Located in
src/doc/complement-lang-faq.md:21
|