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

pull/1981/head
Yash bhanushali 2 years ago committed by GitHub
parent 80fe75f808
commit e4b0607cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      content/roadmaps/106-javascript/content/116-javascript-memory-management/100-memory-lifecycle.md

@ -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…
Cancel
Save