CST 334 Week 3
This week, I got into memory virtualization and learned a lot about how operating systems handle memory. I covered things like address spaces, the Memory API, address translation, and segmentation. Each concept helped me understand how the OS keeps processes isolated and organized in memory. Address spaces and segmentation, in particular, showed me how the OS keeps different processes from interfering with each other by giving each one its own memory space.
I also spent time with Linux commands like grep, sed, and awk and got into using regex in bash. Since I’ve worked with regex in Java before, it was fun to see it in action on the command line. Regex makes text processing really efficient, and using it alongside grep and sed made sorting through files a lot easier.
On the coding side, I worked with inter-process communication (IPC) in C, mainly using pipes, and practiced using Makefiles to keep everything organized. Using fork() and exec(), I could create child processes that run alongside the parent process, with each process handling its own specific tasks. We focused on using pipes for IPC, which allowed one process to send data directly to another process, creating a communication channel between them. This setup was similar to creating a pipeline in a Linux shell, where the output of one command becomes the input for another.
On the coding side, I worked with inter-process communication (IPC) in C, mainly using pipes, and practiced using Makefiles to keep everything organized. Using fork() and exec(), I could create child processes that run alongside the parent process, with each process handling its own specific tasks. We focused on using pipes for IPC, which allowed one process to send data directly to another process, creating a communication channel between them. This setup was similar to creating a pipeline in a Linux shell, where the output of one command becomes the input for another.
Comments
Post a Comment