这个标题绝对吹牛逼,连我自己都这么觉得...
4.XV6 中译版
6.Operating_Systems_From_0_to_1
7.blog_os
9.消息队列的编写
10.调试器中断点是如何工作的
11.使用裸函数处理异常消息
12.Python 内核剖析
13.Python 开发解析
14.PEP 339: Design of the CPython compiler - probably the most important and comprehensive piece of official documentation for the Python compiler. Being very short, it painfully displays the scarcity of good documentation of the internals of Python.
# 切换成实验版本
rustup toolchain install nightly
# 默认为实验版本
rustup default nightly
# 更新
rustup update
# 安装构建工具
cargo install cargo-xbuild
# 安装 bootimage
cargo install bootimage --version "^0.7.7"
# 安装 llvm-tools-preview
rustup component add llvm-tools-preview
# 编译系统镜像
cd ~/projects/hello && cargo bootimage
# 切换到系统目录
cd ~/projects/hello/target/os/debug
# 启动虚拟机
qemu-system-x86_64 -drive format=raw,file=bootimage-hello.bin
# 测试 lib.rust
cargo xtest --lib
# 直接运行
cargo xrun