- 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è
Ownership e borrowing
Move, riferimenti, slice, lifetime e smart pointer: le idee che rendono Rust sicuro in memoria senza garbage collector.
- Lezione 1 sfida Ownership and Moves Learn the rule behind Rust's memory safety: every value has one owner.
- Lezione 2 sfide References and Borrowing Let a function use a value without taking ownership of it.
- Lezione 2 sfide Slices Borrow part of a string or array without copying it.
- Lezione 1 sfida Lifetimes Tell the compiler how long references stay valid with lifetime annotations.
- Lezione 1 sfida Smart Pointers: Box and Rc Put data on the heap with Box and share ownership with Rc.