You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A collection of my systems programming learning projects, built in Rust as one Cargo workspace. Each project lives in its own folder with its own README.
git clone https://github.com/obah/systems_programming_rs.git
cd systems_programming_rs
cargo run -p <package> -- <args>
How Rust lays a struct out in memory — the same two fields under repr(Rust), repr(C), repr(packed) and repr(packed(2)). Fails to build on purpose (E0793).
Lessons on threads, channels, shared state and atomics, with exercises alongside. cargo run hangs on the atomics lesson — a todo!() worker, which is its own lesson.
Development
cargo test -p <package># test one project
cargo test# test everything
cargo clippy
cargo fmt