Master Production-Ready Machine Learning, Step by Step
NY State-Licensed Certificates in Design, Coding & AI — Online
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk compares Rust’s approach to ownership and borrowing with memory management in C and C++. It uses examples to explain ownership, borrowing, variable lifetimes, and related topics such as converting text to bytes and result objects.
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