Rust
57 posts

PostgreSQL Query Parsing Too Slow? PgDog Ditched Protobuf and Got 5x Faster
PgDog is a Rust-based PostgreSQL proxy. They discovered Protobuf serialization was the real bottleneck in SQL query parsing — not the Postgres parser itself. By replacing Protobuf with direct C-to-Rust FFI bindings, they achieved 5-10x faster parsing.

Rust Compiler Error 'cannot borrow as mutable'? Think of s.clear() as 'Tearing a Book'
Why does s.clear() cause a mutable borrow error? This article uses a ’library book’ analogy to help you thoroughly understand Rust’s borrowing rules and lifetime conflicts.

Brave Browser Rewrites Ad Blocker in Rust, Slashes Memory by 75%
Brave 1.85 rewrites its ad-blocking engine using Rust and FlatBuffers, reducing memory usage from 60MB to 15MB. Here’s how they did it.

Stop Writing Some(...): The impl Into<Option<T>> Trick in Rust
Learn how to use Rust’s Into Trait with Option to let functions accept both raw values and Option types, eliminating tedious Some() wrapping.

Rust 1.93 Released: musl Upgrade, Assembly Conditional Compilation, Zero-Copy Suite
Rust 1.93 is out with all musl targets upgraded to 1.2.5, #[cfg] conditional compilation in assembly, global allocators can now use TLS, and zero-copy APIs stabilized.

Homebrew Too Slow? Try This Rust Version, 20x Faster
ZeroBrew is a Rust-based Homebrew alternative that installs packages lightning fast. Let’s talk about why it’s so fast and how to safely try it out.

Rust GCC Compiler Backend: Install rustc-codegen-gcc with One Command
rustc-codegen-gcc is now officially part of rustup nightly components. Linux users can now experience GCC-compiled Rust code with a single command. No more manual compilation, no more environment setup hassles—it’s like giving Rust a new engine.

Rust's Standard Library Now Runs on GPUs: What Did They Actually Do
VectorWare team made Rust’s std library work on GPUs. You can now use println!, read files, and get system time inside GPU kernels. Here’s how they pulled it off.

The Truth About Rust Cold Starts on AWS Lambda: Those Scary Numbers
A chat with a friend about the cold start performance differences between Rust and Go on AWS Lambda. Why does Rust seem to lose? When should you use which language? The stories hidden behind those monitoring charts.

Rust Multimedia: A 21-Year-Old Rewriting FFmpeg in Rust—Crazy or Genius?
A 21-year-old developer, Ajay Kumar, is rewriting FFmpeg from scratch in pure Rust. Why would anyone do this, and what does Rust change for multimedia work?