Rustacean Station
Rustacean Station
Rustacean Station
What's New in Rust 1.58 and 1.59
1 hour 13 minutes Posted Mar 8, 2022 at 8:25 pm.
] Rust 1.58
] Captured identifiers in format strings
] Reduced Windows Command search path
] More #[must_use] in the standard library
] Stabilized APIs
] Rust 1.58.1
] Rust 1.59
] Inline assembly
] Destructuring assignments
] Const generics defaults and interleaving
] Future incompatibility warnings
] Creating stripped binaries
] Incremental compilation off by default
] Stabilized APIs
] Changelog deep-dive
0:00
1:13:39
Download MP3
Show notes
Jon and Ben discuss the highlights of the 1.58 and 1.59 releases of Rust.
Contributing to Rustacean Station
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!
Twitter: @rustaceanfm
Discord: Rustacean Station
Github: @rustacean-station
Email: [email protected]
Timestamps & referenced resources
[@
01:10] - Rust 1.58
[@
01:18] - Captured identifiers in format strings
[@
07:40] - Reduced Windows Command search path
ripgrep CVE
ripgrep fix commit
[@
11:05] - More #[must_use] in the standard library
Tracking issue for #[must_use] PRs
When to use #[must_use]
[@
17:16] - Stabilized APIs
std::fs::OpenOptions
Tracking issue for *::unwrap_unchecked
[@
22:50] - Rust 1.58.1
Security Advisory
C++ is probably also vulnerable
[@
27:15] - Rust 1.59
[@
28:00] - Inline assembly
std::intrinsics
Inline assembly by example
[@
39:06] - Destructuring assignments
[@
44:00] - Const generics defaults and interleaving
[@
46:11] - Future incompatibility warnings
[@
51:28] - Creating stripped binaries
[@
53:54] - Incremental compilation off by default
Incremental disabled back in Rust 1.52.1
The identified issue
[@
58:50] - Stabilized APIs
available_parallelism
num_cpus crate
[@
cargo r -r
Tracking issue for v0 symbol mangling
Switching to v0 by default
HashSet and HashMap method bounds changed
fantoccini using multiple impl blocks
Credits
Intro Theme: Aerocity
Audio Editing: Aerocity
Hosting Infrastructure: Jon Gjengset
Show Notes: Jon Gjengset
Hosts: Jon Gjengset and Ben Striegel