Rust
71 posts

tokio::select! Finally Gets rustfmt Support: A Hands-On Look at better_tokio_select
The tokio::select! macro has always been a blind spot for rustfmt. better_tokio_select uses match syntax to fix this, so your async Rust code can finally be auto-formatted.

Why a Pure-Rust HTML-to-PDF Engine Could Be a Bigger Deal Than Most Developers Realize
Still using headless Chromium for PDF generation? That might change soon. A lightweight Rust library is redefining document rendering boundaries—it runs on the edge, compiles to WASM, and needs no browser.

Rust is Taking Over GPU Programming: 239K Lines Replacing the Entire CUDA Ecosystem
Oxide Computer released OxiCUDA, a pure Rust implementation of the complete NVIDIA CUDA software stack. 239K lines of safe Rust code, 28 crates, zero C toolchain. This is production-ready code, not a proof of concept.

Linux 7.0: One Bash Script, One Weekend, 23 Years of Kernel Bugs
Linux 7.0 shipped on April 12. One researcher found a 23-year-old NFSv4 vulnerability with a bash script and Claude over a weekend. Rust officially lost its ’experimental’ tag. The kernel even grew three physical keys dedicated to AI agents. Here is what actually happened.

The Claude Code Leak: How an Accident Sparked a Rust Rewrite Wave
In March 2026, Claude Code’s 500k+ lines of TypeScript source code were accidentally leaked. Instead of panic, the developer community responded by rewriting the entire project in Rust. How did this mess turn into Rust’s best advertisement for AI infrastructure?
![Rust #[must_use] attribute: three usage patterns on structs, functions, and traits](https://rexai.top/images/rust-must-use-attribute/rust-must-use-cover.jpg)
Rust's #[must_use]: Making Sure Your Return Values Can't Be Ignored
Rust #[must_use] attribute explained: put it on structs, functions, or traits to force callers to handle critical return values. Compile-time warnings prevent transactions and payments from being silently dropped.

Rust 10x Faster Than Spring? I Ran the Benchmarks. The Truth Is More Complicated.
Behind the benchmark numbers are three competing models: GC pauses, JIT warmup, and AOT compilation. Here’s the data-driven breakdown of when to use Rust versus when Quarkus Native Image is the smarter choice.

Rust 1.94 is Here: Sliding Window Pattern Matching Makes Code Elegant
Rust 1.94 brings three major updates: sliding windows destructured into named variables, Cargo.toml now supports multi-line syntax, and the Golden Ratio finally joins after 10 years!

From 1GB to 40MB: How Rust Cracks Memory Management
Same microservice, same endpoints, but memory usage dropped from 1GB to 40MB after rewriting Node.js to Rust. That’s 25x less memory. How does Rust pull this off? Let’s talk about ownership.

Ki Editor: Treat Code Like LEGO Blocks
Ki Editor isn’t for writing text—it’s for building with blocks. It operates directly on your code’s syntax tree (AST), letting your cursor jump between expressions, functions, and entire code blocks. Multi-cursor editing relies on syntax structure, not visual alignment. After using it for a week, I never want to go back to plain text editors.
