Rust Smart Pointers: Box, Rc, Arc, RefCell, Deref and Drop Explained
Understand Rust smart pointers including Box, Rc, Arc, RefCell, Deref, Drop, interior mutability and when each ownership model is appropriate.
Melochip Library
Practical guides and expert insights for building, securing, and operating modern technology.
Explore the library
171 results
Understand Rust smart pointers including Box, Rc, Arc, RefCell, Deref, Drop, interior mutability and when each ownership model is appropriate.
Learn Rust testing with unit tests, integration tests, assertions, Result-based tests, test organization, documentation tests and practical CI workflo...
Learn Rust concurrency with threads, move closures, channels, shared state, Mutex, Arc, Send and Sync, including practical multithreaded examples.
Build a practical REST API with Rust and Axum, including routing, JSON handlers, shared state, middleware, request IDs, errors, validation and gracefu...
Secure Rust APIs with password hashing, sessions and tokens, RBAC, validation, secrets, rate limiting, CORS, secure headers and audit logging.
Learn Rust observability with tracing, structured logs, spans, request IDs, metrics, health checks and production diagnostics.
Learn Rust performance measurement with release profiles, benchmarking, profiling, allocation awareness and repeatable optimization workflows.
Learn unsafe Rust, raw pointers, FFI, ABI boundaries and WebAssembly while keeping unsafe code isolated, documented and auditable.
Learn Azure regions, geographies, availability zones, paired and nonpaired regions, RTO/RPO, region selection and resilient architecture with Azure CL...