GitXplorerGitXplorer
r

rust-intro

public
3 stars
2 forks
0 issues

Commits

List of commits on branch main.
Verified
3460125530d2e9e5d7724b3b5743325e646bbd52

REadme

rrochacbruno committed 2 years ago
Verified
97eb0b71e197b52fde1a07c811ec0d6cfe1523da

Update README.md

rrochacbruno committed 2 years ago
Verified
6fb1fe7df683f92435523e96725509b9834295ce

Initial commit

rrochacbruno committed 2 years ago

README

The README file for this repository.

Rust Intro Repository for Data Umbrella Workshop

This repository serves only as a starting point for Data Umbrella Workshop Instructions on how to get started and recommendations about online environment.

Environment

Installing Rust on your computer

The recommended way to get Rust installed is by using rustup

https://rustup.rs/

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

When running the above command on a *nix terminal you can select the default options and proceed with the instructions.

Windows users please follow this link: https://rust-lang.github.io/rustup/installation/other.html

Running Rust Code online

Almost all the contents on this workshop can be executed online via https://play.rust-lang.org/ so you can use it without the need to install anything locally.

A complete environment on your browser

Gitpod recommended

Gitpod offers a complete environment in your browser with a full featured IDE (VSCode online) and a terminal to execute Cargo commands.

Sign-in on https://gitpod.io/ using your github account and then go to https://gitpod.io/#https://github.com/rochacbruno/rust-intro/

Replit

https://Replit.com also offers a complete environment with terminal and IDE.

Program

  1. How to install
  2. Dev environment
  3. How to write and compile your first program
  4. Cargo and project
  5. Variable definition and RAII
  6. Data Types
  7. Stack, Heap and Strings
  8. Console Input
  9. Operations and Type Casting
  10. Control Flow
  11. Functions and borrowing
  12. A CLI program