Ready for Rust
summary
A compact walkthrough builds a genetic programming simulator with the Rust toolchain using rustup & cargo, shows the borrow-checker ownership rules that prevent dangling pointers and data races, and demonstrates easy multithreading via spawn + move handles. Performance jumps from ~110k cycles/sec in a Clojure version to ~3.5M in Rust debug and ~25 million cycles/sec in an optimized build. Compiler errors are numbered and linkable, and fixing captures (pulling params into locals) resolves mutable/immutable borrow conflicts.
AI-written summary · about
chapters (10)
- 0:00Intro
- 1:41The most loved programming language
- 3:54Rust vs Swift vs Go
- 7:14Memory bugs with C++
- 9:13Getting ready
- 15:41Code
- 25:57Memory management
- 41:12Parallelism
- 48:31Performance
- 55:57Outro
related talks
59mRust for C++ developers - What you need to know to get rolling with crates
01h 04mRust-ifying Your C# Codebase: A Tale of Adventure and Transformation
29mRust is easy
03mRust Programming in 5 Minutes
01h 42mIntroduction to Rust (for people who have never used a compiler)
32mBuilding and Maintaining Rust at Scale
40mWhy Rust?
01h 22mRust for the C++ Programmer
