Craig's Amazing Rust Spectacular (brought to you by Rust-eze) - Craig Spence - NDC Sydney 2024

Discover the amazing world of Rust at NDC Sydney 2024, where Craig Spence reveals the language's unique features, such as memory safety, concurrency, and explicit memory management, as well as its differences and similarities with TypeScript.

Key takeaways
  • Rust provides a complete software development ecosystem.
  • Rust is faster than other languages, thanks to its memory safety guarantees.
  • Rust uses a unique ownership model, which is crucial for memory safety.
  • The pub keyword is used to declare public variables and functions in Rust.
  • Rust has built-in support for concurrency and parallelism.
  • The mut keyword is used to declare mutable variables in Rust.
  • Rust allows for explicit memory management, which can be used to optimize performance.
  • Rust has a unique syntax for creating and manipulating data structures.
  • TypeScript is a superset of JavaScript that adds static typing and type checking.
  • TypeScript has a type system that is based on structural subtyping.
  • TypeScript uses a concept called “structural typing” to determine if two types are compatible.
  • TypeScript has a mechanism for defining interfaces and types.
  • The const keyword is used to declare constants in TypeScript.
  • The let keyword is used to declare variables in TypeScript.
  • The class keyword is used to declare classes in TypeScript.
  • The new keyword is used to create instances of classes in TypeScript.
  • Rust and TypeScript share some similarities, but they have fundamental differences in their design.
  • Rust is designed for systems programming and emphasizes memory safety, performance, and concurrency.
  • TypeScript is designed for web development and emphasizes static typing, type checking, and web development.