Topic

Rust

Track Rust news, ecosystem updates, performance discussions, library releases, async debates, systems programming posts, and production lessons from developer communities.

What this topic tracks

  • Language, compiler, and RFC updates
  • Async Rust and backend service patterns
  • Crate releases and ecosystem tooling
  • Systems programming and performance
  • WebAssembly, embedded, and production lessons

Rust · 421 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

Named and Optional Arguments are Awesome

botahamec.dev · 21 Sept

Programming Languages · Rust

The article argues that Rust should add opt-in named and optional function arguments.

Comparing Dart, C#, TypeScript, and current Rust workarounds, it highlights verbosity, parameter-order bugs, API proliferation, and compatibility problems. Its proposal uses `pub` parameters, defaults, reordering, and careful trait/function-pointer rules, while leaving syntax, const defaults, and ordering unresolved.

rift - a tiling window manager for macos

github.com · 21 Sept

macOS · Rust · Open Source

Rift is a performance-focused tiling window manager for macOS, offering multiple layouts, animated transitions, workspace gestures, hot-reloadable configuration, layout persistence, and a menu bar interface.

It works without disabling SIP, supports separate Spaces across displays, and provides Mach port IPC for integrations such as sketchybar. Rift is open source and built with Rust.

Bevy's Sixth Birthday

bevy.org · 10 Aug

Artificial Intelligence · Rust · Open Source

Bevy, the Rust-based game engine, celebrated its sixth anniversary with major milestones including the release of BSN, core UI widgets, Bevy Feathers, and a new automated metrics system.

The project introduced a 'Project Goals' system to streamline development and continues to expand its open-source ecosystem, supported by the Bevy Foundation, while prioritizing the development of an official engine editor.

A Vision for Cargo

epage.github.io · 5 Aug

Performance · Rust · Software Architecture

Cargo is highly regarded but must evolve to support modern, agentic, and large-scale development.

Key improvements include enhanced dependency management, better build performance through fine-grained caching and architectural changes, improved modularity via plumbing commands, and more sophisticated auditing for safety and provenance to allow for a safer, more efficient, and scalable Rust ecosystem.

Faster floating point math with Rust’s new API

pythonspeed.com · 2 Aug

Performance · Programming Languages · Rust

Rust 1.98 introduces algebraic floating-point operators, allowing developers to explicitly permit compiler optimizations for math operations.

While standard floating-point math often avoids reordering to maintain strict accuracy, these new operators provide granular control, enabling faster execution through techniques like SIMD while still allowing developers to protect critical calculations from precision loss.

How to use storytelling to fit inline assembly into Rust

ralfj.de · 13 Mar

Programming Languages · Rust · Software Architecture

This article explores integrating inline assembly into the Rust Abstract Machine using a 'storytelling' approach.

It proposes that every assembly block must correspond to a valid Rust 'story' (code) to ensure compatibility with compiler optimizations and aliasing models like Tree Borrows. The model addresses complex scenarios like page table manipulation and non-temporal stores.

Never snooze a future

jacko.io · 2 Mar

Distributed Systems · Rust · Software Architecture

The article explores 'snoozing' in async Rust, a bug where a future is ready for progress but remains unpolled, often causing deadlocks like 'futurelock'.

It distinguishes snoozing from starvation and cancellation, critiques patterns like select! by reference and buffered streams, and proposes a general rule to avoid handling Pin in async functions.

Lindenmayer Systems

justinpombrio.net · 16 Feb

Algorithms · Rust · Computer Science

Exploring Lindenmayer systems (L-Systems), this content demonstrates how recursive string replacement rules combined with Logo-style turtle graphics create complex fractal patterns like the dragon curve, Koch snowflake, and space-filling curves.

Implemented as a Rust library, it showcases various mathematical visualizations and provides source code for generating these intricate geometric images.

What is `std::pin::Pin` in Rust?

vrong.me · 29 Jun

Low-Level Programming · Programming Languages · Rust

Pin is a Rust pointer wrapper ensuring that self-referential types, such as async state machines, do not move in memory.

This prevents dangling pointers by restricting mutable access to !Unpin types. Developers typically manage pinning via Box::pin, the pin! macro, or Unpin implementations, ensuring Rust’s memory safety without a garbage collector.

Rust should have stable tail calls

trifectatech.org · 14 Apr

Programming Languages · Rust · Software Architecture

The Rust community is targeting the stabilization of explicit tail calls by 2027.

Tail calls enable recursion without stack overflows and allow for high-performance state machines, such as interpreters, by reusing stack frames. The project focuses on improving LLVM backend support and exploring complementary features like computed gotos to ensure efficient, portable systems-level code generation.

