Skip to content

Commit

Permalink
Merge pull request #90 from NamesMark/add-links
Browse files Browse the repository at this point in the history
task_0: Add memory model link
  • Loading branch information
SupperZum authored Dec 16, 2024
2 parents a479b29 + e64e34b commit af87cd0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 0_vocabulary/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Polish your familiarity by completing [Rust By Example] and [rustlings].
Read through [Cargo Book] and become familiar with [Cargo] and its workspaces.

After completing these steps, you should be able to answer (and understand why) the following questions:
- What memory model [Rust] has? Is it single-threaded or multi-threaded? Is it synchronous or asynchronous? What are the memory layouts of `Box` and `Vector`? What are a heap and a stack? Where, but on heap and stack data could live in RAM?
- What [memory model][31] [Rust] has? Is it single-threaded or multi-threaded? Is it synchronous or asynchronous? What are the memory layouts of `Box` and `Vector`? What are a heap and a stack? Where, but on heap and stack data could live in RAM?
- What runtime [Rust] has? Does it use a GC (garbage collector)?
- What is special about slice? What is the layout of Rust standard data types? Difference between fat and thin pointers?
- Why does [Rust] have `&str` and `String` types? How do they differ? When should you use them? Why str slice coexists with slice? What is the difference between `String` and `Vec`?
Expand Down Expand Up @@ -102,4 +102,7 @@ Additional:
[26]: https://github.com/rust-lang-ua/learn_rust_together/blob/master/introduction.md
[27]: https://github.com/rust-lang-ua/learn_rust_together/blob/master/toolbox_general.md
[28]: https://github.com/rust-lang-ua/learn_rust_together/blob/master/learn.md
[29]: https://dev.to/vikram2784/beyond-pointers-how-rust-outshines-c-with-its-borrow-checker-1mad
[29]: https://github.com/Learn-Together-Pro/ComputerScience/blob/master/gcs/cheatsheets.md#asynchronous-vs-multithreading
[30]: https://dev.to/vikram2784/beyond-pointers-how-rust-outshines-c-with-its-borrow-checker-1mad
[31]: https://en.wikipedia.org/wiki/Memory_model_(programming)

0 comments on commit af87cd0

Please sign in to comment.