# Concepts

1 min read, 130 words rustconcept
  • Memory Management
    • no Garbage collection
    • developers manage memeory in code
    • stacks vs heaps
    • runtime safety
  • Stack variables
    • fast memeory retirievals
    • rust uses stack for its default memory needs
    • with types, compiler knows exactly how many memory to allocate for a specific type
  • Heap variables - memory that can grow and shrink
    • Collections, lists, arrays
    • Hash maps
  • Rust compiler cleans up all variables as soon as it goes out of scope
  • In rust, every data has a owner
    • there can only be a single owner of data at a time.
    • Rust defaults to memeory allocation whenever it can.

Subscribe to our Newsletter

Failed to load comments

If you like my work and think it was helpful kindly support my work


Buy Me A Coffee