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 · 396 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

Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache

blog.cloudflare.com · 27 Aug

Algorithms · Performance · Rust

Cloudflare optimized Big Pineapple’s DNS cache through five Rust storage changes: replacing growable collections, compacting section metadata, omitting repeated DNS owners, boxing large enum variants, and storing record data contiguously in wire format.

These reduced per-entry memory 56%, lowered fleet memory by roughly 100 TB, increased insert throughput 43%, and reduced lookup latency 19%.

vercel-labs/agent-desktop

github.com · 2 Nov

Artificial Intelligence · CLI · Rust · AI Agents

Agent Desktop is a Rust-based CLI and C library for AI agents to inspect and operate macOS, Windows, and Linux desktop apps through native OS accessibility trees rather than pixels.

It solves unreliable computer use by assigning action-ready refs in each JSON snapshot; agents act on those refs and snapshot again to verify, while stale or ambiguous targets fail safely. Its 60 command names, headless-by-default operation, platform adapters, and bundled libagent_desktop_ffi distinguish it from pixel-matching tools.

Zed is 1.0

zed.dev · 29 Apr

Artificial Intelligence · Performance · Rust

The Zed team has released version 1.0 of their AI-native code editor.

Unlike Electron-based predecessors, Zed is built with Rust and the GPUI framework, leveraging GPU acceleration for high performance. It integrates advanced AI agents and collaboration tools, with future plans for DeltaDB to enhance real-time synchronization between developers and AI agents.

xerj-org/xerj

github.com · 15 Oct

Artificial Intelligence · Backend · CLI · Rust · RAG

XERJ is a local AI search engine that automatically indexes code, documents, logs, PDFs, and other files so agents retrieve relevant passages instead of reading entire files through grep.

Its tree-sitter-based code indexing preserves symbols and line numbers, while full-text, vector, hybrid, RAG, security-audit, and agent-memory features share one Elasticsearch-compatible API. Delivered as a single Rust binary with native MCP support, XERJ reports 2.7× fewer output tokens than grep-driven coding at the same solve rate.

OpenLogi

openlogi.org · 19 Aug

Hardware · Rust · Open Source

OpenLogi is a native, local-first Rust alternative to Logitech Options+.

It controls Logitech mice directly over HID++, enabling 44 button actions, custom shortcuts, scripts, DPI, SmartShift, device profiles, and app-specific overlays. It supports Bluetooth, USB, and multiple receivers on macOS, Linux, and Windows, with TOML configuration, signed packages, no account, and no telemetry.

Ladybird Browser adopts Rust

ladybird.org · 23 Feb

JavaScript · Programming Languages · Rust

The Ladybird browser project has begun transitioning parts of its codebase from C++ to Rust, starting with the LibJS JavaScript engine.

This decision prioritizes memory safety and leverages the mature Rust ecosystem. Using AI-assisted translation, developers achieved identical byte-for-byte performance and output without regressions, aiming for a phased, stable integration which will eventually replace the C++ pipeline.

Rust at Scale: An Added Layer of Security for WhatsApp

engineering.fb.com · 27 Jan

Cybersecurity · C++ · Rust

WhatsApp has successfully integrated and rolled out a significant security layer built with the Rust programming language, marking a major milestone in production-grade software engineering.

This initiative, known as Kaleidoscope, replaces a legacy C++ library with 90,000 lines of Rust code to monitor and validate media files across billions of devices. By leveraging Rust's memory-safe properties, WhatsApp aims to proactively neutralize vulnerabilities like the 2015 Stagefright exploit, which targeted media parsing libraries. This rollout spans Android, iOS, Windows, Mac, and web platforms, proving Rust's scalability and performance advantages in a diverse, global environment. The transition highlights a broader shift toward memory-safe languages to mitigate high-severity vulnerabilities common in C and C++ implementations. WhatsApp's strategy underscores a defense-in-depth approach, ensuring end-to-end encryption is complemented by robust protection against sophisticated malware hidden in seemingly benign file types.

aws/aws-emulator

github.com · 11 Nov

AWS · Backend · Rust · Testing

AWS Emulator locally emulates AWS APIs so developers can build and test without an AWS account, network calls, or service fees.

It supports server mode for the AWS CLI and SDKs and embedded Rust mode with an isolated in-process instance per test. The Rust workspace has one crate per AWS service, with fidelity scores and tracked compatibility gaps. It is intended only for development and testing, not production or security validation.

Storing 2 bytes of data in your Logitech mouse

timwehrle.de · 21 Mar

Hardware · Low-Level Programming · Rust

A developer successfully used the Logitech MX Vertical mouse as a tiny, persistent storage device by hacking its HID++ protocol.

By writing arbitrary two-byte data into the DPI register, they demonstrated that the mouse maintains state across devices. The project highlights reverse engineering, firmware communication, and understanding OS-level hardware management through experimental technical exploration.

