Rust for JavaScript Developers

Rust for JavaScript Developers

1h 18mIntermediate2023-07-07

Authors

Eve Porcello

Eve Porcello

Software Developer and Instructor

Course details

If you’re a JavaScript developer, you have likely been encouraged to learn Rust, program in Rust, perhaps even rewrite some of your previous work in Rust. The Next.js Compiler was built in Rust, Deno was built in Rust, the Apollo Router was built in Rust, and many other projects use Rust for its type safety, speed, and performance. In this course, experienced instructor and software developer Eve Porcello explores what you can do with this powerful programming language. Review the basics of creating Rust programs and learn about Rust primitives like creating strings, assigning variables, working with constants, and much more. Go over Rust functions and complex data types, including tuples, vectors, enums, and structs. Plus, learn about reading and writing files, using match expressions, and destructuring assignment.

Skills covered

RustEcma InternationalJavaScriptProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off

Concepts

Introduction

  • Learning Rust from scratch
  • Why learn Rust
  • Setting up VSCode

Creating Rust Programs

  • Installing Rust on a Mac
  • Installing Rust on a PC
  • Using Cargo

Rust Primitives

  • Creating strings
  • Assigning variables
  • Working with constants
  • Writing comments
  • Using booleans
  • Understanding numbers

Rust Functions

  • Understanding function syntax
  • Passing function parameters
  • Working with function errors
  • Returning values from functions
  • Creating arrays
  • Looping through arrays

Complex Data Types in Rust

  • Building tuples
  • Creating vectors
  • Understanding enums
  • Working with structs

Files and Patterns

  • Reading files
  • Writing files
  • Using match expressions
  • Destructuring assignment

Conclusion

  • Building for the future with Rust
40,000 Toman