Unix systems programming in Rust
summary
Claim: Rust makes Unix systems programming easier, safer, and more productive. Concrete proofs: a small container tool containy thing that uses unshare and mount to avoid needing root and it works; a rewritten Ruby stack-tracer that reads another process’s memory via process_vm_readv and eliminates C memory bugs; a maintained crate Nix that wraps libc errors into Result. Materials are at http://www.rust-belt-rust.com/kamal-marhubi-system-programming-16x9.pdf
AI-written summary · about
chapters (34)
- 0:00habitat CHEF mozilla
- 0:19rust belt rust
- 0:31rustiest rust conference ever
- 0:53systems programming in rust is awesome
- 1:06what do| mean by unix systems programmir
- 1:39kernel's api
- 2:24some system calls
- 3:24examples of rust systems things I've worked on
- 6:06silly things are ok too!
- 6:50why rust is great for systems programmin
- 7:15rust is convenient
- 7:57traditionally done in c
- 8:20error checking memory manageme
- 9:03allocate and free memory
- 9:28working with strings isn't painful
- 10:07hash tables!!!
- 11:11rust allows transparent access to the underlying
- 13:05containy- thing: unshare, mount
- 14:18rustifies libc
- 14:45makes libc. nicer to use
- 15:24rust types where they make sense
- 16:22[u8] instead of (void*, size_t) pairs
- 16:50an ode to slices
- 17:07standard means it's ecosystem-wide
- 17:27(start, length). or (start, end) pairs
- 17:48and you won't protected from lifetime mishaps
- 18:03rust had slices from the beginning
- 18:56nix is great
- 19:20write a shell! shell- workshop
- 20:01try some systems programming in rust with niv
- 20:12you can learn a lot by being silly
- 21:36how you can help
- 21:46do cool things.
- 22:18because unix systems programming in rust really is awesome
related talks
45mBuilding Safe and Secure Systems in Rust
18mLearning Systems Programming with Rust
58mRust for The Curious C++ Developers
27mClosing Keynote
40mRust’s approach of getting things right
01h 14mRust: A Friendly Introduction
01h 05mKeynote - Rust: confident, productive systems programming
40mWhat's up with Rust?
