Skip to main content

Search

Items tagged with: Rust


#TIL about this universal binary installer, UBI, that grabs any github released binaries, and installs it for you.

For instalnce, to install @orhun 's binsider:

ubi --project orhun/binsider --in "$HOME/bin

#rust #cli #tools


"Unleashing 🦀 The Ferris Within"
My opening gambit today at #NDCTechTown 2024, mostly to a C++ audience. I hope I come out alive 😄
Just kidding; they know me, don't send any help.
#Rust #cpp #cplusplus #rustlang


Stop Over-optimizing your Rust

Just cause Rust _lets_ you optimize your code, it doesn't mean you _should_!

Clone things if it makes your life easier! You can always come back and optimize it later if it turns out to matter. I’ve found that often what I thought was important to optimize up front was the wrong thing to focus on.

#rust #optimizing #dontoveroptimize


You can now #[expect] lints in the new Rust stable! 🦀

✨ Suppresses lints and warns on unfulfilled expectations.

📚 Documentation: https://doc.rust-lang.org/rustc/lints/levels.html#expect

➡️ Implementation: https://github.com/rust-lang/rust/pull/120924/

#rustlang #rust #programming #language #lint #warn #trick #coding #rustacean #devtips


for a while now a cursed thought has been in my mind: what if ferris the rustacean were a magical girl? so i drew it/her.
#pixelart #ドット絵 #art #mastoart #DigitalArt #ferris #rust #rustlang #rustacean #magicalgirl


Just added a new Rust clippy lint inverted_saturating_sub and extended implicit_saturating_sub.

Some rare cases but hopefully it'll help find some logic bugs in some code bases. :)

PR: https://github.com/rust-lang/rust-clippy/pull/12476

#rust #rustlang