Skip to content

《操作系统》1

课程讲义Link

什么是操作系统?

Operating System: A body of software, in fact, that is responsible for making it easy to run programs (even allowing you to seemly run many at the same time), allowing programs to share memory, enabling programs to interact with devices, and other fun stuff like that.

理解操作系统

硬件---操作系统---软件

历史

1940 没有操作系统;

1950 管理多个程序以此排队运行库函数和调度器,多用户排队共享计算机

1960 更大的内存,多个程序同时运行;操作系统提供api;基于中断的机制;

1970 个人计算机,现代操作系统;分时操作系统走向成熟。

今天 虚拟化硬件资源为程序提供服务。

操作系统的三个根本问题

  • 服务对象:

​ 程序=状态机

  • 操作系统为程序提供什么服务:

​ 操作系统=对象+api

  • 实现操作系统:

​ 操作系统=c程序

提示

using friendly manual, using friendly tools.

google v.s. baidu

tldr v.s. man

书籍 Operating Systems: Three Easy Pieces