The “Rust from CC++ - Herbert Wolverson” is a course that provides a transition from C and C++ to Rust and how they are alike and different. Examining the characteristics of Rust and topics such as Rust’s native compilation, memory management, and higher-level features, participants will be provided with the necessary knowledge. Thus, the attendees will appreciate the differences in the types of constructions, jurisdictions of control, and structure data for different languages. In this chapter, Rust from CC++ - Herbert Wolverson also talks about Rust’s proposals in the aspects of memory safety and concurrency and introduces the toolset, which is inclusive and labelled as Cargo.
In addition, Rust from CC++ - Herbert Wolverson will discuss Rust’s ability to integrate with C and C++ through the Foreign Function Interface (FFI). Vividly led by Herbert Wolverson, this course is suitable for learners at the basic and intermediate levels who aspire to more variety in programming.
Rust from CC++ - Herbert Wolverson Table of Contents:
- Introduction
- Getting Started:
- Hello World in C, C++, and Rust
- Exploring Rust Basics:
- Primitive Types
- Mutability
- Type Conversion
- Handling Numeric Overflow
- Control Flow
- Looping Constructs
- String Handling
- Functions and Scoping
- Working with Structures
- Methods for Structures
- Managing Resources with Destructors (Drop)
- Tuples and Destructuring
- Enumerations
- Collection Types
- Iteration Techniques
- Ownership and Move Semantics
- Borrowing and References
- Slices
- Memory Management:
- C-style Allocation and Deallocation
- Unique Pointers with Box
- Shared Pointers with Rc and Arc
- Understanding the Borrow Checker
- Working with Lifetimes
- Concurrency:
- Preventing Data Races
- Spawning Threads
- Task Distribution
- Scoped Threads
- Introduction to Rayon
- Organizing Programs
- Traits and Trait Implementation
- Generic Programming
- Error Handling in Rust
- Exploring the Rust Ecosystem:
- Equivalent Tools in Rust
- Writing Unit Tests
- Conducting Benchmarks
- Interoperability:
- Calling C from Rust using Foreign Function Interface (FFI)
Who is this course for?
- Rust is another programming language, and this course will benefit any developer with a basic prior knowledge of languages like C and C++.
Click on the links below to Download Rust from CC++ - Herbert Wolverson!
در حال پاسخ به :