Skip to content

Commit

Permalink
Add comment about speed in FAQ.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Jul 30, 2014
1 parent 7a25cf3 commit d4c3500
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/doc/complement-lang-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,15 @@ debugging linking in the compiler you might set
`RUST_LOG=rustc::metadata::creader,rustc::util::filesearch,rustc::back::rpath`
For a full description see [the logging crate][1].

## How fast is Rust?

As always, this question is difficult to answer. There's still a lot of work to
do on speed, and depending on what you're benchmarking, Rust has variable
performance.

That said, it is an explicit goal of Rust to be as fast as C++ for most things.

This comment has been minimized.

Copy link
@brson

brson Jul 30, 2014

Instead of "for most things" maybe "for real workloads". Or maybe "explicit goal for idiomatic Rust to be as fast as idiomatic C++ for real workloads".

Language decisions are made with performance in mind, and we want Rust to be as
fast as possible. Given that Rust is built on top of LLVM, any performance
improvements in it also help us be faster.

[1]:log/index.html

1 comment on commit d4c3500

@brson
Copy link

@brson brson commented on d4c3500 Aug 1, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Please sign in to comment.