ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Visualizing memory layout of Rust's data types

Автор: Sreekanth

Загружено: 2023-09-24

Просмотров: 49646

Описание: Covers how a binary is executed, what segments are mapped to memory, the purpose/working of stack and heap memory, and how values of Rust's data types are laid out in memory. The data types that we cover here are integers, char, Vector, slice, String, string slice, structs, enums, smart pointers like Box, Rc, Arc, Trait object and Fn traits like FnOnce, FnMut and Fn.

We also cover the difference between String and str types, Vector and slice types. Topics like fat pointers, optimizations done by the Rust compiler when you wrap a reference inside an Option are also covered.

0:00 Intro
0:41 Segments in a binary
3:09 Stack & Heap
5:35 CPU Word size
6:57 Working of stack memory
10:16 working of Heap memory
13:58 Integer data types
14:28 char
15:13 size_of & align_of
15:51 Reference
16:58 Array
17:22 Vector
18:19 Slice of T
19:54 String, str, &str
21:09 Struct
22:04 Enum
23:48 Box pointer
24:43 Optimizations on Option
26:27 Copy Vs Move
29:21 Rc pointer
30:49 Send vs Sync traits
31:05 Why RC is neither Send nor Sync
31:24 Arc
32:25 Trait object
34:27 Function pointer
34:44 Closures - Fn, FnOnce, FnMut

Life of an async fn:    • RustFest Barcelona - Tyler Mandry: Life of...  
stack & heap / virtual address space:
https://lwn.net/Articles/738975/
https://docs.microsoft.com/en-us/wind...
Book: Programming Rust by Jason Orendorff, Jim Blandy, and Leonora F.S. Tindall

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Visualizing memory layout of Rust's data types

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

You Should Really Know These Traits in Rust

You Should Really Know These Traits in Rust

Инопланетные типы данных Rust: Box, Rc, Arc

Инопланетные типы данных Rust: Box, Rc, Arc

Понимание выделения памяти: стек и куча — GopherCon SG 2019

Понимание выделения памяти: стек и куча — GopherCon SG 2019

Choose the Right Option

Choose the Right Option

Использовать дугу вместо вектора

Использовать дугу вместо вектора

Internals of Interfaces in Golang | Intermediate level

Internals of Interfaces in Golang | Intermediate level

Конструкторы сломаны

Конструкторы сломаны

Rust Data Modelling Without Classes

Rust Data Modelling Without Classes

Special/magic methods | Python OOP | Part 7

Special/magic methods | Python OOP | Part 7

Программирование на ассемблере без операционной системы

Программирование на ассемблере без операционной системы

Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)

Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)

«Проектирование API на основе типов в Rust» Уилла Крайтона

«Проектирование API на основе типов в Rust» Уилла Крайтона

but what is 'a lifetime?

but what is 'a lifetime?

Как работают переменные в Python | Объяснение с анимацией

Как работают переменные в Python | Объяснение с анимацией

Demystifying Process Address Space: Heap, Stack, and Beyond - Piotr Wierciński - NDC TechTown 2024

Demystifying Process Address Space: Heap, Stack, and Beyond - Piotr Wierciński - NDC TechTown 2024

Memory layout and mechanics of arrays and slices | Golang | intermediate level

Memory layout and mechanics of arrays and slices | Golang | intermediate level

A Firehose of Rust, for busy people who know some C++

A Firehose of Rust, for busy people who know some C++

Understanding Ownership in Rust

Understanding Ownership in Rust

OOP 2024: Rust Memory Management Introduction

OOP 2024: Rust Memory Management Introduction

Implementing Rust's Vec From Scratch

Implementing Rust's Vec From Scratch

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]