{"id":20282942,"url":"https://github.com/rcore-os/rcore-tutorial","last_synced_at":"2025-04-05T01:06:02.568Z","repository":{"id":45712927,"uuid":"275366069","full_name":"rcore-os/rCore-Tutorial","owner":"rcore-os","description":"Tutorial for rCore OS step by step (3rd edition)  ","archived":false,"fork":false,"pushed_at":"2023-04-06T15:44:55.000Z","size":12157,"stargazers_count":476,"open_issues_count":23,"forks_count":67,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-29T00:07:02.881Z","etag":null,"topics":["kernel","os","rust","tutorial"],"latest_commit_sha":null,"homepage":"https://rcore-os.github.io/rCore-Tutorial-deploy/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rcore-os.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-06-27T12:18:11.000Z","updated_at":"2025-03-24T13:05:20.000Z","dependencies_parsed_at":"2024-01-14T07:13:28.452Z","dependency_job_id":"dbcfff8a-7380-417e-ba9e-e564146b2462","html_url":"https://github.com/rcore-os/rCore-Tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcore-os%2FrCore-Tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcore-os%2FrCore-Tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcore-os%2FrCore-Tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcore-os%2FrCore-Tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rcore-os","download_url":"https://codeload.github.com/rcore-os/rCore-Tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271528,"owners_count":20911587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kernel","os","rust","tutorial"],"created_at":"2024-11-14T14:12:38.902Z","updated_at":"2025-04-05T01:06:02.548Z","avatar_url":"https://github.com/rcore-os.png","language":"Rust","readme":"# rCore-Tutorial V3\n\n**注意：本项目已经不再维护，有兴趣的同学请看[rCore-Tutorial-v3](https://github.com/rcore-os/rCore-Tutorial-v3)。**\n\n[本教学仓库](https://github.com/rcore-os/rCore-Tutorial)是继 [rCore_tutorial V2](https://rcore-os.github.io/rCore_tutorial_doc/) 后重构的 V3 版本。\n\n本文档的目标主要针对「做实验的同学」，我们会对每章结束后提供完成的代码，你的练习题只需要基于我们给出的版本上增量实现即可，不需要重新按照教程写一遍。\n\n而对想完整实现一个 rCore 的同学来说，我们的文档可能不太友好。因为在编写教程过程中，我们需要对清晰和全面做很多的权衡和考虑、需要省略掉大量 Rust 语法层面和 OS 无关的代码以带来更好的可读性和精简性，所以想参考本文档并完整实现的同学可能不会有从头复制到尾的流畅（这样的做法也不是学习的初衷），可能需要自己有一些完整的认识和思考。\n\n另外，如果你觉得字体大小和样式不舒服，可以通过 GitBook 上方的按钮调节。\n\n## 仓库目录\n\n- `docs/`：教学实验指导分实验内容和开发规范\n- `notes/`：开题报告和若干讨论\n- `os/`：操作系统代码\n- `user/`：用户态代码\n- `SUMMARY.md`：GitBook 目录页\n- `book.json`：GitBook 配置文件\n- `rust-toolchain`：限定 Rust 工具链版本\n- `deploy.sh`：自动部署脚本\n\u003c!-- Rust 工具链版本需要根据时间更新 --\u003e\n\n## 实验指导\n\n基于 GitBook，目前已经部署到了 [GitHub Pages](https://rcore-os.github.io/rCore-Tutorial-deploy/) 上面。\n\n### 文档本地使用方法\n\n\u003c!-- 下面的代码不再使用标签，因为也同时会渲染到 GitHub 的项目首页 --\u003e\n```bash\nnpm install -g gitbook-cli\ngitbook install\ngitbook serve\n```\n\n## 代码\n\n### 操作系统代码\n本项目基于 cargo 和 make 等工具，在根目录通过 `make run` 命令即可运行代码，更具体的细节请参见 `Makefile`、`os/Makefile` 以及 `user/Makefile`。\n\n### 参考和感谢\n\n本文档和代码部分参考了：\n- [rCore](https://github.com/rcore-os/rCore)\n- [zCore](https://github.com/rcore-os/zCore)\n- [rCore_tutorial V2](https://rcore-os.github.io/rCore_tutorial_doc/)\n- [使用Rust编写操作系统](https://github.com/rustcc/writing-an-os-in-rust)\n\n在此对仓库的开发和维护者表示感谢，同时也感谢很多在本项目开发中一起讨论和勘误的老师和同学们。\n\n\u003c!-- TODO LICENSE --\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcore-os%2Frcore-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frcore-os%2Frcore-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcore-os%2Frcore-tutorial/lists"}