Security advisory for Cargo

blog.rust-lang.org · 21 Mar

Cybersecurity · Programming Languages · Rust

The Rust Security Response Team disclosed CVE-2026-33056, a vulnerability in the tar crate allowing arbitrary directory permission changes during Cargo package extraction.

No crates.io packages were found to exploit this. A patch will be included in Rust 1.94.1. Users of alternate registries should verify their status with their providers immediately.

Stalwart v1.0: The Fastest Mail Server on the Planet

stalw.art · 26 Oct

Backend · Performance · Rust

Stalwart v1.0 is released as its first stable mail and collaboration server after five years of development.

It focuses on performance and a finalized database schema that enables future in-place upgrades, while adding document full-text search and other features. Rewritten parsers, SIMD/SWAR, optimized storage, caching, and search deliver major gains: it beats Postfix and Dovecot in 35 of 38 headline comparisons, including 5,445 versus 723 incoming messages per second. v1.0 requires a one-time migration from earlier layouts; future releases upgrade in-place.

5× faster fast_blur in image-rs

apas.tel · 15 May

Algorithms · Performance · Rust

The image-rs library's fast_blur algorithm was optimized to be 5.9x faster by replacing expensive floating-point arithmetic with integer operations and eliminating division instructions.

Using a trait-based design, the implementation now selects integer paths at compile time for 8-bit images, achieving performance suitable for real-time applications without sacrificing output quality.

Actual curl rewrites in rust

daniel.haxx.se · 16 Nov

Rust

AI-driven projects have produced two Rust rewrites of curl and libcurl, urlx and kov/curl, with the latter claiming an $8,600 cost.

Their authors could recreate a snapshot because curl’s C code, documentation, API users, and tests provide a specification, but the rewrite was already behind: while 185,000 C lines became 340,000 Rust lines, curl gained over 300 commits, about 200 bug fixes, and vulnerability fixes. The maintainer argues curl’s community, stability, and continuous iteration matter more than language; Rust would have prevented only 14 of 81 2026 vulnerabilities.

Meridian — an experimental web browser built on Servo and GPUI

op.tngl.io · 7 Nov

macOS · Rust

Meridian is an experimental macOS web browser written in Rust, combining Servo for web pages and browser state with GPUI, the UI framework behind Zed, for its interface.

It supports lightweight JavaScript and layout features, configurable fonts, keybindings, colors and tabs, plus bookmarks, history, per-site zoom, media playback, reader mode, tab previews, and vertical or horizontal tabs. Available via Nix, its reusable gpui-servo library exposes Servo as a GPUI component.

There Is Life Before Main in Rust

grack.com · 11 Jun

Low-Level Programming · Rust · Software Architecture

This article explores technical techniques for executing code before fn main() in Rust.

By leveraging linker sections and constructor functions, developers can enable efficient, lock-free global initialization and dependency injection without runtime overhead. While powerful for performance and architectural decoupling, these methods involve complex linker interactions and require careful memory management to remain safe.

Erasing Existentials

wolfgirl.dev · 20 May

Algorithms · Programming Languages · Rust

This article explores how to handle existential quantification in Rust when dealing with traits that have multiple generic parameters.

It compares 'dyn Trait' and 'impl Trait', examines the 'for-exists' identity, and demonstrates strategies like associated types, PhantomData, and manual type erasure using 'std::any::Any' to achieve desired abstraction levels.

Diplomat: Multi-language FFI for Rust Libraries

manishearth.github.io · 14 Jun

C · C++ · Rust

Diplomat is a unidirectional FFI tool designed for Rust, enabling developers to expose libraries like ICU4X to multiple target languages through a single bridge layer.

It supports C, C++, JS, Dart, Kotlin, and Python, emphasizing idiomatic bindings, lifetime management, and extensive customization without requiring interface description languages.

Abolish Lock Poisoning

lucumr.pocoo.org · 25 Nov

Programming Languages · Rust

The author argues that Rust’s mutex poisoning should be removed or made opt-in, because it commonly causes deadlocks, recurring recovery costs, and prolonged outages rather than protecting invariants.

`PoisonError` retains the lock guard, making error handling hazardous; `lock().unwrap()` converts one panic into repeated failures across surviving threads, tasks, or tests. Standard-library and ecosystem code generally ignores poisoning or uses `parking_lot`. The proposed design makes `std::sync::nonpoison` the default and offers an explicit `Poison<T>` wrapper.

Where it came fromLobstersCreate a Rust digest for ecosystem updates, systems programming posts, and production lessons on your schedule.Build your digest