2024-04-05·1 min read
Learning Rust in 2024
Coming from JavaScript/TypeScript, Rust was a significant paradigm shift.
First Impressions
The borrow checker is intimidating at first. But once you understand ownership, everything clicks.
What I Love
- Performance - Zero-cost abstractions
- Type Safety - Catch errors at compile time
- Tooling - Cargo is fantastic
- Documentation - docs.rs is incredible
Current Project
Building a CLI tool to manage my dotfiles. Here's a snippet:
use std::fs;
use std::path::PathBuf;
fn main() {
let home = std::env::var("HOME").unwrap();
println!("Home directory: {}", home);
}
More updates as I progress!