JetBrains Academy logo
Free courseJetBrains s.r.o.

Learn Rust

This is an adaptation of an exciting rustlings course. In it you will find plenty of small exercises to help beginners learn how to read and write Rust programs.

Skill levelBeginner
Time to complete 11 days

You'll take this course in your JetBrains IDE.
Just install JetBrains Toolbox, and we'll handle the rest!

Skill levelBeginner
Time to complete 11 days

About this course

Trying to stick closely to the original spirit of rustlings course, this adaptation provides a few helpful hints about Rust development added inside the IDE. The materials of this course are also drawn from The Rust Programming Language Book written by Steve Klabnik and Carol Nichols with contributions by the Rust Community.

To work in this course, you will need the Rust toolchain installed on your machine. The corresponding chapter of The Book will provide you with all the instructions on how to do that.

Code editor icon

This course runs directly in your
JetBrains IDE

Learn more

Content

  1. Getting started
  1. Variables
  2. Basic Data Types
  3. Functions
  4. Conditions
  5. Variables, Functions, and Conditions Test
  6. Tuples and Arrays
  7. Repetitions
  1. What is ownership
  2. References and Borrowing
  3. The Slice Type
  1. Structs
  2. Structs with Methods
  3. Enums
  4. Pattern Matching
  1. Modules
  1. Vectors
  2. Strings
  3. Hashmaps
  4. Options
  1. Error Handling
  2. Errors Primer
  1. Generic Data Types
  2. Traits
  3. Lifetimes
  1. How to Write Tests
  2. Running and Organizing Tests
  1. Closures
  2. Iterators
  3. Smart Pointers
  4. Type Conversions
  1. Using Threads to Run Code Simultaneously
  2. Using Message Passing to Transfer Data Between Threads
  3. Shared-State Concurrency
  1. Declarative Macros
  2. Procedural Macros

Learn directly inside your JetBrains IDEs

Real-world development environmentZoom
Real-world development environmentZoom
Real-world development environmentZoom
Real-world development environmentZoom
  • Real-world development environment

    Gain practical experience with the tools and workflows you'll use in your career, minimizing the learning curve when transitioning to real-world projects.

  • Project-based learning journey

    Our plugin is built to help you finish real-world coding projects, which you can display in your code portfolio after completion.

  • Collaboration via Git

    Effortlessly track changes and collaborate on projects using Git, an essential tool for programmers in every field.

  • Focused learning

    Enjoy fewer distractions with assignments, code, debugging, and version control all in one window.

Screen

Build a web interface

Design a simple web application to showcase your AI playing Dots and Boxes.

University

Master deep reinforcement learning

Discover the key concepts that empower AlphaZero to surpass human intelligence.

Game dev

Develop AI games

Build AI players for Tic Tac Toe, Connect Four, and Dots and Boxes, step by step.

Getting started

  • 1

    Install the JetBrains Toolbox App

    The course requires the latest version of the Toolbox application. If you don’t have it, you can download it here. If your JetBrains Toolbox version is 2.5 or older, you should upgrade it.

  • 2

    Launch the course

    The Toolbox app will automatically open. A pop-up will ask you to click Allow to proceed. Once the remote IDE is open, simply click Start to begin the course.

For additional help, check out our Troubleshooting guide

FAQ and troubleshooting

Yes, you will need the JetBrains Toolbox App and a JetBrains IDE.

But don’t worry! Just click the Open course button and then select Allow in the resultant popup to install the JetBrains Toolbox App. We've taken care of all the necessary settings, and the app will handle the rest of the setup for you.

The JetBrains Toolbox App checks which IDE is compatible with your course and whether it is installed on your computer. If you have the necessary IDE installed, the app will open it. If not, JetBrains Toolbox will initiate the installation, prioritizing free community editions.

Yes, the JetBrains Toolbox App is essential even if you already have a JetBrains IDE. It automatically prepares your IDE for studying by installing the essential plugins and updating the IDE if necessary.

Please make sure your version of the JetBrains Toolbox App is 1.28 or newer. To update, open the app and click Update Toolbox App to 2.x.x., or download the latest version here.

Yes, the course is free, and it does not require a licensed version of the IDE. For further details, see our Subscription Options and Pricing page.
The configuration process may vary depending on the IDE you are using for the course. For detailed instructions, please refer to the Troubleshooting guide.