Best of RustApril 2026

  1. 1
    Article
    Avatar of itsfossIt's Foss·4w

    Firefox Has Quietly Integrated Brave's Adblock Engine

    Firefox 149 quietly shipped adblock-rust, Brave's open-source Rust-based ad and tracker blocking engine, without mentioning it in the release notes. The integration was filed as a Bugzilla bug titled 'Add a prototype rich content blocking engine' and is currently disabled by default with no UI or filter lists. The engine supports uBlock Origin-compatible filter list syntax and handles network request blocking and cosmetic filtering. Waterfox, a Firefox fork, has also adopted the same implementation. A step-by-step guide is provided to enable and test the feature via about:config using EasyList and EasyPrivacy filter lists.

  2. 2
    Article
    Avatar of collectionsCollections·7w

    Little Snitch is now available on Linux

    Objective Development has released a Linux version of Little Snitch, their popular macOS network monitor. The Linux port uses eBPF for kernel-level traffic interception and is written in Rust, with a web-based UI that also supports remote server monitoring. The tool is positioned as a privacy tool rather than a security tool due to eBPF limitations preventing deep packet inspection. It is partially open source — the eBPF kernel component and web UI are open source, while the rules and blocklist backend is closed source. Requires Linux kernel 6.12+ with BTF support, meaning Ubuntu 25.04 or newer in practice. Packages are available for x86-64, ARM64, and RISCV64.

  3. 3
    Video
    Avatar of dreamsofcodeDreams of Code·5w

    Rust on the web is starting to look quite good.

    An overview of the current state of Rust for web development in 2026, covering frontend, backend, and full-stack frameworks. The Yew framework (React-inspired, virtual DOM, CSR/SSR) is demonstrated with a counter app, built and served using the Trunk bundler. Leptos is covered as a full-stack option with fine-grained reactivity via signals, server functions, and deployment to a VPS with Caddy. Dioxus is highlighted as the author's preferred framework due to its write-once, run-anywhere approach (web, desktop, mobile), RSX DSL, and a shadcn-inspired component library. Desktop Rust frameworks like iced, egui, and GPUI that compile to WebAssembly are also mentioned. The web-sys and wasm-bindgen crates enable interop with browser APIs and JavaScript packages. AI coding tools (Claude Code, Codex) are credited for lowering the barrier to working with complex Rust/WASM interop code.

  4. 4
    Article
    Avatar of collectionsCollections·5w

    Ubuntu 26.04 LTS: what changed since 22.04 and 24.04

    Ubuntu 26.04 LTS 'Resolute Raccoon' is the 11th long-term Ubuntu release, shipping with Linux kernel 7.0, GNOME 50, and a complete drop of Xorg — making Wayland the only supported desktop session. Key highlights include TPM-backed full-disk encryption now GA, sudo-rs and uutils coreutils replacing their GNU counterparts, Dracut replacing initramfs tooling, and five new default GNOME apps all written in Rust. NVIDIA CUDA and AMD ROCm are now installable directly via apt. The developer toolchain includes GCC 15.2, OpenJDK 25, Rust 1.93, Golang 1.26, and an official .NET snap. ARM64 gets an official desktop ISO. Direct upgrades from 24.04 LTS are delayed until the 26.04.1 point release in July 2026.

  5. 5
    Video
    Avatar of codeheadCodeHead·5w

    OpenClaw Can Do WHAT NOW

    OpenClaw, a self-hosted open-source AI assistant that reached 350K GitHub stars in under 3 months, has spawned several community forks: ZeroClaw (built in Rust, 3.4MB, boots in 10ms), NanoClaw (under 4,000 lines, minimal dependencies, security-focused), and Maltis (enterprise-grade with audit trails). OpenClaw also introduced a 'dreaming' feature that consolidates memory in three phases mimicking human sleep — light sleep scans chats, REM identifies patterns, and deep sleep permanently stores only high-scoring memories recalled across multiple contexts. A community plugin extends this further by generating surreal narratives about your day.

  6. 6
    Article
    Avatar of collectionsCollections·4w

    Warp terminal goes open-source under AGPL, with OpenAI as founding sponsor

    Warp, the Rust-based AI terminal, has open-sourced its client code under a split license: MIT for UI framework crates and AGPL v3 for everything else. OpenAI is the founding sponsor, and agentic workflows run through Warp's proprietary cloud platform Oz. Key limitations include AI features still depending on Warp's backend, with bring-your-own-key model freedom locked behind paid plans. The community has already forked the project as OpenWarp to enable unrestricted OpenAI-compatible endpoints. CEO Zach Lloyd frames this as a competitive business move rather than a philosophical shift, aiming to attract developers who avoid proprietary tools while the developer tooling space consolidates rapidly following Roo Code's sunset and Cursor's acquisition.

  7. 7
    Article
    Avatar of lobstersLobsters·7w

    I used AI. It worked. I hated it.

    A developer with strong anti-genAI views shares their experience using Claude Code to build a certificate generation tool for a learning platform migration. The project succeeded — the Rust/Svelte app is in production — but the process felt miserable. Key observations: TDD with plan-mode kept the model on track, Rust's compile-time safety helped catch hallucinations, a security audit pass found real vulnerabilities (path traversal, timing side-channel in Argon2), and the tool delivered features the author wouldn't have built alone. Despite the functional success, the author warns about the 'human in the loop' problem — the process actively encourages disengagement — and reflects on cognitive dependency, skill atrophy for junior developers, IP theft concerns, and the broader societal harms. The conclusion is nuanced: it works in this narrow domain, the harms still outweigh benefits at scale, but condemning individuals for using it is counterproductive.

  8. 8
    Article
    Avatar of phoronixPhoronix·4w

    Rust-Written Zed 1.0 Code Editor Released

    Zed, the Rust-written cross-platform code editor created by the developers behind Atom, has reached version 1.0. The release includes real-time collaborative editing, AI integration, GPU-accelerated rendering, Git integration, and debugging support. Available on Windows, macOS, and Linux, the 1.0 milestone signals that most developers can now feel at home in Zed, though the team emphasizes it means readiness rather than perfection.

  9. 9
    Video
    Avatar of youtubeYouTube·7w

    I need to level up my programming skills... Here's the plan

    A developer shares their personal plan to level up programming skills in the coming year. The plan includes refreshing data structures and algorithms knowledge using CLRS and YouTube resources, learning Rust using the O'Reilly book and Exercism, abandoning perfectionism to build more projects, and using AI as a supportive learning tool. RustRover is mentioned as the preferred IDE for Rust development.

  10. 10
    Article
    Avatar of itsfossIt's Foss·4w

    Will You Pay $119 For This Open Source KVM Built on Rust and Buildroot?

    LeafKVM is an open source KVM-over-IP device currently crowdfunding on Crowd Supply at $119. It runs a Buildroot 2026.02 LTS Linux system with a Rust backend, housed in a CNC-milled aluminum enclosure. Key features include a Rockchip RV1126B SoC, 512 MB RAM, a 2.4-inch touchscreen, HDMI capture up to 4K/30fps with under 100ms latency, Wi-Fi 5, PoE support, and Tailscale VPN integration. The web frontend is a GPL-2.0 fork of JetKVM. It targets IT engineers, sysadmins, and embedded developers needing remote headless hardware access. The project has raised 82% of its $10,000 goal with 40+ days remaining, with units expected to ship in mid-January 2027.

  11. 11
    Article
    Avatar of dystroyDystroy·4w

    Box to save memory

    A real-world Rust optimization that reduced memory usage from 895 MB to ~435 MB by boxing optional structs. The key insight: unlike Java/Python where a null reference costs only one pointer, a Rust `Option<BigStruct>` still occupies the full size of `BigStruct` even when `None`. The fix is to use `Option<Box<BigStruct>>` so a `None` costs only one word. The post walks through the struct layout math, shows a custom Serde deserializer that discards empty structs instead of storing them, and demonstrates how to measure heap usage with jemalloc via a Cargo feature flag.

  12. 12
    Video
    Avatar of fireshipFireship·7w

    Cursor ditches VS Code, but not everyone is happy...

    Cursor 3.0 marks a major shift from its VS Code fork origins, now rewritten from scratch in Rust and TypeScript with a focus on orchestrating swarms of AI agents across multiple repos, machines, and cloud environments simultaneously. The release also introduced Composer 2, an in-house coding model that sparked controversy after it was revealed to be based on Moonshot's Kimi K2 model — a fact Cursor initially obscured, later apologizing for the lack of transparency. The new interface de-emphasizes manual coding in favor of agent management, featuring parallel agent monitoring, built-in browser, design mode, and remote SSH support. Not everyone is enthusiastic about this direction, with some critics comparing it too closely to OpenAI Codex.

  13. 13
    Video
    Avatar of letsgetrustyLet's Get Rusty·4w

    If you’re a senior engineer, watch this…

    AI is automating the 'middle layer' of software development — CRUD apps, basic APIs, glue code — putting junior and mid-level developers at risk. Two viable career paths remain for senior engineers: becoming an AI orchestrator who directs AI systems, or going lower down the stack into systems programming. The author argues systems programming is the stronger long-term bet due to zero error tolerance, strict regulatory requirements (e.g., DO-178C for aerospace), and legal accountability that AI cannot satisfy. Rust is highlighted as the language of choice for this transition, with adoption by Microsoft, AWS, Google, and the Linux kernel. The post ends with a pitch for a paid Rust training program called the Rust Live Accelerator.

  14. 14
    Video
    Avatar of bytemonkByteMonk·7w

    Claude's Internal Architecture Revealed | How AI Agents Actually Work

    Anthropic accidentally shipped TypeScript source maps with Claude Code's CLI distribution, exposing the full internal source code. Engineers reverse-engineered the architecture and rebuilt it in Python, then Rust, within 24 hours. The core architecture consists of an agent loop, a tool registry with 20+ tools, a hooks middleware system for safety and observability, a memory compaction mechanism for long sessions, context loading via CLAUDE.md and skills files, and sub-agent spawning for parallel task delegation. Each component maps to familiar distributed systems patterns: the loop is a task queue worker, tools are a service interface, hooks are middleware, memory compaction is log rotation, and sub-agents are worker nodes.

  15. 15
    Video
    Avatar of devopstoolboxDevOps Toolbox·6w

    This S3 Alternative is INSANELY Lightweight (and 100% open source)

    A hands-on walkthrough of replacing AWS S3 with RustFS, an open-source, S3-compatible object storage solution written in Rust. Covers Docker Compose deployment, bucket creation, access key management, remote access via Caddy reverse proxy and DNS, pre-signed URLs, IAM-style policies, tiered storage, and integrating Restic for encrypted periodic backups. Benchmarks show RustFS outperforms MinIO for small-file workloads. The Apache 2 license is discussed as a safe choice for commercial and private use. Motivated by real-world cost savings — one team saved $1.5M/year by leaving S3.

  16. 16
    Article
    Avatar of ubqa4zl8noglmlpvdnr79Prince Kumar·8w

    Claude code become open source?

    Claude Code's internal source was accidentally leaked via a source map file, exposing ~500K lines of TypeScript. Following DMCA takedowns of mirrors, the community responded by creating Claw Code — a clean-room reimplementation of Claude Code's architecture written in Python and Rust. The project recreates the agent tools, query engine, and orchestration without copying proprietary code, making it a legitimate open-source alternative. It quickly became one of the fastest-growing repos on GitHub.

  17. 17
    Article
    Avatar of rustfoundationRust Foundation·6w

    RustConf 2026: Speakers Announced, Registration Open

    RustConf 2026 registration is now open, with the conference scheduled for September 8-11 in Montreal (plus an online option). The program features an expanded schedule with a new track, Community Lightning Talks, and Project Updates sessions. Highlighted keynotes include Jon Seager covering Rust adoption in Ubuntu (including Rust-based rewrites of coreutils and sudo), and a closing fireside chat between Rust Foundation CEO Rebecca Rumbul and Python Software Foundation ED Deb Nicholson on open source governance, security, and cross-ecosystem interoperability.

  18. 18
    Video
    Avatar of codetothemoonCode to the Moon·7w

    Go for TIRED Rust Developers

    A satirical but informative comparison of Go and Rust from the perspective of a Rust developer who might be tired of the language's complexity. Covers key differences including Go's lack of a borrow checker, implicit nil handling vs Rust's Option type, simpler pointer usage for recursive types, goroutines vs async/await, built-in channels, and JSON serialization without derive macros. The author ultimately acknowledges both languages are great and the choice comes down to trade-offs.

  19. 19
    Article
    Avatar of infoworldInfoWorld·7w

    Rust team warns of WebAssembly change

    The Rust team has announced a breaking change for WebAssembly targets: the --allow-undefined flag passed to wasm-ld will be removed, landing in nightly builds soon and shipping with Rust 1.96 on 2026-05-28. This flag has historically allowed undefined symbols to silently become imports rather than linker errors, causing subtle bugs like typos in symbol names producing broken binaries instead of compile-time errors. The change aligns WebAssembly behavior with native platforms, where undefined symbols are errors by default. In practice, most projects are not expected to break, and the change should improve diagnostics for misconfigured builds.

  20. 20
    Article
    Avatar of rustRust·7w

    docs.rs: building fewer targets by default

    Starting 2026-05-01, docs.rs will change its default build behavior: instead of building documentation for five targets, it will only build for the default target (x86_64-unknown-linux-gnu) unless additional targets are explicitly specified in Cargo.toml metadata. Crates needing multi-target docs must define a full targets list in their docs.rs metadata. This change affects new releases and rebuilds of old releases, reduces build times, and saves resources.

  21. 21
    Article
    Avatar of cloudflareCloudflare·5w

    Making Rust Workers reliable: panic and abort recovery in wasm‑bindgen

    Cloudflare details how Rust Workers now handle panic and abort recovery in WebAssembly via upstream contributions to wasm-bindgen. Historically, panics were fatal and could poison an entire Worker instance, causing cascading failures. The team implemented panic=unwind support using the WebAssembly Exception Handling proposal, allowing panics to surface as JavaScript PanicError exceptions while keeping the Wasm instance valid. For aborts (e.g., OOM), they added abort classification using Exception.Tag to distinguish recoverable from non-recoverable errors, plus a set_on_abort hook and reentrancy guards. A --reset-state-function mechanism enables automatic reinitialization for Wasm library use cases. The team also backported modern WebAssembly Exception Handling to Node.js 24 and 22 to unblock ecosystem adoption. These changes are available in workers-rs 0.8.0 via the --panic-unwind flag, with plans to make it the default.

  22. 22
    Article
    Avatar of astro_sourceAstro·3w

    Astro 6.2

    Astro 6.2 ships several new features: a redesigned SVG optimizer API with a pluggable SvgOptimizer interface (replacing the old svgo flag), an experimental custom logger with built-in JSON output suited for coding agents, and a new getFontFileURL() helper for accessing font data during prerendering (useful for OG image generation with Satori). Minor additions include allowedHosts propagation to adapter preview servers and a new 'jsx' value for compressHTML. The release also previews Astro v7 alpha, which upgrades to Vite 8 and promotes the Rust-based compiler to the default, replacing the previous Go compiler for faster build times.

  23. 23
    Article
    Avatar of collectionsCollections·5w

    Rust 1.95 released: cfg_select! macro, if-let guards, and new stable APIs

    Rust 1.95.0 is now stable, introducing the built-in `cfg_select!` macro for compile-time conditional configuration (replacing the need for the external `cfg-if` crate), if-let guards in match expressions, and several newly stabilized APIs including atomic update methods, `MaybeUninit` array conversions, mutation helpers for `Vec`/`VecDeque`/`LinkedList`, `core::hint::cold_path`, and new `Layout` methods. Support for custom JSON target specs on stable has been removed. Cargo and Clippy also received updates, and the Linux kernel has been updated to support this release.

  24. 24
    Article
    Avatar of twirustThis Week in Rust·6w

    This Week in Rust 647 · This Week in Rust

    Issue 647 of This Week in Rust covers the latest updates from the Rust community including project/tooling releases (tailscale-rs, KAIO v0.2.0, Fresh 0.2.23), observations and walkthroughs on topics like borrow-checking, async Rust debloating, and bringing Rust to Pixel baseband. Compiler updates include new diagnostic attributes, library constification work, and multiple Cargo and Rust-Analyzer improvements. The compiler performance triage showed a net negative week. Upcoming Rust events worldwide and a community quote of the week are also included.

  25. 25
    Article
    Avatar of hnHacker News·7w

    GitHub - linebender/xilem: An experimental Rust native UI framework

    Xilem is an experimental Rust-native UI framework inspired by React, SwiftUI, and Elm. It provides a reactive, high-level architecture for building GUI apps using a lightweight view tree. Xilem is built on top of Masonry, a retained widget tree toolkit, and uses winit for windowing, Vello/wgpu for 2D graphics, Parley/Fontique for text, and AccessKit for accessibility. It supports both a native (Masonry) and web backend. Getting started is straightforward via Cargo, with platform-specific prerequisites for Linux/BSD (Wayland, Vulkan, etc.). The minimum supported Rust version is 1.92.