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

astral-sh/uv

github.com · 18 Nov

CLI · Python · Rust

uv is a Rust-based Python package and project manager that consolidates workflows handled by tools such as pip, pip-tools, pipx, poetry, pyenv, and virtualenv.

It claims 10–100x faster performance than pip and provides project management, universal lockfiles, workspaces, script dependency metadata, Python version installation, tool execution, a pip-compatible interface, and a disk-efficient global cache across macOS, Linux, and Windows.

We rewrote our Rust WASM Parser in TypeScript – and it got 3x Faster

openui.com · 20 Mar

Performance · Rust · TypeScript

The developers transitioned from a Rust WASM parser to TypeScript after realizing the WASM-JS boundary overhead significantly outweighed Rust's execution advantages.

Replacing WASM with Typescript removed binding costs, while implementing statement-level incremental caching replaced an inefficient O(N²) streaming pipeline with an O(N) approach, resulting in significant performance gains for their LLM-based component tree parser.

Optimizing Rustc's next trait solver

donsz.nl · 25 Nov

Performance · Programming Languages · Rust

Rust’s next trait solver is planned to land in Rust 1.102.0 after performance work addressed a major stabilization blocker.

Trait solving proves relationships between types and traits using impl blocks, compiler-built-ins, and where bounds, but recursive, potentially exponential queries make it costly. Optimizations include extensive caching, canonicalization, selective cache bypasses, and removing opaque types from cache keys. For wg-grammar, these changes raised cache hits from 73% to 79%, halved compilation time from 28 to 14 seconds, and cut CPU cycles from nearly 200 billion to about 7 billion.

Rust project goals: Immobile types and guaranteed destructors

github.com · 3 Aug

Programming Languages · Rust · Software Architecture

Rust is planning to introduce Move and Forget traits to allow types to opt out of universal movement and memory-forgetting assumptions.

These traits will simplify self-referential types by replacing Pin with direct language-level immovability and enable safe scoped spawning through guaranteed destructors, improving overall language ergonomics and safety.

The State of Allocators in 2026 - Finally Stabilised

cetra3.github.io · 27 Nov

Low-Level Programming · Performance · Rust

Rust 1.100 stabilized the MVP of the allocator API, enabling locally selectable memory strategies.

A bump allocator can make burst allocations cheap and free them all at once; accounting wrappers can track usage and trigger thresholds, as in the thresher crate; and specialized allocators can place data on the stack, enforce alignment for O_DIRECT, or otherwise control memory location. Generic collections such as Vec can use these strategies, though broader ecosystem support remains limited.

Show HN: Nub – A Bun-like all-in-one toolkit for Node.js

github.com · 24 Jun

Node.js · Rust · TypeScript

Nub is a Rust-based, all-in-one toolkit for Node.js.

It augments the ecosystem with features like native TypeScript support, JSX, modern syntax, and automatic .env loading. It includes a rapid script/package runner, version manager, and high-performance package manager, offering Bun-like developer experience without replacing the standard Node.js runtime or requiring vendor lock-in.

Mold Linker Version 3.0.0 Release – Rewritten in Rust

github.com · 5 Oct

CLI · Low-Level Programming · Rust

mold 3.0.0 is the first Rust rewrite of the high-speed mold linker, replacing the C++ 2.42.1 release while preserving its command-line interface, target architectures, output, and linking performance.

Tests across supported targets, real-world workloads, and all Gentoo packages found no regressions. Rust adds bounds checks for corrupted inputs. The release also improves GNU ld compatibility, fixes crashes, incorrect or nondeterministic output, relocation and architecture-specific bugs, and changes builds from CMake to Cargo.

TreeWalker: Avoiding redundant work across rows and trees

shopify.engineering · 2 Dec

Artificial Intelligence · Algorithms · Machine Learning · Performance · Rust

Shopify built TreeWalker, a Rust inference engine that accelerates delivery-date predictions from tree ensembles by sharing decisions across related rows and repeated predicates.

It groups forecast horizons, represents active rows with bit masks, reuses prepared feature tests, and skips empty branches while preserving each row’s result and model behavior. TreeWalker scored Shopify’s delivery model 3.96× faster than its existing evaluator, with larger groups reaching 7.7–9.1× speedups on public survival datasets.

Is Rust faster than C?

steveklabnik.com · 9 Jun

Performance · Programming Languages · Rust

The debate over whether Rust is faster than C often hinges on how one defines 'all things being the same.'

While both languages can produce identical assembly for low-level tasks like inline assembly, they differ significantly in default behaviors and semantics. Rust can optimize memory layout by reordering struct fields for size, whereas C maintains a strict order. Furthermore, social factors play a role; Rust's safety guarantees often embolden developers to implement complex optimizations, such as parallelism, that might be avoided in C due to safety concerns. Ultimately, while C's lack of runtime bounds checks can offer a raw speed advantage, Rust's ability to optimize those checks away or enable fearless concurrency means the performance difference is usually an engineering trade-off rather than a fundamental language limitation.

sanstun: A sans-IO, parallel-friendly WireGuard implementation in Rust

