os-tutorial
30,803
Stars
3,548
Forks
792
Watchers
129
Open Issues
BSD-3-Clause
许可证
C
语言
2014-09-29
创建时间
2026-02-04
最近更新
项目能做什么
从零开始教你编写计算机操作系统的循序渐进教程。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
os-tutorial =========== _⚠️ Hey! This is an old, abandoned project, with both technical and design issues [listed here](https://github.com/cfenollosa/os-tutorial/issues/269). Please have fun with this tutorial but do look for more modern and authoritative sources if you want to learn about OS design. ⚠️_ How to create an OS from scratch! I have always wanted to learn how to make an OS from scratch. In college I was taught how to implement advanced features (pagination, semaphores, memory management, etc) but: - I never got to start from my own boot sector - College is hard so I don't remember most of it. - I'm fed up with people who think that reading an already existing kernel, even if small, is a good idea to learn operating systems. Inspired by [this document](https://web.archive.org/web/20211008041419/http://www.cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures/os-dev.pdf) and the [OSDev wiki](http://wiki.osdev.org/), I'll try to make short step-by-step READMEs and code samples for anybody to follow. Honestly, this tutorial is basically the first document but split into smaller pieces and without the theory. Updated: more sources: [the little book about OS development](https://littleosbook.github.io), [JamesM's kernel development tutorials](https://web.archive.org/web/20160412174753/http://www.jamesmolloy.co.uk/tutorial_html/index.html) Features -------- - This course is a code tutorial aimed at people who are comfortable with low level computing. For example, programmers who have curiosity on how an OS works but don't have the time or willpower to start reading the Linux kernel top to bottom. - There is little theory. Yes, this is a feature. Google is your theory lecturer. Once you pass college, excessive theory is worse than no theory because it makes things seem more difficult than they really are. - The lessons are tiny and may take 5-15 minutes to complete. Trust me and trust yourself. You can do it! How to use this tutorial ------------------------ 1. Start with the first folder and go down in order. They build on previous code, so if you jump right to folder 05 and don't know why there is a `mov ah, 0x0e`, it's because you missed lecture 02. Really, just go in order. You can always skip stuff you already know. 2. Open the README and read the first line, which details the concepts you should be familiar with before reading the code. Google concepts you are not familiar with. The second line states the goals for each lesson. Read them, because they explain why we do what we do. The "why" is as important as the "how". 3. Read the rest of the README. It is **very concise**. 4. (Optional) Try to write the code files by yourself after reading the README. 5. Look at the code examples. They are extremely well commented. 6. (Optional) Experiment with them and try to break things. The only way to make sure you understood something is trying to break it or replicate it with different commands. TL;DR: First read the README o阅读完整原文
项目深度分析 AI 生成
现代化重构版《从零构建操作系统》数字图书与视频专栏
| 产品构想 | 原仓库已明确声明废弃(存在历史技术和设计问题),利用其3万Star的流量背书和知识框架,基于现代工具链(如QEMU、Docker、现代GCC、64位甚至Rust/现代C)重新编写全套图文+视频实战教程,提供完整课件和答疑服务。 |
| 核心功能 | 现代工具链一键环境、修复原仓库已知Bug的完整代码演进分支、图文精讲、答疑社群与习题集。 |
| 目标用户 | 备战校招/技术转型的计算机专业学生、底层架构进阶工程师。 |
| 难度/周期 | 中等 · 2 - 3个月 · 成本:开发机器、录播设备、课程平台托管费(几乎零额外成本)。 |
| 收费模式 | 数字出版物一次性买断(如Gumroad/掘金小册)、视频平台会员专栏收费。 |
| 竞争风险 | 教育类内容制作周期长,开源社区已有类似免费竞争材料(如OSDev Wiki、Writing an OS in Rust)。 |
| 依据 | 已验证事实(原仓库Star超3万说明巨大需求,且明确标记废弃急需现代内容替代) |
OS实验室:免配置 Web 交互式底层系统学习沙箱
| 产品构想 | 针对原生编译环境(NASM、交叉编译器、QEMU等)在现代不同操作系统配置繁琐的痛点,构建基于 WebAssembly / 容器云的纯浏览器内核编译与运行环境,配合递进式关卡教程。 |
| 核心功能 | 浏览器内直接编辑汇编/C代码、在线编译并运行QEMU展示虚拟屏幕输出、单步断点和内存可视化教学组件。 |
| 目标用户 | 嫌本地配置工具链麻烦的初学者、高校实验教学课程。 |
| 难度/周期 | 高 · 3 - 5个月 · 成本:前端WebAssembly/容器后端服务器费用、域名与云存储。 |
| 收费模式 | 基础关卡免费,高级调试功能与云端长期存储按月订阅(SaaS模式),或向高校/培训机构提供B端授权。 |
| 竞争风险 | 底层虚拟化与调试器的Web化技术复杂度高,运营算力成本较高。 |
| 依据 | AI推测 |
系统级软件工程求职与硬核面试训练营
| 产品构想 | 以原教程涉及的底层概念(中断向量、特权级切换、内存分页、自制libc)为考点基础,面向高端系统软件岗位(嵌入式、基础架构、安全逆向)提供硬核项目经验辅导与作品集打造服务。 |
| 核心功能 | 工业级源码解析比对、动手完成一个可写在简历上的最小可用OS项目、代码评审与1对1模拟面试。 |
| 目标用户 | 目标为底层系统开发、固件开发、系统安全研究员职位的应届生或转岗工程师。 |
| 难度/周期 | 中等 · 1 - 2个月 · 成本:导师工时成本、招生营销成本。 |
| 收费模式 | 高客单价小班制/一对一训练营收费。 |
| 竞争风险 | 生源获客成本高,需要极强的人脉背书和交付口碑。 |
| 依据 | 尚需验证的假设 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| rust-embedded/rust-raspberrypi-OS-tutorials | 中文介绍暂未生成 :books: Learn to write an embedded OS in Rust :crab: |
14,747 | Rust |
| DeveloperLx/macOS_Development_Tutorials_translation | 中文介绍暂未生成 Translation of macOS development tutorials. |
1,305 | - |
| rcore-os/rCore-Tutorial | 中文介绍暂未生成 Tutorial for rCore OS step by step (3rd edition) |
475 | Rust |
| YatSenOS/YatSenOS-Tutorial-Volume-1 | 中文介绍暂未生成 A Simple 32-bit OS lab tutorial. |
456 | C++ |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 2014-09-29,最近推送 2026-02-04 |
| 社区活跃 | Star 30,803 / Fork 3,548 / Issue 129(数据支持,可自行核实) |
| 许可证 | BSD-3-Clause |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。