Best of RustJune 2025

  1. 1
    Article
    Avatar of awegoAwesome Go·42w

    Best Programming Language for 2026

    Python remains the top choice for AI/ML and automation, while Rust gains momentum for systems programming and blockchain development. JavaScript/TypeScript continues dominating web development, Go excels for backend microservices, and Swift/Kotlin rule mobile development. The guide provides career-specific language recommendations and emphasizes choosing based on your goals rather than popularity alone.

  2. 2
    Article
    Avatar of hnHacker News·42w

    microsoft/edit: We all edit.

    Microsoft has released Edit, a simple terminal-based text editor written in Rust that pays homage to the classic MS-DOS Editor while incorporating modern interface elements similar to VS Code. The editor aims to be accessible to users unfamiliar with terminals and can be installed via WinGet on Windows or built from source using Rust's nightly toolchain. The project includes detailed build instructions and configuration options for package maintainers, particularly regarding ICU library dependencies for search and replace functionality.

  3. 3
    Article
    Avatar of lobstersLobsters·42w

    Writing a basic Linux device driver when you know nothing about Linux drivers or USB

    A detailed walkthrough of creating a Linux device driver for a Nanoleaf RGB LED device from scratch. The author explores USB fundamentals, explains HID devices, demonstrates using libusb with Rust to communicate with hardware, and covers practical aspects like udev rules and interrupt handling. The tutorial progresses from basic device enumeration to implementing a working userspace driver that can control LED colors and handle device responses.

  4. 4
    Article
    Avatar of influxdbInfluxData·42w

    Microservices to Monolith, Rebuilding Our Backend in Rust

    InfluxData's platform team migrated their core account and resource management APIs from Go microservices to a Rust monolith to reduce complexity and improve maintainability. They used a strangler fig migration pattern to migrate endpoints one by one without downtime, implementing hexagonal architecture with domain-driven design. The team of five completed the project in three months, achieving safer software through Rust's type system and faster development cycles.

  5. 5
    Article
    Avatar of steveklabnikSteve Klabnik·44w

    Is Rust faster than C?

    Comparing Rust and C performance is complex because 'all things being the same' is difficult to define. While both languages can achieve similar performance through inline assembly and compiler optimizations, they differ in default behaviors like struct field ordering, bounds checking, and safety guarantees. Rust's compile-time safety checks may lead developers to write different code patterns than in C, affecting runtime performance. Social factors also play a role, as developers may be more willing to write performance-oriented code in Rust due to its safety guarantees. Fundamentally, there's no inherent reason Rust cannot match C's performance capabilities.

  6. 6
    Article
    Avatar of fermyonFermyon·42w

    Why We Chose Rust For Spin

    Fermyon explains their decision to build Spin, an open-source serverless WebAssembly framework, using Rust. The choice was driven by Rust's synergy with the wasmtime runtime, its powerful tooling ecosystem including clap and cargo workspaces, and its ability to support extensible architecture through plugins, templates, and factors. The article highlights how Rust's type system, memory safety, and developer toolchain enabled them to create a scalable, maintainable codebase while delivering an excellent developer experience.

  7. 7
    Article
    Avatar of omgubomg! ubuntu!·45w

    Ubuntu 25.10 Switches to Rust-based Sudo

    Ubuntu 25.10 will replace the traditional C-based sudo command with sudo-rs, a Rust rewrite that maintains the same user interface while providing enhanced memory safety and security. The change aims to prevent buffer overflow and use-after-free vulnerabilities through Rust's compile-time memory checks. Users won't need to change their workflow as sudo-rs is a drop-in replacement, though some lesser-used features won't be implemented. Canonical will keep the original sudo available for those who need to revert, and the transition serves as preparation for the Ubuntu 26.04 LTS release.

  8. 8
    Article
    Avatar of elixirstatusElixirStatus·44w

    fuelen/html2text

    HTML2Text is a high-performance Elixir library that converts HTML documents to plain text using Rust NIFs. It leverages Rust's html2text crate for fast parsing while maintaining content structure and readability. The library offers a simple API with HTML2Text.convert/2 function that accepts HTML content and line width parameters, supporting features like heading conversion, list formatting, table rendering, and link preservation.

  9. 9
    Article
    Avatar of lobstersLobsters·44w

    r9os/r9: The R9 operating system

    R9 is a reimplementation of the Plan 9 operating system kernel written in Rust. The project supports multiple architectures including x86-64, aarch64, and RISC-V, and can be built using cargo with the xtask pattern. It runs on QEMU emulation and has been tested on real hardware like Raspberry Pi 4. The project includes detailed build instructions, runtime dependencies, and setup guides for both emulated and physical hardware deployment.

  10. 10
    Article
    Avatar of communityCommunity Picks·41w

    GraphiteEditor/Graphite: 2D vector & raster editor that melds traditional layers & tools with a modern node-based, non-destructive, procedural workflow.

    Graphite is a free, open-source 2D graphics editor that combines traditional layer-based editing with modern node-based procedural workflows. Built like a game engine rather than conventional creative software, it supports both vector and raster graphics with non-destructive editing capabilities. Currently in alpha, the project aims to expand into a comprehensive toolbox for photo editing, motion graphics, digital painting, and VFX compositing.

  11. 11
    Article
    Avatar of hnHacker News·45w

    10 years of betting on Rust

    A founder reflects on 10 years of using Rust in production, from the painful early days of version compatibility issues and compile time problems to today's mature ecosystem. Despite initial challenges with the borrow checker and tooling, Rust has evolved into a reliable choice for systems programming with exceptional community support, predictable builds, and excellent developer experience. The author discusses future improvements including faster compilation, better portability, ubiquitous const evaluation, simpler concurrency models, and expansion into new domains like web development and machine learning.

  12. 12
    Article
    Avatar of infoqInfoQ·44w

    Rust: A Productive Language for Writing Database Applications

    Carl Lerche argues that Rust can be productive for building higher-level applications like web apps and database-backed services, not just systems programming. He discusses how Rust's quality benefits translate to long-term productivity gains through reduced bugs and maintenance overhead. The talk covers practical tips for using Rust effectively, including preferring enums over traits, leveraging procedural macros, and proper error handling strategies. Lerche also introduces Toasty, his work-in-progress ORM designed for ease of use, and addresses common challenges like the learning curve and ecosystem maturity.

  13. 13
    Article
    Avatar of hnHacker News·42w

    Why I Switched from Flutter + Rust to Rust + egui

    A developer shares their experience migrating from a Flutter + Rust architecture to a pure Rust + egui solution. The main motivations included reducing complexity from managing two programming languages, eliminating thousands of lines of generated FFI code, and simplifying state management. The author found egui's immediate mode paradigm easier to work with than Flutter's widget-based approach, avoiding common setState refresh issues. The final application felt faster and more responsive, though this could be attributed to removing FFI overhead rather than language performance differences.

  14. 14
    Article
    Avatar of communityCommunity Picks·42w

    nannou-org/nannou: A Creative Coding Framework for Rust.

    Nannou is an open-source creative coding framework for Rust, inspired by Processing, OpenFrameworks, and Cinder. It provides artists and developers with tools for creating visual art, interactive installations, and generative designs. The framework includes multiple libraries for graphics, audio, UI, laser control, and mesh composition, along with extensive examples and tutorials. It offers both simple sketching capabilities and advanced features for complex installations.

  15. 15
    Video
    Avatar of primeagenThePrimeTime·42w

    Programming From Prison

    A software engineer currently incarcerated has been hired full-time by Turso to work on their Limbo database project, a Rust rewrite of SQLite. Through a prison remote work program, he contributed extensively to open source projects, spending 90+ hours per week programming and eventually becoming a top contributor to Limbo. His journey from drug-related charges to landing a dream job demonstrates how dedication, hard work, and rehabilitation programs can create second chances in tech careers.

  16. 16
    Article
    Avatar of newstackThe New Stack·44w

    Ubuntu 25.10 Replaces sudo With a Rust-Based Equivalent

    Ubuntu 25.10 will replace the traditional sudo command with sudo-rs, a Rust-based equivalent developed by Trifecta Tech Foundation. The new implementation leverages Rust's memory safety guarantees to eliminate vulnerabilities common in C-based software, including null pointer dereferences, use-after-free errors, and data races. While sudo-rs is designed as a near drop-in replacement, some less secure features like LDAP distribution of sudoers files won't be supported. Users can currently install sudo-rs alongside traditional sudo for testing, and Canonical plans to keep the original sudo available in archive repositories for those who prefer to roll back.

  17. 17
    Article
    Avatar of communityCommunity Picks·41w

    The Elegant Desktop Companion for Claude Code

    Claudia is a desktop GUI application that enhances the Claude Code CLI experience by providing visual project management, custom AI agent creation, usage tracking, and session management. Built with Tauri 2.0, React, and Rust, it offers features like markdown editing, MCP server management, conversation branching, and privacy-first local data storage. The app aims to solve common developer pain points with terminal-based AI coding workflows by providing an intuitive visual interface.

  18. 18
    Article
    Avatar of hnHacker News·43w

    bgreenwell/lstr: A fast, minimalist directory tree viewer, written in Rust.

    lstr is a fast, minimalist directory tree viewer written in Rust that offers both classic command-line and interactive TUI modes. It features parallel directory scanning for high performance, Git integration to show file statuses, support for file icons with Nerd Fonts, and smart filtering that respects .gitignore files. The tool can display file permissions, sizes, and provides keyboard-driven navigation in interactive mode, making it a modern alternative to the traditional 'tree' command.

  19. 19
    Article
    Avatar of hnHacker News·44w

    theopfr/somo: A human-friendly alternative to netstat for socket and port monitoring on Linux.

    Somo is a Rust-based command-line tool that provides a more user-friendly alternative to netstat for monitoring network sockets and ports on Linux. It features a clean table view, filtering capabilities by protocol/port/IP/program, interactive process killing, and simplified command syntax. The tool can be installed via Debian packages or Cargo, and offers various filtering options to help system administrators and developers efficiently monitor network connections.

  20. 20
    Article
    Avatar of insiderustblogInside Rust Blog·42w

    Announcing the Clippy feature freeze

    Clippy, Rust's linter, is entering a 12-week feature freeze from June 26th to September 18th, 2025, during which no new features will be accepted, only bug fixes. The freeze is necessary due to maintenance challenges with over 750 existing lints. The team will focus on improving lint accuracy, reducing false positives, and enhancing the contribution experience. Users can still report bugs and contribute fixes, while new lint proposals will be queued for review after the freeze ends.

  21. 21
    Video
    Avatar of youtubeYouTube·44w

    Zig is better than Rust (sometimes)

    A detailed comparison highlighting specific areas where Zig excels over Rust, including optional handling with the `orelse` keyword, undefined behavior management, simpler module systems, streamlined variable declarations, safer pointer handling with alignment tracking, powerful `comptime` features for compile-time code generation, seamless C interoperability, and better allocator systems. The author emphasizes that both languages are powerful but Zig offers more ergonomic solutions in certain scenarios.

  22. 22
    Article
    Avatar of rustRust·43w

    Rust compiler performance survey 2025

    The Rust team has launched a dedicated compiler performance survey to gather detailed feedback on compilation bottlenecks and developer workflows. Long compile times remain one of the biggest productivity challenges for Rust developers, prompting ongoing efforts to optimize the compiler through performance improvements, regression monitoring, and workflow analysis. The anonymous survey runs until July 7th, 2025, and aims to identify priority areas for enhancing Rust compilation performance beyond what the annual State of Rust survey captures.

  23. 23
    Video
    Avatar of tsoding_dailyTsoding Daily·43w

    Better Testing Tool in Rust

    A live coding session implementing a custom testing tool called 'btest' in Rust for a B programming language compiler. The developer creates a matrix-based testing system that runs tests across multiple target platforms (x86-64 Linux, Windows, ARM64, UXN virtual machine), collecting build and runtime status for each combination. Key features include colored terminal output for test results, factoring out platform-specific runners into separate modules, and converting IR from a compilation target into a debugging flag. The session demonstrates practical compiler development techniques, cross-platform testing strategies, and Rust programming patterns for systems-level tools.

  24. 24
    Video
    Avatar of primeagenThePrimeTime·44w

    Why Go Will NEVER Fix Error Handling

    The Go team has officially decided to stop pursuing syntactic changes for error handling after years of failed proposals. Despite error handling verbosity being the top complaint in user surveys, multiple attempts including check/handle mechanisms, try functions, and Rust-inspired question mark operators failed to achieve community consensus. The team cites the difficulty of reaching agreement among users, the cost of language changes, and arguments that current error handling works adequately. They will focus on library improvements instead of syntax changes for the foreseeable future.

  25. 25
    Video
    Avatar of letsgetrustyLet's Get Rusty·43w

    The ultimate Rust performance guide

    A comprehensive guide to optimizing Rust applications through proper profiling and performance tuning. Covers the measure-isolate-optimize cycle using tools like Hyperfine for benchmarking, Cargo Flame Graph for CPU profiling, and dhat for memory analysis. Demonstrates practical optimization techniques including avoiding inefficient algorithms, eliminating unnecessary work, and leveraging parallelization with Rayon. Shows how to achieve significant performance improvements through systematic profiling and targeted optimizations.