4

thoughts after 1.5 / 2.5 / 6.5 years of rust

Submitted by twovests in programming

hjjjhhhhhhhgngnng

the learning curve of rust is made up for by how nice the tooling is

i love cargo. everything is so easy with cargo

want to build and run? cargo run

want to add dependencies? cargo add

want to add them by hand? vim Cargo.toml

want to lint your code? `cargo clippy

want to create github runners for your project to create a release for all common platforms and targets? cargo dist init; cargo dist build

want to do embedded development? cargo hf2 and a config file

want to reference the docs but you're offline? rustup doc. disks are big and books are small. the books are all there.

the hardest part of programming is getting a dev env up and running and i'll be cold dead, buried, and spinning before i accept docker as a replacement for a good build script

sorry shrek. cargo is love now. cargo is life now.

Comments

You must log in or register to comment.

1

twovests wrote

also, props to astral.sh for uv (a rust-reimplementation of pip) and for taking in rye, which promises "Cargo for Python", something they blogged about eight years ago

(these are new, new, new, and currently a bit broken. i can't even get tqdm to install for some reason! their linter ruff is the only thing i would recommend using in a production environment.)