Best resources to learn Rust?

This page summarizes the projects mentioned and recommended in the original post on /r/solana

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • book

    The Rust Programming Language

  • Once you got a working project going, the compiler will tell you pretty soon when you are doing something wrong, because Rust has strict rules which most programmers only know as good practices. To understand these rules the best source is the rust book. Especially borrowing, moving, ownership are important concepts that many beginners struggle with. But trust me, these are good rules and you will learn how to work with them. Also error handling, generics and the standard library are important, but I think to learn those, it is best to practice them in real code.

  • Tide

    Fast and friendly HTTP server framework for async Rust

  • If you are like me, you learn best from examples. So I would advise you to look primarily at existing code on github. To give you motivation, you should pick a small project you want to implement. There are a lot of github repositories with examples, for example in the tide repository (tide is a web server framework). building these examples, tweaking them, can already help you get a feel for how things work with very little effort. Of course there are also examples for solana smart contracts.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • solana-program-library

    A collection of Solana programs maintained by Solana Labs

  • If you are like me, you learn best from examples. So I would advise you to look primarily at existing code on github. To give you motivation, you should pick a small project you want to implement. There are a lot of github repositories with examples, for example in the tide repository (tide is a web server framework). building these examples, tweaking them, can already help you get a feel for how things work with very little effort. Of course there are also examples for solana smart contracts.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts