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

We found a bug in the hyper HTTP library

blog.cloudflare.com · 25 Jun

Cybersecurity · Distributed Systems · Rust

Cloudflare developers identified a race condition in the hyper library causing intermittent image truncation for large requests.

The issue was a premature socket shutdown occurring before buffers were cleared. By using strace to analyze system calls, they discovered a state machine flaw in the HTTP connection lifecycle. A fix was implemented and contributed to the upstream hyper repository.

Symbolica 2.0: Programmable Symbols for Python and Rust

symbolica.io · 5 Jun

Performance · Python · Rust

Symbolica 2.0 is a high-performance symbolic computation framework for Python and Rust.

The update emphasizes programmability, allowing users to define custom hooks for normalization, printing, differentiation, series expansion, and numerical evaluation. Enhancements include JIT compilation, improved Rust ergonomics, better notebook output, expanded special function support, and substantial performance gains in expression manipulation.

Read_once(), Write_once(), but Not for Rust

lwn.net · 9 Jan

Distributed Systems · Linux · Rust

The Linux kernel community is currently debating the implementation of concurrency primitives in Rust, specifically whether to port the standard C READ_ONCE() and WRITE_ONCE() macros.

These macros are widely used in C to prevent compiler optimizations that could break lockless algorithms by ensuring single, atomic memory accesses. However, Rust developers are leaning toward a different approach, preferring the use of the Linux kernel memory model (LKMM) via the Atomic crate. Advocates argue that Rust’s atomic operations provide clearer semantic intent by separating atomicity from ordering constraints, whereas the C macros are often seen as 'band-aids' with ambiguous meanings. This divergence highlights a potential long-term architectural split where C and Rust code within the same kernel handle shared data differently, requiring developers to master two distinct sets of concurrency APIs.

Gyroflow: Video stabilization using gyroscope data

github.com · 12 May

Artificial Intelligence · Rust · Open Source

Gyroflow is an advanced, cross-platform video stabilization application that uses precise motion data from gyroscopes, accelerometers, or external telemetry.

It supports high-quality GPU processing, rolling shutter correction, and professional video editor plugins, offering a flexible, open-source solution for smoothing footage from action cameras, drones, and professional cinema cameras.

Show HN: Turbolite – a SQLite VFS serving sub-250ms cold JOIN queries from S3

github.com · 26 Mar

Cloud Computing · Database · Rust

turbolite is an experimental SQLite VFS in Rust that optimizes database access from S3-compatible cloud storage.

It achieves sub-250ms cold start latency using B-tree introspection, page-level zstd-compression, and AES-256-GCM encryption. It utilizes configurable prefetching and a manifest-based architecture to minimize S3 request counts and maximize throughput for tenant-specific application workloads.

Show HN: RatatuiRuby wraps Rust Ratatui as a RubyGem – TUIs with the joy of Ruby

ratatui-ruby.dev · 1 Jan

Ruby · Rust · TUI

RatatuiRuby is a high-performance RubyGem that wraps the Rust-based Ratatui library for creating Terminal User Interfaces (TUIs).

It offers developers native performance with Ruby's developer experience, supporting both inline viewports for preserved scrollback and full-screen applications, while featuring a built-in testing suite for headless terminal verification.

A Verilog to Factorio Compiler and Simulator (Working RISC-V CPU)

github.com · 26 Mar

Docker · Programming Languages · Rust

v2f (Verilog to Factorio) is a tool that compiles Verilog designs into Factorio 2.0 blueprints.

It provides Rust and Lua APIs for circuit design, uses Yosys for synthesis, and supports simulation, performance optimization, and SVG visualization. It includes a fully functional RISC-V processor example and comprehensive development environment options via Docker or manual installation.

Show HN: Oxyde – Pydantic-native async ORM with a Rust core

github.com · 13 Mar

Database · Python · Rust

Oxyde is an asynchronous, type-safe ORM for Python that leverages a high-performance Rust core.

Inspired by Django, it uses Pydantic v2 for validation and features a clean, explicit API. It supports PostgreSQL, MySQL, and SQLite, offering significant performance gains while facilitating modern, reliable database management in async Python applications.

Understanding Traceroute

tech.stonecharioteer.com · 6 Apr

Linux · Programming Languages · Rust

This article explores how traceroute functions by mimicking its mechanism through a custom implementation in Rust.

It explains the use of TTL (Time To Live) fields, ICMP Time Exceeded packets, and raw sockets to map network paths. The author details the process of adding RTT timing and multi-probe consistency to their tool, while noting limitations like network load balancing and ICMP rate limiting.

Show HN: Streaming gigabyte medical images from S3 without downloading them

github.com · 30 Dec

Cloud Computing · Rust · Open Source

WSIStreamer is a modern, cloud-native tile server specifically designed for Whole Slide Images (WSI) using the Rust programming language.

