Best of RustFebruary 2025

  1. 1
    Article
    Avatar of itsfossIt's Foss·1y

    7 Linux Terminals From the Future

    Discover seven innovative Linux terminal emulators that offer advanced features such as GPU acceleration, AI integration, and extensive customization options. These modern terminals, including Wave Terminal, Warp, Cogno, Rio, Contour, Alacritty, and Hyper, enhance productivity and provide unique functionalities, making them ideal for both seasoned developers and new users.

  2. 2
    Article
    Avatar of communityCommunity Picks·1y

    From Rust to TypeScript: A New Chapter for Prisma ORM

    Prisma ORM is migrating its core query engine from Rust to TypeScript to simplify contributions, reduce deployment complexity, and enhance compatibility with modern JavaScript environments. This transition involves moving query execution to TypeScript and shifting some components to WebAssembly, aiming to streamline architecture and maintain performance while improving developer experience.

  3. 3
    Video
    Avatar of codetothemoonCode to the Moon·1y

    The Most Admired Web Framework

    Phoenix is the most admired web framework, heavily inspired by Rails and known for LiveView, which enables dynamic updates without HTTP requests through WebSocket connections. This architecture allows for server-initiated changes and data streaming to all users. Phoenix leverages Elixir, designed for resilience and concurrency, with a unique process-based architecture in the BEAM VM. Elixir applications demonstrate high loads before showing latency spikes, unlike Go. However, it excels in use cases like chat applications and real-time updates where websocket connections are crucial.

  4. 4
    Article
    Avatar of lobstersLobsters·1y

    ouch-org/ouch: Painless compression and decompression in the terminal

    Ouch, which stands for Obvious Unified Compression Helper, is a CLI tool designed for easy and fast compression and decompression of various file formats. It does not require runtime dependencies for Linux x86_64, offers great error messages, and includes accessibility features. Ouch supports formats like .zip, .tar, .gz, .bz2, and many others. Main commands are decompress, compress, and list, with corresponding aliases. Additional features include shell completions, man pages, and the ability to handle chained formats. Installation options include package managers like pacman, scoop, and cargo.

  5. 5
    Article
    Avatar of hnHacker News·1y

    The Rust web framework for lazy developers

    Cot is a powerful, type-safe Rust web framework designed for rapid, secure, and reliable development. It offers a full-featured API, ORM integration, built-in admin panel, and strong performance. Cot emphasizes security and type safety, making it easier to handle common web development challenges and build production-ready web apps quickly.

  6. 6
    Article
    Avatar of collectionsCollections·1y

    Linus Torvalds Pushes for Rust Integration in Linux Kernel Amidst Maintainer Concerns

    The Linux kernel development community is navigating the challenges of incorporating Rust code, balancing safety with maintainability. Rust offers significant benefits for memory safety, potentially reducing bugs and improving reliability. Despite these advantages, concerns remain about the complexity of a multi-language codebase and maintainer burnout. The gradual integration, marked by the Linux 6.13 kernel's initial Rust support, reflects a cautious yet optimistic approach towards Rust's long-term benefits for a safer kernel.

  7. 7
    Article
    Avatar of jetbrainsJetBrains·1y

    First Steps in Game Development With Rust and Bevy

    The post introduces game development with Rust and the Bevy game engine, using RustRover IDE. It provides a step-by-step guide to creating a simple game where an object jumps, covering essential concepts like entities, components, systems, and schedules in Bevy. It also details how to handle user input, apply physics, and render objects. The final section discusses creating an endless runner game and highlights useful resources for learning Bevy and game development.

  8. 8
    Article
    Avatar of bytebytegoByteByteGo·1y

    TEST EP149: JWT 101: Key to Stateless Authentication

    Learn to build and optimize a low-latency Rust application in a hands-on developer workshop, and explore the fundamentals of JSON Web Tokens (JWT) for secure, stateless authentication. Discover system design concepts such as Docker's importance, the workings of digital signatures, and the architectural evolution of Airbnb.

  9. 9
    Video
    Avatar of primeagenThePrimeTime·1y

    "... maybe the problem is you" - Linus

    The post discusses a controversy within the Linux community over integrating Rust code into the Linux kernel. Key points of contention include concerns about maintainability and the burden of managing a multi-language codebase. Prominent figures like Christopher Helwig, Greg Kroah-Hartman, and Linus Torvalds offer varying perspectives, with some emphasizing the importance of keeping the codebase uniform for easier maintenance, while others argue for the benefits and necessary adaptations for incorporating Rust.

  10. 10
    Article
    Avatar of rustRust·1y

    2024 State of Rust Survey Results

    The 2024 State of Rust Survey has gathered insights from the global Rust community to understand how users are experiencing and utilizing the Rust programming language. While participation decreased slightly compared to previous years, valuable feedback on diverse usage, community diversity, and common challenges was collected. The survey highlights the growing daily use of Rust, the popularity of learning resources, and increasing employer investment in Rust. Key challenges like slow compilation and debugging issues were noted, alongside desired feature additions. The continued professional use and satisfaction with Rust's performance, control, and safety were positively acknowledged.

  11. 11
    Video
    Avatar of youtubeYouTube·1y

    Rust vs. Go (Golang): Performance (Only Standard Library)

    This comparison examines the performance of Go and Rust programming languages using only their standard libraries. The tests were conducted on AWS m7a.large EC2 instances, measuring latency, requests per second, CPU usage, and memory usage. The findings indicated that a single-threaded Rust application handled around 1,500 requests per second, while a multi-threaded version reached 4,000 requests per second. On the other hand, a production-ready Go REST application managed thousands of requests per second using just its standard library.

  12. 12
    Article
    Avatar of communityCommunity Picks·1y

    rewrite.md

    Rewriting a compiler from scratch in a different language can offer significant benefits, such as starting fresh with accumulated knowledge, discarding old mistakes, and making use of new language features. This post discusses Roc's planned rewrite from Rust to Zig, detailing why Zig's fast compile times, better tooling, and specific language features make it the preferred choice. The post also outlines the various rewrites planned for different parts of the compiler and emphasizes the importance of compile times in enhancing developer productivity.

  13. 13
    Article
    Avatar of hnHacker News·1y

    tcdi/plrust: A Rust procedural language handler for PostgreSQL

    PL/Rust is a procedural language for PostgreSQL that allows writing functions in Rust, offering natively compiled functions for optimal performance and safety. It supports various Postgres data types and can be used to write trigger functions. PL/Rust is available as both a 'trusted' and 'untrusted' procedural language depending on the system. The post provides installation instructions, configuration settings, and additional resources for getting started.