К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Memory Safety and Structuring Programs · LearnSpace
Назад в каталог
courseraПрограммирование

Memory Safety and Structuring Programs

Курс от Packt
Средний≈ 18.5 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Rust is renowned for its ability to ensure memory safety without a garbage collector, and this course will equip you with the tools to navigate Rust's ownership model, references, borrowing, and more. Through practical examples and in-depth explanations, you’ll gain hands-on experience managing memory safely while structuring your programs effectively. By the end of this course, you’ll understand the foundational concepts like ownership, borrowing, and references and be able to apply them to write memory-efficient, safe programs in Rust. The course begins with an introduction to ownership and its significance in Rust's memory management, followed by a deep dive into references and borrowing. You'll learn how to efficiently handle data and manage memory through concepts like slices, structs, enums, and generics. In addition, you’ll explore Option and Result enums for managing errors and optional values, ensuring that you write reliable and safe applications. This course is ideal for intermediate programmers who want to enhance their understanding of memory management and safety in systems programming. It is perfect for developers interested in learning Rust or transitioning from other languages.

Навыки, которые вы освоите

Rust (Programming Language)Memory ManagementData ManagementData SharingCode ReusabilitySystem ProgrammingOther Programming LanguagesSecure CodingData AccessData Structures

Программа курса

7 модулей · 118 учебных материалов

01Ownership23 материалов

Ownership

Introduction to the Course 'Memory Safety and Structuring Programs'ЧтениеFull Specialization ResourcesЧтениеIntro to OwnershipВидеоThe Stack and HeapВидео

Учитесь у экспертов

Packt - Course Instructors

Преподаватель курса

Memory Safety and Structuring Programs
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 18.5 ч

7 модулей

Язык: Английский

Субтитры: Арабский, Французский, Итальянский, Бразильский португальский, Корейский, Немецкий, Индонезийский, Испанский, Японский, Казахский

Часть программы вашего университета
Scope and OwnershipВидео
The Copy TraitВидео
The String TypeВидео
The push_str Method on a String TypeВидео
Moves and OwnershipВидео
The drop FunctionВидео
The clone MethodВидео
References and BorrowingВидео
The Dereference OperatorВидео
String, &String, str, and &strВидео
The Copy Trait with ReferencesВидео
Ownership and Function ParametersВидео
Mutable ParametersВидео
Return Values IВидео
Return Values IIВидео
Project SolutionВидео
Section ReviewВидео
Understanding Rust OwnershipDIALOGUE
Ownership - AssessmentЗадание
02References and Borrowing10 материалов

References and Borrowing

Immutable and Mutable Reference ParametersВидеоMultiple Immutable ReferencesВидеоMutable Reference RestrictionsВидеоOwnership with Immutable and Mutable ReferencesВидеоDangling ReferencesВидеоOwnership with Arrays and TuplesВидеоProject SolutionВидеоSection ReviewВидеоUsing References in RustDIALOGUEReferences and Borrowing - AssessmentЗадание
03Slices13 материалов

Slices

Intro to SlicesВидеоCreate a String Slice from a StringВидеоString Slices and String LiteralsВидеоString Slice LengthsВидеоSyntactic ShortcutsВидеоString Slices as Function ParametersВидеоArray SlicesВидеоDeref Coercion with Array SlicesВидеоMutable Array SlicesВидеоProject SolutionВидеоSection ReviewВидеоExploring Slices in RustDIALOGUESlices - AssessmentЗадание
04Structs23 материалов

Structs

Define a StructВидеоCreate a Struct InstanceВидеоAccess Struct FieldsВидеоOverwrite Struct FieldsВидеоCreate Structs in a FunctionВидеоStruct Field Initialization Shorthand SyntaxВидеоStruct Update SyntaxВидеоPassing Structs into a FunctionВидеоDeriving Debug Trait for StructВидеоDefining Struct MethodsВидеоself Parameter as Mutable Struct InstanceВидеоself Parameter as Immutable and Mutable References to Struct InstanceВидеоMethods with Multiple ParametersВидеоCalling Methods from Other MethodsВидеоAssociated FunctionsВидеоMultiple impl BlocksВидеоBuilder PatternВидеоTuple StructsВидеоUnit-Like StructsВидеоProject SolutionВидеоSection ReviewВидеоUnderstanding StructsDIALOGUEStructs - AssessmentЗадание
05Enums18 материалов

Enums

Intro to EnumsВидеоEnum with Associated Values IВидеоEnum with Associated Values IIВидеоA Brief Discussion on Enum MemoryВидеоStruct VariantsВидеоNesting Enums in EnumsВидеоThe match Keyword IВидеоThe match Keyword IIВидеоThe match Keyword IIIВидеоDefining Methods on EnumsВидеоThe match Keyword IV - Catching Multiple ValuesВидеоThe match Keyword V - match with Exact ValueВидеоThe if let ConstructВидеоThe let else ConstructВидеоProject SolutionВидеоSection ReviewВидеоWorking with EnumsDIALOGUEEnums - AssessmentЗадание
06Generics11 материалов

Generics

Intro to GenericsВидеоThe Turbofish OperatorВидеоMultiple GenericsВидеоGenerics in StructsВидеоGenerics and impl Blocks IВидеоGenerics and impl Blocks IIВидеоGenerics in EnumsВидеоProject SolutionВидеоSection ReviewВидеоUnderstanding Generics in RustDIALOGUEGenerics - AssessmentЗадание
07Option and Result Enums20 материалов

Option and Result Enums

The Option EnumВидеоReal Example of Option Enum (The get Method on an Array)ВидеоThe unwrap and expect MethodsВидеоThe match Keyword with Option EnumВидеоReturning an Option Enum from a FunctionВидеоTop-Level Option VariantsВидеоThe unwrap_or MethodВидеоBuilding Option from ScratchВидеоThe Result EnumВидеоReal Example of Result Enum (The parse Method on a String)ВидеоReturning a Result Enum from a FunctionВидеоResult MethodsВидеоNuances of unwrap Method on ResultВидеоProject SolutionВидеоSection ReviewВидеоUnderstanding Rust's Option and Result EnumsDIALOGUEOption and Result Enums - AssessmentЗаданиеConclusion to the Course 'Memory Safety and Structuring Programs'ЧтениеFull Course Practice AssessmentЗаданиеFull Course AssessmentЗадание