- Esecutori
-
Impara
Impara Python Esempi eseguibili, NumPy, pandas e altro Impara l'IAReti neurali, ML e LLM da zero Impara C e C++ Puntatori, memoria, STL e C++ moderno Impara C#Fondamenti, OOP, LINQ, async ed esercizi .NET Impara MatplotlibGrafici a linee, barre, dispersione e torta con visualizzatori Impara RustOwnership, trait, gestione degli errori e thread Impara GoSlice, interfacce, goroutine e canali Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++ Programmazione per bambini Impara a programmare giocando!
- SfideNuovo
- Per docentiNuovo
- Aggiornamenti
- Offrimi un caffè
Fondamenti di Rust
Dal primo programma a variabili, tipi, condizioni, cicli, stringhe, vettori e funzioni, con una sfida dopo ogni argomento.
1 Primi passi 5 lezioni
- Lezione 2 sfide Hello World and Program Structure Write your first Rust program and learn what fn main and println! do.
- Lezione 2 sfide Variables and Mutability Declare variables with let, allow changes with mut, and use constants and shadowing.
- Lezione 2 sfide Data Types Work with integers, floating-point numbers, booleans and characters, and convert between them.
- Lezione 2 sfide Operators and Arithmetic Use arithmetic, comparison and logical operators, and see how integer division works.
- Lezione 2 sfide Reading User Input Read a line from the keyboard and turn it into a number safely.
2 Decisioni 2 lezioni
- Lezione 2 sfide Conditions with if and else Choose what runs with if, else if and else, and use if as an expression.
- Lezione 1 sfida FizzBuzz Solve the classic FizzBuzz problem with match on a tuple.
3 Cicli 2 lezioni
- Lezione 2 sfide Loops: for, while and loop Repeat code with for over a range, while with a condition, and loop with break.
- Lezione 2 sfide Prime Numbers Check whether a number is prime and list the primes up to 30.
4 Stringhe e testo 2 lezioni
- Lezione 2 sfide Strings: String and &str Create, grow, search and split text with Rust's two string types.
- Lezione 1 sfida Reverse a String Reverse the characters of a string and the words of a sentence.
5 Collezioni 3 lezioni
- Lezione 2 sfide Tuples and Arrays Group values with tuples and store a fixed number of items in an array.
- Lezione 2 sfide Vectors Store a growing list of values in a Vec and read items safely.
- Lezione 2 sfide Fibonacci Sequence Generate Fibonacci numbers with a loop and a vector.
6 Funzioni 2 lezioni
- Lezione 2 sfide Functions and Return Values Define functions with typed parameters and return values.
- Lezione 2 sfide Binary Search Find a value in a sorted slice by halving the search range.