quartz/content/notes/operating-system.md
2022-05-09 19:09:49 +12:00

16 lines
846 B
Markdown

---
title: "operating-system"
aliases: Operating System, OS, OSs, Operating Systems
tags:
- cosc202
---
# Userspace
This is where applications run. Computer resources are isolated in compute and data
- cannot access memory belonging to another process
- cannot directly access hardware
- cannot occupy all of the CPUs time on one application
# Kernal
"all seeing and all powerful" The kernel sits below the userspace and manages resource allocation and directly controls harware. Usuallly you dont directly interact with the kernel when developing software. You do interact indirectly with the kernel, it permits your interactions with the environment (input/output from/to files, network, and terminals). The standard library usually insulates you from the OS kernel, may abstract over different OSs, and do operations in an OS-agnostic way.