Update 100-memory-lifecycle.md (#1983)
parent
80fe75f808
commit
e4b0607cae
1 changed files with 9 additions and 1 deletions
@ -1 +1,9 @@ |
||||
# Memory lifecycle |
||||
|
||||
Regardless of the programming language, the memory life cycle is pretty much always the same: |
||||
|
||||
- Allocate the memory you need |
||||
- Use the allocated memory (read, write) |
||||
- Release the allocated memory when it is not needed anymore |
||||
|
||||
The second part is explicit in all languages. The first and last parts are explicit in low-level languages but are mostly implicit in high-level languages like JavaScript. |
||||
|
Loading…
Reference in new issue