Rust from Zero - 000
- Published on
- Authors
- Name
- Mudassir
- Github
- @Lzyct
This is my notes for my journey learning Rust as Mobile App Developer. I decide to choose Rust to learn because of its strong static typing, memory safety guarantees, and modern features. And one of the more interesting in Rust is the ownership system (owner and borrower), which allows for strict compile-time memory management. It ensures that programs are free from common issues such as null pointer dereferences, data races, and memory leaks.
Installation
For the installation, you can read the official documentation from Rust. If you're using Fish Shell, you can import the cargo path in shellInit
.
set -gx PATH "$HOME/.cargo/bin" $PATH
and after that, you can reload your fish
shell by type
source ~/.config/fish/config.fish
Or if you are using Nix
You can run rust without installing it on your machine
nix develop "github:the-nix-way/dev-templates?dir=rust" -c $SHELL
See you on my next journey in learning Rust.