r4cppp is a Rust tutorial designed for experienced C and C++ programmers learning the language.
The tutorial addresses the challenge of transitioning from C++ to Rust by focusing on the differences between the two languages rather than covering foundational concepts already familiar to systems programmers. It recognizes that while Rust's syntax resembles C++, the core distinction lies in how Rust's compiler strictly enforces memory safety concepts that C++ treats more loosely. The approach assumes readers understand pointers, references, integer widths, and manual memory management, then explains how Rust's type system, lifetime annotations, and borrow checker translate these familiar concepts into compiler-enforced guarantees.
Programmers with solid C++ experience and systems programming background are the natural audience for this material. It suits anyone frustrated by general-purpose Rust tutorials that spend excessive time on basics or use high-level intuitions to explain concepts better understood through low-level reasoning. The tutorial covers essential topics including unique and borrowed pointers, reference counting, primitive types, data structures, destructuring, arrays and vectors, and closures, with a dedicated section on graphs and arena allocation—a pattern familiar to systems programmers.
The project maintains a focused, modular structure with content organized as a series of markdown documents covering discrete topics. Development activity shows consistent engagement with the material, suggesting the tutorial remains actively maintained as a reference resource for its target audience.