- Executores
-
Aprender
Aprender Python Exemplos executáveis, NumPy, pandas e mais Aprender IARedes neurais, ML e LLMs do zero Aprender C e C++ Ponteiros, memória, STL e C++ moderno Aprender C#Fundamentos, POO, LINQ, async e exercícios .NET Aprender MatplotlibGráficos de linha, barras, dispersão e pizza com visualizadores Aprender RustOwnership, traits, tratamento de erros e threads Aprender GoSlices, interfaces, goroutines e channels Algoritmos em Python Busca, ordenação, recursão e visualizações O(n) Algoritmos em C e C++ Compare implementações em C e C++ Programação para crianças Aprenda a programar brincando!
- DesafiosNovo
- Para professoresNovo
- Atualizações
- Me pague um café
Ownership e borrowing
Moves, referências, slices, lifetimes e ponteiros inteligentes: as ideias que dão a Rust segurança de memória sem coletor de lixo.
- Lição 1 desafio Ownership and Moves Learn the rule behind Rust's memory safety: every value has one owner.
- Lição 2 desafios References and Borrowing Let a function use a value without taking ownership of it.
- Lição 2 desafios Slices Borrow part of a string or array without copying it.
- Lição 1 desafio Lifetimes Tell the compiler how long references stay valid with lifetime annotations.
- Lição 1 desafio Smart Pointers: Box and Rc Put data on the heap with Box and share ownership with Rc.