Skip to content

Instantly share code, notes, and snippets.

@ross-humphrey
Last active December 17, 2021 16:03
Show Gist options
  • Save ross-humphrey/d328689f41d92f1645058240dc1a9ebb to your computer and use it in GitHub Desktop.
Save ross-humphrey/d328689f41d92f1645058240dc1a9ebb to your computer and use it in GitHub Desktop.
πŸ–₯ Programming Rust - Notes

Chapter 1:

  • "In certain contexts - for example the context Rust is targeting being 10x or even 2x faster than the competition is a make-or-break thing. It decides the fate of a system in the market as much as it would in the hardware market."
  • "All computers are now parallel... Parallel programming is programming"
  • "TrueType parser falw used by nation state attacker for sureillance, all software is security sensitive."

The Rust language makes a simple promise: if your program passes the compilers checks it is free of undefined behaviour.

Chapter 2 - A Tour of Rust

  • Cargo: Rust's compilation manager, package manager and general-purpose tool
  • rustc: Rust Compiler. Let Cargo invoke the compiler
  • rustdoc: Rust documentation tool. If you write documentation in comments of appropiate form, rustdoc can build nicely formatted HTML from them. Like rustc, let cargo run this for us.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment