Ensuring safe program operation is crucial for systems programming, and memory safety is a significant aspect of this. This paper assesses the memory safety strategies used in Rust and C++ programming languages. Rust is a modern language that has become popular due to its focus on safety, performance, and concurrency, whereas C++ is known for its efficiency and low-level program- ming capabilities. The analysis compares and contrasts the memory safety features of both languages, including Rust's ownership and borrowing model and C++’s manual memory management techniques. Additionally, the study examines the development tools available for both languages and compares ease of use and productivity. The analysis shows that Rust has several memory safety advantages over C++. Rust's ownership and borrowing model enables safe memory management without requiring manual intervention. By enforcing strict rules for memory usage, the compiler in Rust prevents typical memory-related errors like null and dangling pointers. However, in contrast to Rust, C++ provides more low-level hardware control but needs manual memory management, exposing it to memory errors such as buffer overflows and memory leaks. Moreover, Rust's memory safety features simplify the development of secure and dependable code, especially for applications with crucial security requirements. In con- trast, C++ demands significant memory management expertise to avoid memory-related errors. In conclusion, Rust offers several memory safety benefits over C++, making it a superior choice for applications with critical safety needs. However, the selection of language ultimately depends on the specific project requirements and the development team's experience and preferences.