Announcing Rust 1.100.0

blog.rust-lang.org · 12 Nov

Programming Languages · Rust

Rust 1.100.0 stabilizes the never type after 10 years, allowing `!

` to be named anywhere and making `Infallible` an alias. It also stabilizes core custom allocator support for `Vec` and `Box`, adds `DropGuard` for cleanup or rollback on scope exit, and introduces unsafe `conjure_zst` for creating zero-sized types. Cargo now warns about unused dependencies, reduces build-cache collisions, and supports dependency cooldowns via `min-publish-age` to delay newly published versions.

vercel-labs/agent-browser

github.com · 5 Nov

Artificial Intelligence · CLI · Rust · AI Agents

agent-browser is a native Rust CLI that lets AI agents automate browsers from the shell one command at a time.

Its compact accessibility-tree snapshots assign refs such as @e1 to elements, enabling agents to act, re-snapshot after changes, and verify results while the browser persists between commands. It supports Chrome for Testing, CDP, alternative engines, iOS Simulator, cloud providers, MCP, skills, sessions, debugging, and macOS, Linux, and Windows binaries.

My Thoughts on the Bun Rust Rewrite

andrewkelley.me · 9 Jul

Rust · Business · Open Source

The Zig Software Foundation reflects on its complex history with Bun, citing concerns over management practices, poor code quality, and technical debt.

Ultimately, the Zig team celebrates Bun's rewrite into Rust, as it alleviates friction between project visions, distances Zig from criticized engineering habits, and clarifies community boundaries after the project's acquisition.

Introducing tsrs: a Port of TypeScript to Rust

blog.cloudflare.com · 20 Oct

JavaScript · Performance · Programming Languages · Rust · TypeScript

Cloudflare, VoidZero, and Max Schwenk are developing tsrs, a faithful Rust port of the TypeScript compiler within the Oxc toolchain, in collaboration with the TypeScript team.

Early same-configuration benchmarks show up to 8× faster performance and about 70% less memory than TypeScript 7.0; TypeScript 7.1 already incorporates some tsrs optimizations. Rust also enables efficient WebAssembly deployment. An experimental npm release is available, while maintainers plan upstream synchronization, broader feature support, and contributions back to TypeScript.

Rewriting Bun in Rust

bun.com · 8 Jul

Artificial Intelligence · Rust · Software Architecture

Bun has transitioned from a Zig-based runtime to Rust, leveraging AI-driven workflows with Anthropic’s Claude to complete the rewrite in just 11 days.

The migration systematically addresses memory leaks and stability issues using Rust’s memory safety guarantees, resulting in improved performance, smaller binary sizes, and reduced memory usage while maintaining feature parity.

I'm sorry, but you still have to think

itsallaboutthebit.com · 11 Oct

Backend · Performance · Programming Languages · Rust · Software Architecture

AI-generated rewrites of DHH’s Campfire Once from Ruby on Rails to Rust, Elixir, and Go show that coding still requires human judgment.

Unspecified prompts leave compatibility, performance, memory, and failure behavior to chance, while the implementations contain concurrency and blocking-I/O issues. Benchmarks focusing only on throughput obscure trade-offs: under load, Rust delivered as little as 1% of notifications, while Elixir used 1.8GB of memory and experienced HTTP timeouts. Reliable systems require explicit constraints, failure modes, and critical analysis.

Temporal: A nine-year journey to fix time in JavaScript

bloomberg.github.io · 11 Mar

JavaScript · Rust · Open Source

Bloomberg and Igalia spearheaded a nine-year effort to introduce Temporal, a modern, immutable date and time API for JavaScript.

Replacing the flawed Date object, Temporal reached Stage 4 in TC39 and is featured in ES2026. It offers nanosecond precision, time zone awareness, and calendar support, utilizing a unique cross-engine Rust implementation named temporal_rs.

11 year old unsoundness bugs found in Rust borrow checker

github.com · 13 Oct

Low-Level Programming · Programming Languages · Rust

Rust’s borrow checker accepts an unsound program involving a generic type with a custom `Drop` implementation.

The example stores a reference to a stack-local `String` in `Q`, whose `Drop` moves it into a global `Mutex<Vec<Box<dyn Any + Send>>>`, then reads it after the local expires. It compiles on current nightly and stable versions back to 1.85.0, prints unrelated stack data, and triggers AddressSanitizer’s stack-use-after-scope error.

Bugs Rust won't catch

corrode.dev · 29 Apr

Cybersecurity · Rust · Software Architecture

Canonical disclosed 44 vulnerabilities in uutils, a Rust-based GNU coreutils replacement.

These bugs highlight that while Rust prevents memory-safety issues, logic flaws—specifically TOCTOU and system boundary errors—remain critical. Canonical’s audit underscores the importance of anchoring operations on file descriptors, avoiding panics, handling raw bytes, and ensuring bug-for-bug compatibility in systems programming.

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