8295  Reviews star_rate star_rate star_rate star_rate star_half

Memory Safe Programming with Rust

Ascendient Learning's Memory Safe Programming with Rust training course gives attendees a thorough and practical understanding of memory safety, a concept that often poses a challenge for new Rust...

Read More
Duration 2 days
Course Code RUST-110
Available Formats Classroom

Overview

Ascendient Learning's Memory Safe Programming with Rust training course gives attendees a thorough and practical understanding of memory safety, a concept that often poses a challenge for new Rust developers. While programmers with experience in other languages quickly grasp many Rust features, understanding and applying ownership and borrowing rules can be a steeper climb.

This advanced Rust course demystifies the Rust memory model and teaches attendees how to integrate it into their coding practice seamlessly. By the end of this Rust course, students have a deep understanding of memory safety in Rust and will be able to apply it to their projects immediately.

Skills Gained

  • Understand Rust’s philosophy of memory safety
  • Work with memory leaks and dangling pointers
  • Review concepts such as the stack and heap
  • Understand ownership and borrowing
  • Work with references and mutability
  • Use smart pointers
  • Build self referential structures

Prerequisites

This course assumes prior experience with Rust programming language. The course focuses on upskilling Rust developers to understand and apply Rust’s memory safety concepts.

Course Details

Training Materials

All students receive comprehensive courseware covering all topics in the course. Courseware is distributed via GitHub through documentation and extensive code samples.

Software Requirements

  • A free, personal GitHub account to access the courseware
  • Permission to install Rust and Visual Studio Code on their computers
  • Permission to install Rust Crates and Visual Studio Extensions

If students cannot configure a local environment, a cloud-based environment can be provided.

Outline

  • Introduction
    • How Memory is Managed on a Computer
    • How the Operating System Views Memory
    • How Memory is Allocated in a Process
    • How Programming Languages and Runtimes Manage Memory
    • Pitfalls with manual memory management in languages like C or C++
    • Pitfalls with garbage collection in languages like Python or C#
    • Memory Leaks and Dangling Pointers
    • Ensuring Memory Safety at Compile Time
    • Rust’s Approach to Safe Memory Management
    • Other Safe Memory Management Approaches
  • Memory Management
    • Variables and their Data
    • Variable Addresses and Data Addresses
    • Mutability of Variables and their Data
    • Variable and Data Ownership
    • Rust’s Approach to Variables and their Data
  • Rust Memory Model
    • Ownership and Borrowing
    • References and Mutability
    • Stack Allocation vs Heap Allocation
    • Smart Pointers
    • Thread Safety through Atomics and Locks
    • Unsafe Rust
  • Smart Pointers
    • What are Smart Pointers?
    • When to use Smart Pointers?
    • Unknown Size at Compile Time
    • Self-Referential Structures
    • Interior Mutability
  • Smart Pointer Types
    • Box
    • Rc, Weak, and Arc
    • Cell and RefCell
    • RwLock and Mutex
  • Conclusion

Schedule

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

Courseware was effective but would like to have some PDF material on BPML and XPATH

The instructor was thorough and they also provided hands-on demonstrations with labs.

The training was great . But i expected some of the Networking concepts would be covered in this certification .

Easy to work with. Learning material pdfs were able to be printed out in color which was very nice to write on.

Brandon was a great instructor. The virtual course materials and labs provided were very informative.