mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 20:34:52 -06:00
Clear up that a garbage collector isn't a safety check. Closes #307
This commit is contained in:
@@ -9,8 +9,8 @@ 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
|
as programmers from languages like Python who are looking for ways to write
|
||||||
code that performs better without losing expressiveness.
|
code that performs better without losing expressiveness.
|
||||||
|
|
||||||
Rust provides the majority of its safety checks at compile time and without a
|
Rust performs the majority of its safety checks and memory management decisions
|
||||||
garbage collector so that your program's runtime isn't impacted. This makes it
|
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
|
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
|
in other languages, programs with specific space and time requirements, and
|
||||||
writing low-level code, like device drivers and operating systems. It's also
|
writing low-level code, like device drivers and operating systems. It's also
|
||||||
|
|||||||
Reference in New Issue
Block a user