← All repositories

Rust

Features

  • Testing FrameworksWriting and executing unit and integration tests using assertion macros, panic handling, and test configuration.
  • Server ImplementationsBuilding a multithreaded server to demonstrate network communication, thread pooling, and graceful request handling.
  • Data StructuresManaging collections like vectors and maps, and implementing robust error handling using result types and panic mechanisms.
  • Error Handling StrategiesBest practices for managing recoverable and unrecoverable errors.
  • Hash MapsA method for retrieving values from a key-value collection.
  • Build GuidesA conceptual overview of the build process.
  • Memory SafetyA conceptual overview of memory safety risks.
  • Mutable ReferencesA mechanism for modifying borrowed data.
  • Thread PoolsA design pattern for limiting thread count in a pool.
  • Pattern MatchingA control-flow construct that executes code based on which pattern matches a given value.
  • GenericsA mechanism for using generics in struct fields.
  • Mutual Exclusion LocksA mechanism for shared-state concurrency using mutual exclusion.
  • Smart PointersA thread-safe smart pointer for shared ownership.
  • Memory Safety AbstractionsA design pattern that encapsulates unsafe operations within a safe interface to ensure memory safety for consumers.
  • Variable DeclarationsA variable declaration feature that supports pattern matching for binding values.
  • Variable BindingsA mechanism for variable binding.
  • Procedural MacrosA macro system that accepts code as input and produces new code as output.
  • TraitsA mechanism for automatically implementing common traits.
  • Dynamic DispatchA mechanism for calling methods on trait objects at runtime.
  • Thread Safety TraitsA marker trait indicating that a type can be safely shared across threads.
  • Trait ImplementationsA mechanism for providing concrete implementations for defined trait methods.
  • Unsafe CodeA language feature for performing operations that bypass standard safety guarantees.
  • Memory Management PatternsA mechanism for deep copying data.
  • Floating-Point TypesA primitive type for decimal numbers.
  • TCP ListenersA mechanism for accepting network connections.
  • ClosuresA technique for returning closures from functions using trait-based return types.
  • Interior Mutability PatternsA pattern for modifying immutable data.
  • State PatternsA state-transition implementation for moving an object between defined states.
  • Unit TestingA mechanism for verifying code functionality.