Race Updates Discord About Merch
Home Profile History Competitions Texts Messages Friends Upgrade

typeracer

Pit Stop

Record your races with a typeracer account:

Create Your Account
  • Save your race history and scores.
  • Customize your profile and racecar.
  • It’s free, why not?
Racer Emiinence (emiinence)
Race Number 31
Date Tue, 20 Jul 2021 09:07:28 +0000
Speed 127 WPM Try to beat?
Accuracy 99.0%
Rank 1st place (out of 4)
Opponents danwisedelprado (3rd place) liam2705 (4th place)

Text typed:

Both the stack and the heap are parts of memory that are available to your code to use at runtime, but they are structured in different ways. The stack stores values in the order it gets them and removes the values in the opposite order. This is referred to as last in, first out. Think of a stack of plates: when you add more plates, you put them on top of the pile, and when you need a plate, you take one off the top. Adding or removing plates from the middle or bottom wouldn't work as well! Adding data is called pushing onto the stack, and removing data is called popping off the stack.
The Rust Programming Language (book) by Steve Klabnik (see stats)

Typing Review: