Rust

Rust

NeuralBlitz Updated 1 repo stars

File contents

Rust

Rust is a systems programming language focused on safety, concurrency, and performance. Its ownership system guarantees memory safety without garbage collection, making it ideal for performance-critical applications.

Key Concepts

  • Ownership and borrowing
  • Lifetimes
  • Traits and generics
  • Pattern matching
  • Cargo package manager

Common Use Cases

  • Systems programming
  • WebAssembly
  • Embedded systems
  • CLI tools (ripgrep, fd)
  • Web services (Actix, Rocket)

Best Practices

  • Embrace the borrow checker
  • Use clippy for linting
  • Write tests in #[test] modules
  • Prefer Result over unwrap()
  • Leverage Cargo workspaces

Resources

  • Rust-lang.org: rust-lang.org
  • Docs: doc.rust-lang.org
  • Related Skills: systems-programming, webassembly, cli

NeuralBlitz/Agent-Gateway/tree/main/agent-gateway/skills/user/categories/programming-languages/rust commit 9cc86626ca

Frequently asked questions

npx skillmds@latest add neuralblitz/rust-4