YoVDO

Caches and You: Optimizing Rust Data Structures for CPU Performance - Rust Cologne

Offered By: Rust via YouTube

Tags

Rust Courses Data Structures Courses Memory Management Courses Benchmarking Courses Code Efficiency Courses CPU Architecture Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore caching in modern CPUs and its relationship with Rust data types and structures in this 53-minute talk from Rust Cologne. Gain insights into efficient code writing that maximizes cache utilization. Delve into topics such as cache coherence, prefetching, performance optimization, and memory allocation. Learn about various data structures like linked lists, vectors, hashmaps, and binary trees, and their impact on cache performance. Discover techniques for memory alignment, insertion optimization, and the use of performance measurement tools. Understand concepts like false sharing and data locality to write more efficient Rust code.

Syllabus

Intro
Overview
Caches
How Caches Work
Cache Coherence
Cache Size
Prefetch
Performance
Matrix Multiplication
In Memory
Cache Line
Heap Allocation
Object Size
Data locality
Separate vector
Code size matches
What is false sharing
How I benchmark
Dont access memory
Any questions
Data structures
Linked lists
Vectors
Hashmap
Binary Tree
Summary
Memory alignment
Insertion
Performance Measurement Tools
Question
JavaScript Source Map


Taught by

Rust

Related Courses

استخدام وإدارة المؤشرات في لغة البرمجة سي
Coursera Project Network via Coursera
Approfondimento sulla sicurezza dei container (Italiano) | Deep Dive on Container Security (Italian)
Amazon Web Services via AWS Skill Builder
Aspectos básicos de PostgreSQL: arquitectura (Español LATAM) | PostgreSQL Fundamentals: Architecture (LATAM Spanish)
Amazon Web Services via AWS Skill Builder
Computer Memory
Brilliant
Building Objects in C
University of Michigan via Coursera