1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-31 04:59:50 +02:00

Update 100-memory-lifecycle.md (#1983)

This commit is contained in:
Yash bhanushali
2022-10-05 05:10:02 +05:30
committed by GitHub
parent 80fe75f808
commit e4b0607cae

View File

@@ -1 +1,9 @@
# Memory lifecycle
# 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.