Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

What C and C++ Developers Can Learn from Rust

code::dive conference via YouTube

Overview

Explore the insights C and C++ developers can gain from Rust in this 34-minute conference talk from code::dive 2022. Delve into topics such as shared pointers, memory allocation, ownership of data, and lifetime of variables. Learn how Rust's approach to ownership and borrowing can improve code safety and efficiency. Discover modern C concepts, const by default practices, and the use of result objects. Gain valuable knowledge from speaker Hubert Nowak, an experienced programmer and technical leader, as he compares programming paradigms and demonstrates practical examples. Enhance your understanding of good code development practices and software architecture through this informative presentation.

Syllabus

Introduction
History of C
Shared pointer
Memory Allocation
Example
Ownership of data
Ownership in Rust
Example of ownership
How ownership works
How borrow works
Lifetime of variables
Converting text to bytes
UTFA
Single byte
Encoding
Modern C
Const by default
Result objects
Summary
Questions

Taught by

code::dive conference

Reviews

Start your review of What C and C++ Developers Can Learn from Rust

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.