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.
I Made My RAG Safer. It Got Worse Under Load
Artificial Intelligence · Large Language Models · Performance · Software Architecture · RAG
The author rebuilt The Relay, a RAG system that retrieves from three papers, cites every sentence, refuses unsupported questions, and verifies claims before streaming them.
SingleFlight deduplication served 30 burst requests with six model calls, while pre-model refusals conserved quota. Sentence-level verification reduced first verified-sentence latency (324.5 ms vs. 614.2 ms) but under heavy overload lowered delivery from 67.4% to 62.8%, partly because cancelled streams retained quota. Queueing, model-specific limits, and judge-model errors were major operational concerns.
PostHog replaced their ANTLR-based SQL parser with a hand-written recursive-descent parser in Rust, developed using AI and automated property-based testing.
By using an existing parser as an oracle and continuous fuzzing, they achieved a massive performance improvement, making the new parser up to 454x faster while maintaining full compatibility with their production database requirements.
Haiku R1/beta6 delivers nearly two years of work, resolving over 530 issues and improving stability, performance, memory management, filesystems, hardware compatibility, POSIX support, and user experience.
It adds officially branded Firefox ports, QEMU NVMM hardware virtualization, Go support, disk cleanup, and stronger low-memory recovery. ARM64 and multiprocess WebKit remain experimental.
Pryzmera is a fast PDF and image viewer for massive documents, claiming up to 10× faster opening and over 1000× faster page rendering than other viewers.
It searches thousand-page PDFs in typically 0.03 seconds or less and handles images with billions of pixels. Features include arbitrary-angle rotation, invertible dark mode, minimal UI, full-page or visible-area screenshots, and customizable keybindings, navigation speed, and graphics quality. It is available for Windows with a free 30-day trial.
To accurately measure and display an FPS counter in games, avoid calculating based on individual frames or simple averages.
Instead, use a rolling window of recent frames or processing times to smooth fluctuations. High-precision timers are essential, and using a queue or circular buffer ensures reliable performance tracking over a fixed duration.
The author explores why they chose Objective-C to build SalmonBay, a high-performance static site generator.
Despite modern alternatives like Swift, Rust, or Go, they prioritized Objective-C for its C-level speed, simplicity, and stability. The project achieved its goal of rendering a 25-year-old blog in under one second while celebrating the language's unique elegance.
Clamiga is a portable Common Lisp implementation targeting classic AmigaOS 3 on 68k, MorphOS on native PPC, macOS, and Linux.
Its compact bytecode VM, 32-bit values, compacting GC, native AmigaOS bindings, Quicklisp compatibility, and 68k JIT enable full Lisp development on memory-constrained hardware. The project is stable but continues toward ANSI compliance and broader API support.
Optimizing a domain-specific compressor loop involves resolving a data dependency bottleneck.
By leveraging branch prediction to speculate that the state remains unchanged, the algorithm shifts from latency-bound to throughput-bound. Using a volatile cast preserves the branch logic, effectively bypassing compiler optimizations to enhance execution speed through speculative hardware execution.
Deno 2.9 introduces 'deno desktop' for building cross-platform native desktop apps from web stacks without Electron.
It features easier Node.js project migration by reading existing lockfiles, improved performance, and support for Node.js 26. Additionally, it adds advanced Web Cryptography, snapshot testing, and enhanced supply chain security.
DuckDB v1.5.2 has been released, featuring bugfixes, performance improvements, and the launch of the stable DuckLake v1.0 lakehouse format.
The update includes Iceberg enhancements, Jepsen testing for increased robustness, a revamped WebAssembly shell, and notable performance gains in TPC-H benchmarks. Various community events are also scheduled for the upcoming quarter.
WebGPU is revolutionizing web development by providing direct access to GPU compute capabilities.
While JavaScript remains essential for application logic, WebGPU excels in massive parallel tasks like matrix multiplication and image processing. Recent benchmarks show it significantly outperforms CPU-based JavaScript in compute-heavy scenarios, despite requiring more complex boilerplate code and modern browser support.
The author details a workflow for processing Google Street View coverage datasets using a high-performance AMD Ryzen 9 workstation.
By leveraging DuckDB, Parquet, and QGIS, the project converts 647 MB of JSON data into a spatially-sorted 85 MB Parquet file to analyze global geospatial patterns and update frequencies from 2003 to 2025.
Bf-Tree: modern read-write-optimized concurrent larger-than-memory range index
Database · Performance · Rust
Bf-Tree is a modern, high-performance range index developed by Microsoft Research (MSR) designed for concurrent, larger-than-memory workloads.
Written in Rust, it provides a read-write-optimized data structure that maintains efficiency even when the dataset exceeds physical RAM. The project emphasizes reliability and correctness through advanced testing methodologies, including deterministic concurrency testing using shuttle and random operation sequence fuzzing. It supports major operating systems like Linux, Windows, and macOS, offering a comprehensive suite for developers to implement scalable database indexing. Benchmark tools and contribution guidelines are provided to facilitate community involvement and performance verification.
Pensieve is a free, open-source Mac tool that locally indexes files, repositories, worktrees and coding-agent sessions for semantic or exact search, then supplies relevant passages and line references through MCP.
It reduces agent tool calls and token use by searching before grep. In a 144-run Claude Code benchmark, it found the right file in 131 runs versus 123 with grep, averaged 2.0 versus 3.4 tool calls, used 16% fewer tokens, and cost 18% less per lookup. Indexing remains on-device, with optional AI.
Cloudflare’s Cache Transcoding prototype uses Zstandard inside Pingora to compress eligible text assets before storing and transferring them through cache tiers.
At zstd level 3, assets became roughly 2.8 times smaller, substantially increasing effective cache capacity and reducing inter-data-center bandwidth, while adding modest CPU costs. The system excludes already-compressed and unsuitable responses.
Firefox intends to ship JPEG XL using jxl-rs, a secure, performant Rust decoder developed by Google Research to replace a 100,000-line multithreaded C++ implementation.
JPEG XL adds progressive rendering and excels at lossless compression, while AVIF generally produces smaller web-quality photos. Developers should benchmark both formats using representative images and target quality levels.
A technical overview of an experimental implementation of shared-memory threads in JavaScriptCore.
It enables multiple JIT-optimized JavaScript threads to share a single heap, allowing direct multi-threaded concurrency without message passing. The pull request adds a new Thread API, atomics on object properties, and synchronization primitives like Lock and Condition, currently gated behind a compile-time flag.
This talk from C++Russia 2026 analyzes Rust as a systems programming language.
It evaluates performance trade-offs for its safety guarantees, compares idiomatic Rust against C++, identifies specific performance strengths and weaknesses, and outlines best practices for optimizing Rust code.
The author shares their experience implementing LZ4 decompressors for various historical 8-bit and 16-bit CPUs.
By comparing the architectural philosophies of the Z80, 8080, 8086, 6800, 6809, and 6502, they highlight how these different design choices impact assembly programming and performance optimization strategies.
The author has open-sourced buffa and connect-rust, two Rust crates designed to modernize RPC development.
Buffa provides a zero-copy, editions-aware Protocol Buffers implementation, while connect-rust is a Tower-based ConnectRPC framework. Developed using AI-assisted methods, these tools prioritize performance, memory efficiency, and improved safety over standard implementations like Prost.