Posts

Showing posts with the label Rust

Comprehensive Rust - a Rust course developed by the Android team

Image
Comprehensive Rust - This is a four day Rust course developed by the Android team. The course covers the full spectrum of Rust, from basic syntax to advanced topics like generics and error handling. It also includes Android-specific content on the last day. The source code of the course is HERE .

Install Rust on Linux Mint 21.1 (Over VirtualBox)

Image
This video show steps to install Rust (1.67.1) on Linux Mint 21.1 (over VirtualBox). To install Rust on Linux (or macOS), enter the command in Terminal: $ curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh The command downloads a script and starts the installation of the rustup tool, which installs the latest stable version of Rust. ref: ~  https://doc.rust-lang.org/book/ch01-01-installation.html After Rust installed, you can follow the steps in the video to try your first Hello World using rustc, or using Cargo. rustc is fine for simple programs. But as your project grows, you’ll want to manage all the options and make it easy to share your code. Cargo will help you write real-world Rust programs. Cargo is Rust’s build system and package manager. Most Rustaceans use this tool to manage their Rust projects because Cargo handles a lot of tasks for you, such as building your code, downloading the libraries your code depends ...

Rust online Playground

Image
 The online Rust Playground:  https://play.rust-lang.org/