Traditional imaging tools often require downloading massive files before processing, but WSIStreamer utilizes HTTP range-based streaming to fetch only the necessary bytes directly from S3 or S3-compatible object storage. This eliminates the need for complex local storage or long wait times. Key features include a built-in OpenSeadragon viewer, multi-level caching for performance, and security through HMAC-SHA256 signed URL authentication. It natively supports formats like Aperio SVS and Pyramidal TIFF, offering a production-ready solution for digital pathology and large-scale image analysis that prioritizes efficiency and ease of deployment via Cargo or Docker.

Show HN: Proa – A Rust web framework with fast SSR and multi-target rendering

proa.so · 15 Oct

Backend · Frontend · Performance · Rust

Proa is a batteries-included Rust web framework for fast server-side rendering and multi-target output from typed components, including HTML and Markdown.

It reports a 23.5 μs warm-production p50 render versus React renderToString’s 5.56 ms, or 237x faster, on an 8-vCPU AMD EPYC-Milan VPS. Proa combines streaming SSR, typed routing and data loading, compile-time accessibility checks, and selective RSJS islands that emit small JavaScript modules while preserving native SSR.

Fable created novel 4D splat format

adamraudonis.github.io · 4 Jul

Artificial Intelligence · JavaScript · Rust

.splat4d is a compact, seekable file format for 3D Gaussian Splatting, optimized for HTTP Range requests on static object storage.

It uses SZ/ZFP-style error-bounded quantization for bit-identical reconstruction across Rust and JavaScript. The format supports efficient streaming, fast playback via WebGPU, and superior compression compared to generic lossless methods like zstd.

Phosh 0.56.0

phosh.mobi · 5 Jul

Linux · Mobile · Rust

Phosh 0.56.0 includes major updates for the graphical mobile shell and its components.

Key additions include a load meter plugin, enhanced app management for immutable distributions, OS update panels, and keyboard layout improvements. Phoc was updated to wlroots 0.20.1, and several utilities received bug fixes, translation updates, and refined Rust-based service integrations.

IronClaw: a Rust-based clawd that runs tools in isolated WASM sandboxes

github.com · 13 Feb

Artificial Intelligence · Cybersecurity · Rust

IronClaw is an open-source, security-first personal AI assistant built in Rust.

It emphasizes data sovereignty through local encryption, a WebAssembly (WASM) sandbox for untrusted tools, and defense against prompt injection. Featuring a modular architecture with PostgreSQL support, it allows for self-expanding capabilities, routines, and multi-channel integration while maintaining strict privacy.

tokio-rs/topcoat

github.com · 10 Nov

Backend · Rust

Topcoat is an early-stage, modular, batteries-included Rust framework for full-stack web apps, combining server-rendered HTML with type-checked client reactivity.

Its `view!` templates use familiar Rust and HTML, while `$(...)` expressions run on the server initially and translate to JavaScript without Wasm or a client build step; `#[shard]` components refresh server-rendered HTML when needed. It also provides module-based routing, editable Tailwind-inspired UI components, asset bundling, sessions, localization, mail, and integrations.

rust-lang/rust

github.com · 14 Oct

Programming Languages · Rust

Rust is a programming language and this repository contains its compiler, standard library, and documentation.

It targets reliable, efficient software through fast, memory-efficient execution and compile-time memory and thread safety provided by its type system and ownership model. Rust also emphasizes productivity with strong diagnostics, documentation, Cargo for packages and builds, rustfmt, Clippy, and rust-analyzer, supporting applications from critical services and embedded devices to interoperable systems.

Show HN: Babyshark – Wireshark made easy (terminal UI for PCAPs)

github.com · 21 Feb

Cybersecurity · Rust · TUI

Babyshark is an open-source Rust-based terminal user interface (TUI) for network analysis.

Acting as a simplified Wireshark alternative, it provides real-time and offline PCAP/PCAPNG viewing. Key features include traffic summarization, domain-based grouping, anomaly detection through a 'What’s weird?' dashboard, and plain-English flow explanations to assist with network troubleshooting and diagnostics.

Show HN: HelixDB – A graph database built on object storage

github.com · 5 Jun

Artificial Intelligence · Database · Rust

HelixDB is an all-in-one database platform designed for AI applications, consolidating vector, graph, relational, and document data models.

It offers a CLI for managing local instances and cloud deployments, supports Rust and TypeScript SDKs for dynamic queries, and features an interactive bootstrapper to simplify building and scaling AI-driven software architecture.

Xilem – An experimental Rust native UI framework

github.com · 7 Apr

Rust · Software Architecture · UI

Xilem and Masonry are experimental Rust projects for building GUI applications.

Masonry acts as a foundational toolkit for widget management, while Xilem provides a high-level, reactive framework. Built on technologies like Winit and Vello, they offer a modern, efficient approach to creating natively compiled, accessible cross-platform user interfaces.

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