Tuesday, July 9, 2024

CST 334 - Week 3

 The main focus for this week was memory management. We read about the abstraction of memory and how an OS virtualizes memory. The goals of a virtual memory system are transparency, efficiency, and protection. Transparency means that the program shouldn't realize that the memory is virtual instead of working directly with physical memory. Efficiency strives to make sure virtualization is both time- and space-efficient, which involves the use of hardware. And finally, protection involves making sure that processes are protected from each other and also that the OS is protected from said processes. We also learned about memory APIs and how developers use calls to malloc() and free() to dynamically manage memory.

In addition, we continued learning about the Linux environment by looking at regex, grep, sed, and awk. Regular expressions are used to match patterns in strings and are used by many utilities like grep, sed, and awk to filter input, apply transformation rules to lines, and manipulate a pattern based on a defined action, respectively.

No comments:

Post a Comment