firezone.dev · 31 Oct

Design Patterns · Encryption · Performance · Rust · Software Architecture

Firezone announced sanstun, an open-source Apache 2.0 sans-IO Rust implementation of the WireGuard state machine, replacing its deprecated boringtun fork.

Its API separates I/O, timing, randomness, buffering, and protocol state; Interface::receive parses and rate-limits datagrams before routing typed messages to Tunnel instances. PendingEncapsulate and corresponding decapsulation types isolate bookkeeping from encryption, enabling worker-thread parallel crypto while Interface and Tunnel state remain single-threaded. Benchmarks show 1280-byte encryption bookkeeping is about 2% of total work.

zed-industries/gpui

github.com · 23 Nov

Rust · UI

gpui is an open-source, GPU-accelerated UI framework for Rust that combines immediate-mode and retained-mode approaches.

It provides a foundation for building user interfaces while uniting the flexibility of immediate rendering with the structure and persistence of retained UI systems. The project is distributed through its website and crates.io.

Box of Secrets: Discreetly modding an apartment intercom to work with Apple Home

jackhogan.me · 23 Mar

Cybersecurity · Hardware · Rust

After their apartment complex failed to repair a broken intercom, two friends bypassed the system by installing an ESP32-based relay controller.

By tapping into the physical solenoid wiring and using a custom Rust-based Matter integration, they enabled seamless gate control via Apple Home while maintaining the original intercom's functionality, showcasing a clever DIY hardware hack.

Bun 1.4

bun.com · 20 Aug

JavaScript · Rust · TypeScript

Bun 1.4 is a major full-stack JavaScript and TypeScript toolkit release.

Rewritten in Rust, it improves Node.js compatibility with 1,517 new tests, fixes over 2,900 issues, and significantly reduces CPU, memory, startup time, and binary size. It adds native streams, HTTP/3, WebView, image and Markdown APIs, parallel testing, package-management commands, and broader observability and security features.

KetchUp – Open-source SketchUp alternative built with Rust and WebGPU

ketchup3d.github.io · 8 Nov

Rust

KetchUp is an open-source SketchUp alternative built in Rust with a WebGPU/WebGL2 3D editor for browser and native Windows, macOS, and Linux apps.

It supports drawing, Push/Pull modeling, precise measurements, groups, components, tags, and furniture planning. Projects autosave locally and can be saved as .ketchup files; SketchUp geometry imports and OBJ exports are supported, but textures, scenes, some features, and materials are not. It is MIT-licensed and requires hardware acceleration.

2026 is an exciting year for the Rust compiler (and me)

yoyo-code.com · 19 Oct

Performance · Programming Languages · Rust

Rust compiler work is reaching a payoff point in 2026, as long-term initiatives near completion and unlock language features, faster builds, and architectural improvements.

The next-generation trait solver and Polonius address type-system and borrow-checking limitations; parallel frontend, LLVM 23, move elimination, polymorphization, shared Cargo caches, and build-directory changes improve performance and workflows. Project goals and new funding support this momentum, while the author plans to pursue Rust compiler performance work.

WebUSB Extension for Firefox

github.com · 20 Apr

Rust · Software Architecture · Open Source

This extension enables WebUSB functionality in Firefox by utilizing a native messaging stub.

Users must install both the browser extension and a Rust-based native program on their system. The setup supports macOS, Windows, and Linux via prebuilt binaries or custom source builds, requiring specific configurations for manifest file placement and host registration.

Rust’s Standard Library on the GPU

vectorware.com · 24 Jan

Performance · Programming Languages · Rust

VectorWare has achieved a significant milestone by enabling Rust's standard library (std) to run on GPUs, a breakthrough that overcomes previous limitations necessitating the #![

no_std] attribute. By implementing a custom hostcall framework, the team allows GPU code to perform traditionally host-only tasks like file I/O, networking, and system time through a libc facade. This approach streamlines GPU development by preserving familiar Rust abstractions and enabling deep code reuse from the existing crate ecosystem. The implementation uses standard GPU techniques like double-buffering and atomic operations while leveraging CUDA streams to maintain performance. VectorWare aims to bridge the gap between CPU and GPU architectures, positioning Rust as a primary language for high-performance, GPU-native applications while planning future upstreaming to the official Rust compiler.

Okmain: How to pick an OK main colour of an image

dgroshev.com · 8 Mar

Algorithms · Python · Rust

Okmain is a Rust and Python library that extracts visually pleasant dominant colors from images.

Unlike standard 1x1 resizing which produces muddy results, it uses K-means clustering in the Oklab color space. Key features include spatial weighting to prioritize image centers and SIMD optimizations for high-performance processing.

Grafeo – A fast, lean, embeddable graph database built in Rust

grafeo.dev · 15 Mar

Artificial Intelligence · Database · Rust

Grafeo is a high-performance graph database built in Rust, supporting both LPG and RDF data models.

It offers ACID compliance, HNSW-based vector search, and multi-language query support including GQL, Cypher, and GraphQL. Designed for flexibility, it can be embedded or run standalone, with bindings for various programming languages and strong AI ecosystem integration.

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