From 892b7a2e7c7e65ac944eae5f7489e5c4c2febb4b Mon Sep 17 00:00:00 2001 From: Maxim Zholobak Date: Fri, 20 Dec 2024 20:49:19 +0200 Subject: [PATCH] Remove ambiguity between Rust and its memory model in sub-questions --- 0_vocabulary/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0_vocabulary/README.md b/0_vocabulary/README.md index ea3db47..4c573b8 100644 --- a/0_vocabulary/README.md +++ b/0_vocabulary/README.md @@ -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][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 [memory model][31] [Rust] has? Is [Rust] 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`?