Copyediting intro

This commit is contained in:
Brian Anderson
2016-11-04 08:53:57 -07:00
parent fe2935312a
commit c6920d4a2e
2 changed files with 14 additions and 15 deletions
+11 -11
View File
@@ -3,19 +3,19 @@
Welcome to “The Rust Programming Language,” an introductory book about Rust.
Rust is a programming language that’s focused on safety, speed, and
concurrency. Its design lets you create programs that have the performance and
control of a low-level language, but with helpful abstractions that feel like a
high-level language. The Rust community welcomes all programmers who have their
experience in languages like C and are looking for a safer alternative, as well
as programmers from languages like Python who are looking for ways to write
code that performs better without losing expressiveness.
control of a low-level language, but with the powerful abstractions of a
high-level language. These properties make Rust suitable for programmers who
have experience in languages like C and are looking for a safer alternative, as
well as those from languages like Python who are looking for ways to write code
that performs better without sacrificing expressiveness.
Rust performs the majority of its safety checks and memory management decisions
at compile time, so that your program's runtime isn't impacted. This makes it
useful in a number of use cases that other languages aren’t good at: embedding
in other languages, programs with specific space and time requirements, and
writing low-level code, like device drivers and operating systems. It's also
great for web applications: it powers the Rust package registry site, crates.io!
We're excited to see what *you* create with Rust.
at compile time, so that your program's runtime performance isn't impacted. This
makes it useful in a number of use cases that other languages aren’t good at:
programs with predictable space and time requirements, embedding in other
languages, and writing low-level code, like device drivers and operating
systems. It's also great for web applications: it powers the Rust package
registry site, crates.io! We're excited to see what *you* create with Rust.
This book is written for a reader who already knows how to program in at least
one programming language. After reading this book, you should be comfortable
@@ -1,10 +1,9 @@
# Common Programming Concepts in Rust
Let’s first look at concepts that appear in almost every programming language
and see how they work in Rust. Many programming languages have much in common
at their core. None of the concepts presented in this chapter are unique to
Rust, but we’ll discuss Rust’s particular syntax and conventions concerning
these common concepts.
and see how they work in Rust. Many programming languages have much in common at
their core. None of the concepts presented in this chapter are unique to Rust,
but we’ll discuss them in the context of Rust and explain their conventions.
Specifically, we’ll be talking about variables, basic types, functions,
comments, and control flow. These foundations will be in every Rust