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.
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%.
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.
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.
Bun has successfully migrated parts of its codebase to Rust.
This transition improves memory safety, fixes existing leaks, reduces binary size, and maintains performance parity. The core architecture remains identical, with further optimizations planned before the official release. Users can test the improvements immediately via the Bun canary channel.
The Bun project is undergoing a massive rewrite from C++ to Rust, achieving 99.8% test suite compatibility on Linux.
This 960,000 LOC migration aims to improve memory safety, stability, and maintainability by leveraging Rust’s borrow checker and destructors, effectively reducing manual debugging for crashes and memory leaks.
Amit Prasad's article, "The silent death of Good Code," explores the shift in software engineering values amidst the rise of coding agents.
He defines 'Good Code' as readable, maintainable, and purposeful, emerging from a blend of talent, experience, and significant time investment. Prasad contrasts an AI-generated Rust rewrite of a Linux kernel subsystem with a manual human rewrite. Initially, the AI version was functional but difficult to understand and maintain. However, when his colleague manually rewrote it after deep research into the original C logic, the result was elegant and inspiring. Prasad notes that while AI agents have vastly increased developer productivity, they generally produce 'acceptable' rather than 'good' code. He suggests that the craft of writing beautiful code may be fading, similar to the historical transitions from assembly or hardware design to higher-level abstractions, mourning the loss of the human element in programming.
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.
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.
This post explains how to build a high-performance CSV parser using SIMD techniques.
By processing data in 16-64 byte chunks, the parser utilizes vectorized classification and bitwise operations to detect structural characters. These methods, including lookup tables and carryless multiplication, enable branchless, parallel parsing, significantly improving throughput for large datasets.
OpenAI has become a Platinum Member of the Rust Foundation, contributing $600,000 to support the development and ecosystem of the Rust language.
This partnership aims to bolster open-source funding while ensuring the Rust Project retains its independent governance and strategic decision-making authority.
Grok Build is a terminal-based AI coding agent by x.ai written in Rust.
It functions as a TUI that analyzes codebases, executes shell commands, performs web searches, and handles complex tasks. It supports interactive use, headless CI scripts, and editor integration via the Agent Client Protocol.
Tov’s claim of outperforming Rust is undermined by benchmarks that allegedly handicap the Rust implementations.
Tests of `bigint_fib`, `dispatch`, and `map_insert` found no consistent Tov advantage: optimized Rust matched or beat Tov. The `dispatch` comparison used costly dynamic dispatch in Rust, while `map_insert` used slower `std::collections::HashMap` instead of `ahash`; `bigint_fib` results were not reproducible. Because Tov transpiles TypeScript to C, the analysis argues its design cannot meaningfully exceed Rust or C.
The author optimized a Finnish dictionary, Taskusanakirja, by replacing a large SQLite database with a Finite State Transducer (FST) implemented in Rust.
This transition achieved a 300x reduction in memory, compressing 40-60 million inflected word forms into just 10 MB, enabling highly efficient, portable prefix searching for agglutinative languages.
What it takes to count the Linux kernel's 36M lines of code in under 70ms
CLI · Linux · Low-Level Programming · Performance · Rust
mezura now counts the Linux v6.15 kernel’s 36 million lines in 67 ms on an 8-core Ryzen 7 9700X, down from about 0.4 seconds.
It walks 5,900 directories, reads 1.37 GB across 63,700 source files, validates UTF-8, and lexes comments and strings. The speedup came from batched work, mmap, AVX2/NEON 64-byte scans, runtime CPU dispatch, block-level line classification, and a table-driven lexer. The 41–42 ms hardware floor shows remaining overhead is software, while fuzzing and LineJudge preserve accuracy across 80+ languages.
Cloudflare is developing Meerkat, a globally distributed consensus service for control-plane data.
Unlike Raft-based systems, Meerkat utilizes the QuePaxa algorithm, which enables writes from any replica without relying on a leader. This design ensures high availability, strong consistency, and resilience against network instability across 330+ globally distributed data centers.
The Rust team has released Rust 1.94.0, introducing array_windows for constant-length slice iteration and Cargo support for TOML 1.1.
Key features include configuration file inclusion in Cargo and the stabilization of several APIs like LazyCell and LazyLock, enhancing code reliability and management for developers.
Chrome 155 ships decoding support for JPEG XL, which offers 30–50% better compression than JPEG, lossless and HDR support, lossless JPEG transcoding, and progressive decoding.
Chrome integrates the pure-Rust jxl-rs decoder to reduce memory-safety risks while using SIMD optimizations through jxl_simd and a performance-oriented pipeline. The decision followed sustained developer demand and Interop 2026 testing to improve cross-browser coverage, with JPEG XL recommended alongside AVIF for high-fidelity or lossless photographic images.