AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Highlights from This Week in Rust - Issue 444. This week features a juicy post-mortem, open source, open hardware, and lots of news from around the Rust ecosystem.
Rustacean Station is a community project; get in touch with us if you’d like to suggest an idea for an episode or offer your services as a host or audio editor!
This is the difference in approaches of the two languages. In C++ if the code is vulnerable, the blame is on the programmer. In Rust if the code is vulnerable, Rust considers it a failure of the language, and takes responsibility to stop even “bad” programmers from writing vulnerable code. I can’t stress enough how awesome it is that I can be a careless fool, and still write perfectly robust highly multi-threaded code that never crashes.
With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.
tracing
crate, created as part of
the tokio projectstd::ops::Drop
trait
documentationstd::mem::forget
and
Box::leak
for intentionally leaking memorytracing::instrument::Instrument
trait, which fixes this issuestd::ops::Deref
trait documentationcargo-bloat
, for determining
the size impact of code and dependenciestwiggy
, a similar tool for WASM targetsrustc
contributor,
particularly on the standard library side, and Ashley
Mannix sent me a really lovely note, which
was: “Rust is also chronically friendly so nobody gets chewed out for making mistakes. They happen. They get caught. They get patched. You learn something new. It’s ok.”.#this-week-in-rust
channel of the Rustacean Station Discord serverIntro Theme: Aerocity
Audio Editing: Aleksandar Nikolic
Hosting Infrastructure: Jon Gjengset
Show Notes: Tim McNamara
Hosts: Tim McNamara, Sean Chen, and Allen Wyma.