You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/a1.why-rust.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,18 @@ Since Rust 1.0, major updates have been released as [`Editions`](/docs/cargo-cra
11
11
12
12
## Initial Goals
13
13
14
-
The goal of Rust is to be a good programming language for creating highly concurrent, safe and performant systems.
14
+
> Rust is a systems programming language focused on three goals: safety, speed, and concurrency.
15
+
> </br>~ Rust Documentation
15
16
16
-
> **"Rust is a systems programming language focused on three goals: safety, speed, and concurrency."
17
-
> </br>~ Rust Documentation**
17
+
**Rust is a modern, [multi-platform](https://doc.rust-lang.org/rustc/platform-support.html), [multi-paradigm](https://en.wikipedia.org/wiki/Comparison_of_multi-paradigm_programming_languages), [statically compiled](https://en.wikipedia.org/wiki/Compiled_language), memory & thread safety–focused, systems programming language.**
18
18
19
-
Rust is a very young and very modern language. It's a **[compiled programming language](https://en.wikipedia.org/wiki/Compiled_language)** and it uses [LLVM](https://en.wikipedia.org/wiki/LLVM) on the backend. Also, Rust is a **[multi-paradigm programming language](https://en.wikipedia.org/wiki/Comparison_of_multi-paradigm_programming_languages)**, which supports imperative procedural, concurrent actor, object-oriented and pure functional styles. It also supports generic programming and metaprogramming, in both static and dynamic styles.
19
+
- It uses [LLVM](https://en.wikipedia.org/wiki/LLVM) on the backend and supports many different operating systems, architectures, and targets.
20
+
- It supports imperative procedural, concurrent actor, object-oriented, and pure functional styles. Rust also supports generic programming and metaprogramming, in both static and dynamic styles.
21
+
- It doesn't use a built-in runtime or an automated garbage collection system \(GC\).
20
22
21
-
> One of Rust’s most unique and compelling features is [Ownership](/docs/ownership), which is used to achieve memory safety. Rust creates memory pointers optimistically, checks memory pointers’ limited accesses at compile-time with the usage of [References and Borrowing](/docs/borrowing). And it does automatic compile-time memory management by checking the [Lifetimes](/docs/lifetimes).
23
+
> 💡 However, async Rust requires an async runtime, which is provided by community-maintained crates like [`tokio`](https://github.com/tokio-rs/tokio), [`soml`](https://github.com/smol-rs/smol) etc. The async runtime will be bundled into the final executable.
24
+
25
+
- One of Rust’s most unique and compelling features is [Ownership](/docs/ownership), which is used to achieve memory safety. Rust creates memory pointers optimistically, checks memory pointers’ limited accesses at compile-time with the usage of [References and Borrowing](/docs/borrowing). And it does automatic compile-time memory management by checking the [Lifetimes](/docs/lifetimes).
22
26
23
27
## Influences
24
28
@@ -38,11 +42,7 @@ Its design elements came from a wide range of sources.
38
42
39
43
and etc.
40
44
41
-
Rust **doesn't use a built-in runtime** or an automated garbage collection system \(GC\).
42
-
43
-
> 💡 However, async Rust requires an async runtime, which is provided by community-maintained crates like [`tokio`](https://github.com/tokio-rs/tokio), [`async-std`](https://github.com/async-rs/async-std), [`soml`](https://github.com/smol-rs/smol) etc. The async runtime will be bundled into the final executable.
44
-
45
-
Rust compiler **observes the code at compile-time** and helps to [prevent many types of errors](https://doc.rust-lang.org/error-index.html) that are possible to write in C, C++ like programming languages.
45
+
Rust compiler observes the code at compile-time and helps to [prevent many types of errors](https://doc.rust-lang.org/error-index.html) that are possible to write in C, C++ like programming languages.
0 commit comments