Skip to content

Implementations of core system components: UNIX-like OS kernel modules (MIT 6.S081), user-space TCP network stack (Stanford CS144), and custom memory allocators (CMU 15-213).

License

Notifications You must be signed in to change notification settings

Ada-Church-Closure/CS-Systems-Internals

Repository files navigation

This repository collects systems- and security-focused coursework and my own notes/projects from well-known university classes.


  1. CMU CS15213: CSAPP (2025.3-2025.6)
  • Focus: linking and the ELF toolchain, x86-64 calling conventions, C memory model, cache behavior.
  • Labs: bomblab (control flow, disassembly), cachelab (locality, miss analysis), malloclab (allocator with free lists/coalescing).
  • Tools: gdb, objdump, readelf, nm, valgrind; emphasis on debugging and basic performance profiling.
  1. CS61A: Structure and Interpretation of Computer Programs (2025.6-2025.8)
  • Project: Scheme interpreter (parsing, eval/apply, lexical scoping) in Python.
  • Takeaway: concept-heavy, light on debugging; good for building foundations in abstraction and interpreter design.
  • Ref: 2024 archived site; Chinese handbook: https://composingprograms.netlify.app (I contributed minor fixes).
  1. MIT 6.S081 Operating System Engineering (2025.9-2025.11, ~90%)
  • Topics: processes, syscalls, traps/interrupts, page tables and virtual memory, file system, scheduling, synchronization.
  • Work: xv6 labs (syscall extensions, virtual memory and page-fault handling, copy-on-write, simple file-system changes, basic concurrency).
  • Note: small codebase but conceptually deep; solo debugging can be challenging. I plan to revisit the papers and remaining topics.

4.CS 144: Introduction to Computer Networking (2025.12.22-2025.12.30, Lab0-Lab3)

  • Focus: Reliable transport (TCP) implementation, ARQ mechanisms, Flow Control, Finite State Machines.

  • Reassembler: Handled out-of-order byte streams and edge cases (overlapping/duplicate data).

  • Receiver: Implemented sequence number arithmetic (ISN/Wrap32 vs Absolute Seqno) and window management.

  • Sender: Designed the retransmission logic, tracking flight data, and implementing RTO timers with exponential backoff.

About

Implementations of core system components: UNIX-like OS kernel modules (MIT 6.S081), user-space TCP network stack (Stanford CS144), and custom memory allocators (CMU 15-213).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •