Free course · for JavaScript, TypeScript and Node.js developers
Rust for Node.js Developers
Map JavaScript and TypeScript habits to Rust: objects, null and undefined, array methods, try/catch, npm and Promises
You already ship JavaScript or TypeScript. Each lesson puts a Node.js habit next to its Rust equivalent, names exactly what changes, and asks you to port the function to Rust. Every JavaScript example was run on Node.js 22, TypeScript was type-checked in strict mode, and every Rust example was compiled and run.
Rust at a glance
What changes when code is compiled ahead of time, owned and statically typed
Values and types
Bindings, numbers, functions and conditions without coercion
Data shapes
Objects, unions, null, arrays, maps and strings in Rust types
What the garbage collector hid
Moves, borrows and nominal traits instead of shared references
Errors, packages and async
try/catch, npm and Promises mapped to Result, Cargo and futures
Skip what you already know
Each lesson here teaches and checks the rule of the Academy lessons next to it. After this course, continue with the lessons it does not cover.