TWiR with AI summaries

This Week in Rust 648
Official
Crates.io's frontend has been ported to Svelte 5 and is now ready for public testing and feedback before becoming the default.
Rust 1.95.0 introduces the `cfg_select!` macro for compile-time conditionals and allows `if-let` guards within `match` expressions.
Foundation
Project/Tooling Updates
A production-grade Axum backend reference architecture optimized for continuous AI agent evolution through semantic-first design and topology-late deployment.
A benchmark comparing `rust_decimal` and `lean_decimal` shows `lean_decimal` to be faster for `+`, `-`, and `*` operations but slower for `/`.
Discover `sem` and `weave`, Rust-based tools for semantic version control that leverage Tree-sitter for entity-level diffs, merges, and impact analysis.
Oxanus is a Redis-backed Rust library for robust background job processing, featuring isolated queues, cron/scheduled jobs, throttling, unique jobs, resiliency, a web dashboard, and Prometheus metrics.
The `flodl-hf` crate now offers PyTorch-verified numerical parity for HuggingFace BERT, RoBERTa, and DistilBERT models in Rust via a unified `AutoModel` and `from_pretrained` API.
Rust RFC 3729 proposes a refined `Sized` trait hierarchy (e.g., `SizeOfVal`, `Pointee`, `const Sized`) to better accommodate types with nuanced size properties for advanced architectures and FFI.
Slint 1.16 introduces declarative key bindings, Markdown styled text, multi-touch gestures, a new WGPU renderer for integration with apps like Bevy, and experimental FlexboxLayout powered by `taffy`.
Delve into Danube Messaging's Key-Shared dispatch architecture, enabling per-key ordered message delivery with parallel processing across Rust consumers via consistent hashing and robust reliability features.
Announcing mtp-mount, a pure-Rust FUSE filesystem for MTP devices built on the faster mtp-rs library, now available on crates.io for community testing.
v0.8.0 significantly enhances GitHub Actions emulation with expression evaluation, artifact/cache/secrets support, and actual Docker execution, alongside a redesigned TUI and new diff-aware selective execution.
Observations/Thoughts
Learn Rust effectively by using LLMs as a Socratic tutor, prioritizing conceptual understanding and independent problem-solving over automated code generation.
Quantifying the performance cost of non-optimal memory layouts and CPU cache usage by intentionally implementing theoretically "wrong" solutions.
A comprehensive comparison and guide to Rust's compile-time ownership and borrowing versus runtime reference counting (Rc/Arc), detailing their semantics, performance, thread safety, and optimal use cases.
Explores a design for provably memory-safe tracing garbage collection and cyclic data structures entirely in safe Rust, utilizing advanced type system features and generativity.
A talk exploring Rust's surprising familiarity and key distinctions for developers experienced in Scala and Haskell, focusing on ADTs, pattern matching, type classes, ownership, and borrowing.
Rust Walkthroughs
This video demonstrates building a full-stack Rust application with Axum, SQLx, and Leptos, covering backend with PostgreSQL and frontend, and deployment to the cloud.
Steps to install, set default, and confirm a specific 'spacetime' version.
Video covering Rust enums, their use in polymorphism, tagged unions, and pattern matching.
A guide to building a minimal VMM in Rust for Apple Silicon using the Hypervisor framework, covering Rust FFI bindings, ARM guest code, and basic VM lifecycle management.
Repetitive log output consistently showing "Result: 42".