Skip to content

kvc0/rust_workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the Rust workshop!

Clone this repository and start working through the modules at your own pace.

Modules:

  1. Intro to Rust: Start here if you are new to Rust. Read the readme either way to see if you'd like a quick refresher.
  2. Sieve Cache: Learn applied rust by writing a modern cache eviction algorithm.
  3. Benchmarking: Learn tools and techniques for measuring performance of Rust code.

Prerequisites

  • MacOS, Linux, or WSL. You might be able to do this with Windows, but I've not tried!
  • An IDE. VS Code is a good choice, but you can use vim, emacs, or some Jetbrains thing if you prefer.
  • Rust stable toolchain must be installed. rustup is the usual way.
  • gcc and gnuplot for visualizations, perf for detailed profiling.
    • On MacOS brew install gnuplot will get you there. If you miss this, you'll just have less smooth graphs 🤷
    • perf is more for linux - it's really for going deep on latency measurements with flamegraphs. We'll be using another means for flamegraphs in this workshop so MacOS people can play along, but perf-backed cargo flamegraph is an option if you like.

About

A practical introduction to Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages