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