Language Features.
New and upcoming language features: releases, editions, RFCs, stabilizations, traits, macros and error handling.
16 editions and posts from the Rust Trends archive, newest first. All topics
-
87 - Rust 1.100 Ships the Never Type
After ten years and five failed attempts, ! is a real type. Plus all 13 Rust GSoC projects passed, and a sharp critique of GPUI's state model.Read more ⟶ -
86 - systemd Opens the Door to Rust
New systemd tools can now be written in Rust, with no cargo and no outside crates. Plus Cloudflare's TypeScript port that checks code up to 8x faster.Read more ⟶ -
85 - If It Compiles, the Agent Got It Right
Niko Matsakis wants Rust to double down on 'if it compiles, it works' as agents write more code. Plus a Rust mail client that keeps AI opt-in.Read more ⟶ -
81 - Rust 1.98 Ships as the Supply Chain Gets Tested
Rust 1.98 lands, the next-generation trait solver reaches nightly after four years, and an 86-minute supply-chain attack briefly hijacks the arrayref crate.Read more ⟶ -
80 - Rust Rewards Discipline
Bevy turns six with entity counts in the millions, a developer says Rust ruined casual coding for him, and Niko Matsakis opens the cyclic trait debate.Read more ⟶ -
67 - Untangling Rust Errors & the bzip2 Rewrite
Two approaches to Rust error organization that actually work, bzip2 drops C for 15% speed boost, and your chance to improve rustc performance.Read more ⟶ -
59 - Rust for Scientists? Plus, Async Closures & If/Let Chains Explained
The latest edition covers async closures, if/let while chains, and insights from the 2024 State of Rust Survey. Plus, is Rust useful for scientists?Read more ⟶ -
Rust’s Async Closures: A New Way to Handle Asynchronous Logic
Discover how async closures in Rust (coming in Rust 1.85) will make handling asynchronous logic more ergonomic. Learn what closures are, why async closures matter, and see simple examples of how they improve Rust’s async experience.Read more ⟶ -
Rust’s if/let While Chains: Cleaner Control Flow is Coming!
Rust’s upcoming if/let while chains will clean up control flow by eliminating unnecessary nesting. Explore how this feature simplifies conditional expressions and loops, making Rust code more readable and expressive.Read more ⟶ -
40 - Rust Roundup: Community Insights and Innovative Projects
Discover how Rust empowers both Thunderbird's Exchange support and drone technology, exploring match operators and community insights.Read more ⟶ -
Unpacking Rust's match Operator with Community Insights
Explores the usage of the match operator in Rust, discusses community feedback on a shared code snippet, and presents several code improvements.Read more ⟶ -
31 - Rust Revealed: A Closer Look at Official Releases and Format Argument Strategies
Discover the secrets behind Rust's official releases and delve into advanced format arguments with expert insights in this edition of Rust Trends.Read more ⟶ -
23 - Rust Revelations: Python Bridges, Survey Insights, and Macro Magic
Discover Rust Trends! Dive into Python-Rust synergy, 2022 Rust Survey highlights, and macro insights. Stay ahead with Rust's latest advancements.Read more ⟶ -
Rust Macros Revealed!
Delve into Rust macros' transformative potential. See how tools like 'cargo expand' unveil macro magic, illustrated with Actix Web & Tokio runtime. Simplify boilerplate and master Rust meta-programming.Read more ⟶ -
16 - Idiomatic Rust and functional programming
In this edition of Rust Trends, we delve into the realm of idiomatic Rust and its importance in writing efficient, maintainable code. We also explore functional programming in Rust, an approach that emphasizes immutability and the use of functions to perform computations. Lastly, we discuss the updates to Cargo’s 'cargo fix' subcommand, now capable of automatically fixing some simple Clippy warnings. Dive in to keep up-to-date with the latest in Rust programming!Read more ⟶ -
11 - Error Handling in Rust
Explore how to handle errors in Rust through this comprehensive guide. Dive into the world of error handling in Rust, understand the importance of the Result type and the ? operator, and learn about the match operator. Gain insights on how Rust makes error handling explicit, ensuring robust and efficient programming.Read more ⟶