memory-safety-patterns
FeaturedImplement memory-safe programming with RAII, ownership, smart pointers, and resource management across Rust, C++, and C. Use when writing safe systems code, managing resources, or preventing memory bugs.
Install
Quality Score: 93/100
Skill Content
Details
- Author
- wshobson
- Repository
- wshobson/agents
- Created
- 1 years ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
memory-safety-patterns
Implement memory-safe programming with RAII, ownership, smart pointers, and resource management across Rust, C++, and C. Use when writing safe systems code, managing resources, or preventing memory bugs.
memory-safety-patterns
Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and resource management.
cpp-memory-raii
C++ resource and value semantics: rule of zero and five, RAII wrappers with custom deleters and std::out_ptr, ownership and parameter-passing tables, a move-semantics checklist, smart-pointer choice, std::expected vs exceptions with safety guarantees, dangling-lifetime pitfalls and std::pmr allocation control. Load when designing C++ classes or APIs, fixing leaks, or reviewing ownership.