MCPcopy Index your code
hub / github.com/PKUFlyingPig/CS110L

github.com/PKUFlyingPig/CS110L @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
213 symbols 434 edges 40 files 52 documented · 24%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CS 110L: Safety in Systems Programming

This repo contains all my learning materials for Stanford CS110L: Safety in System Programming.

Overview

In this course, you will learn Rust, a magic language with C's speed and other high level language's safety. It aims at empowering everyone to write efficient and safe software.

In this course, you will learn more than mastering a language. Rust's design philosophy will help you program elegantly and safely in other system programming language (e.g. C/C++). Also, the course focused on concurrency in the second half. You will trade off between multi-process/multi-threading and event-driven programming and learn some subtle bugs when using them.

Personally, I love the "futures in Rust" part best. Future is a very weird concept and I spent two to three days to fully digest it. However, when you finally understand it, you will be amazed by its elegance and use it happily.

Resources

Course website is here.

Assignment handouts are available here.

There are five small assignments and two projects.

Want to learn more ?

Check out this repository which contains all my self-learning materials : )

Extension points exported contracts — how you extend this code

Server (Interface)
(no doc) [2 implementers]
proj-2/balancebeam/tests/common/server.rs
ComputeNorm (Interface)
(no doc) [1 implementers]
week3/linked_list/src/linked_list.rs
Reader (Interface)
(no doc) [1 implementers]
proj-1/deet/src/gimli_wrapper.rs

Core symbols most depended-on inside this repo

clone
called by 24
week3/linked_list/src/linked_list.rs
set
called by 16
week2/rdiff/src/grid.rs
pid
called by 11
proj-1/deet/src/inferior.rs
get
called by 9
week2/rdiff/src/grid.rs
push_front
called by 8
week3/linked_list/src/linked_list.rs
get_target
called by 8
week3/inspect-fds/src/ps_utils.rs
kill
called by 8
proj-1/deet/src/inferior.rs
next
called by 6
week3/linked_list/src/linked_list.rs

Shape

Function 112
Method 67
Class 21
Enum 10
Interface 3

Languages

Rust93%
C7%

Modules by API surface

proj-1/deet/src/dwarf_data.rs18 symbols
week3/linked_list/src/linked_list.rs17 symbols
week3/inspect-fds/src/ps_utils.rs12 symbols
week3/inspect-fds/src/open_file.rs12 symbols
proj-2/balancebeam/src/main.rs11 symbols
proj-1/deet/src/inferior.rs11 symbols
proj-1/deet/src/gimli_wrapper.rs10 symbols
proj-2/balancebeam/src/response.rs9 symbols
proj-2/balancebeam/src/request.rs9 symbols
week3/inspect-fds/src/process.rs8 symbols
week2/rdiff/src/grid.rs8 symbols
proj-2/balancebeam/tests/02_multiple_upstream_tests.rs8 symbols

For agents

$ claude mcp add CS110L \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact