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

jordond/dfdu

github.com · 1 Dec

CLI · Rust · TUI

dfdu is a fast disk-usage browser for the terminal and desktop that helps users find and safely remove space-consuming files.

It combines parallel scanning with immediate browsing, treemap and tree views, duplicate and largest-file lists, extendable cleanup rules, cached scans and history. It also supports remote SSH browsing, JSON/NDJSON scripting, CI size limits, ncdu import/export, and Trash-first deletion with protections against accidental permanent removal.

Announcing Rust 1.100.1

blog.rust-lang.org · 27 Nov

Programming Languages · Rust

The Rust team released Rust 1.100.1, a point release fixing a regression in which some types with valid `Iterator` impls were not recognized as implementing `Iterator`.

The issue resulted from a change to the unstable `const` version of `Iterator` in Rust 1.100.0, which was reverted because stable code cannot use it. Existing users can install the update with `rustup update stable`.

Kitesurf is now open source

blog.cloudflare.com · 13 Nov

Rust · Serverless · AI Agents

Kitesurf, Cloudflare’s stateless browser for AI agents, is now open source on GitHub under Apache 2.0.

Running entirely on Cloudflare Workers, it parses HTML, applies CSS, executes JavaScript, renders screenshots, and supports CDP clients such as Puppeteer without a browser container. Built with Rust packages compiled to WebAssembly, it can run locally or deploy to a Cloudflare account; a Workers Paid plan is required for Dynamic Workers. Its repository separates Engine, PageScript, and PageRenderer.

Announcing rustup 1.29.3

blog.rust-lang.org · 3 Nov

CLI · Rust

rustup 1.29.3 is now available as a patch release that fixes two regressions: an “Illegal instruction” error on some x86_64 CPUs without SSE4.1 and a “lock() not supported” error on Solaris.

Existing users can update with `rustup self update`, while `rustup update` also updates rustup after normal toolchain updates. Manual replacement using the platform’s `rustup-init` binary is available if self-update fails.

How to fund Rust contributors

blog.rust-lang.org · 26 Oct

Rust · Open Source

Rust contributors can be funded in three ways: general maintenance through the Rust Foundation Maintainers Fund or RustNL Maintainers Team; specific features through fundable Rust Project Goals; and individuals through GitHub Sponsors or personal websites.

Funding helps reduce volunteer burnout, improve maintenance, and accelerate work on initiatives such as allocators, the never type, the next trait solver, and Polonius. Companies can contact the Funding team or join the Rust Commercial Network.

Memory safety absolutists

itsallaboutthebit.com · 25 Jul

Artificial Intelligence · Cybersecurity · Rust

This article discusses the debate over memory safety, challenging 'memory safety absolutists' who criticize Rust while ignoring trade-offs in alternatives like Fil-C.

It argues that while Fil-C offers valid safety improvements, it introduces GC and performance costs. Rust remains a pragmatic, highly effective tool for reducing memory safety vulnerabilities in software development.

Making ast.walk 220x Faster

reflex.dev · 16 Jun

Performance · Python · Rust

The author optimized Python's ast.walk by replacing slow generator-based traversal with a high-performance Rust implementation.

By bypassing CPython overhead, using direct memory access to dictionaries, and implementing a lookup cache for AST node fields, they achieved a 220x performance increase, significantly accelerating the linting process for their generated code.

Announcing Rust 1.96

blog.rust-lang.org · 28 May

Cybersecurity · Programming Languages · Rust

Rust 1.96.0 is now available, introducing new Copy-enabled Range types, assert_matches!

macros, and stricter WebAssembly linking requirements. This release also includes security patches for two Cargo vulnerabilities. Developers can update via rustup to access these improvements, which enhance safety and provide better diagnostic tools for pattern matching and range handling.

Show HN: Running the second public ODoH relay

numa.rs · 14 May

Cybersecurity · Distributed Systems · Rust

Numa introduces an ODoH client and relay in a single Rust binary, enabling anonymous DNS without accounts.

By splitting the path between a relay and a target, ODoH protects user IP addresses from being linked to queries. This release enhances privacy infrastructure and offers a self-hosted alternative to platform-locked solutions, emphasizing operational security and operator diversity.

Show HN: A modern Music Player Daemon based on Rockbox firmware

github.com · 9 May

C · GraphQL · Rust

Rockbox Zig is a modern evolution of the Rockbox audio player, leveraging Rust and Zig to expose its engine via gRPC, GraphQL, and HTTP.

It supports multi-room audio through AirPlay, Snapcast, and Squeezelite, featuring native support for over 20 codecs, gapless playback, and a React-based web interface, all packaged in a single high-performance binary.

Nobody ever got fired for using a struct

feldera.com · 2 Mar

Database · Performance · Rust

Engineers at Feldera optimized performance for SQL tables with hundreds of nullable columns.

They discovered that default Rust struct serialization via rkyv wasted significant space on optional fields. By implementing a custom bitmap-based approach and sparse row storage, they halved serialized data size and resolved major disk I/O bottlenecks.

Show HN: Deff – Side-by-side Git diff review in your terminal

github.com · 25 Feb

Git · Rust · TUI

deff is a Rust-based TUI designed for interactive, side-by-side git diff reviews.

It features Vim-like navigation, syntax highlighting, and per-file reviewed toggles. Supporting both committed and untracked changes, it offers flexible comparison strategies and local state persistence, making it a high-performance terminal tool for developers managing version control workflows.

Increasing the performance of WebAssembly Text Format parser by 350%

blog.gplane.win · 28 Oct

Backend · Performance · Rust

The wasm-language-tools v0.5 update significantly boosts WebAssembly Text Format (WAT) parser performance by 350% through a custom rewrite.

Key optimizations include replacing parser combinators with a hand-written implementation, utilizing shared memory through green token cloning, and using raw byte matching for keywords. Additionally, the developer reduced allocations by using a shared vector and optimized string handling with unchecked memory access.

&&&&&&&&&&&&&&str

ohadravid.github.io · 9 Jan

Performance · Programming Languages · Rust

A curious performance edge case exists within the Rust compiler regarding the .to_string() method on multiple nested string references.

Investigation reveals that Rust implements a specialized macro, to_string_str!, which generates efficient implementations for strings and their references up to thirteen levels of depth. This macro explicitly defines implementations from str and &str up to &&&&&&&&&&&&str, allowing the compiler to use String::from(s) and memcpy for better performance. However, once the fourteenth level of reference is reached, the specialized implementation is no longer available, and the compiler falls back to the more expensive <str as core::fmt::Display>::fmt path. This behavior highlights how Rust uses macro-based specialization to optimize common patterns while maintaining hard-coded limits on complexity.

Lonewolf 0.3 – A standalone XMPP server written in Rust

github.com · 13 Nov

Backend · Rust

Lonewolf 0.3, a standalone XMPP server written in Rust, adds federation, allowing message, presence, IQ, and roster exchanges with other servers through certificate-based authentication.

It also introduces direct TLS, desktop-client extensions for private storage and software-version queries, configurable short-lived certificate profiles, and optional SCRAM-SHA-512. The pre-1.0 software remains single-node; clustering and full compliance are planned. Builds now use the `lonewolfbench` tool name.

colbymchenry/codegraph

github.com · 30 Sept

Large Language Models · Rust · AI Agents

CodeGraph is a 100% local, Rust-powered code knowledge graph for AI coding agents including Claude Code, Cursor, Codex, Gemini, and GitHub Copilot.

It extracts and resolves symbols, calls, dependencies, routes, and cross-language bridges into SQLite, exposes surgical context through MCP, and auto-syncs incrementally, reducing exploration tool calls, tokens, latency, and change-impact uncertainty.

No one owes you supply-chain security

purplesyringa.moe · 11 Apr

Cybersecurity · Rust · Open Source

The author argues that supply-chain security in the Rust ecosystem is a shared responsibility rather than solely an issue for crates.io to solve.

Despite limitations in automated sandboxing and detection, users should actively audit dependencies. Relying on community volunteers instead of corporate-funded infrastructure means users must exercise common sense and utilize available security tools like cargo-vet.

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