Best of RustMay 2024

  1. 1
    Video
    Avatar of fireshipFireship·2y

    Mind-bending new programming language for GPUs just dropped...

    A new programming language called Bend promises parallelism and allows code to be run in parallel on both CPU and GPU cores. It eliminates the need to know low-level concepts and offers significant performance improvements.

  2. 2
    Article
    Avatar of zedZed·2y

    Zed Decoded: Linux when?

    Zed is being developed for Linux with the help of the open-source community. The challenges in building a GUI application for Linux include cross-platform support, package management, different display servers, desktop environment compatibility, renderer implementation, and more. Despite the challenges, Zed on Linux is making progress and is close to an alpha release.

  3. 3
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Rust Tutorial – Learn Advanced Iterators & Pattern Matching by Building a JSON Parser

    This post is a Rust tutorial that explains how iterators and match patterns work in Rust and demonstrates their use by building a JSON parser. It covers topics such as the iterator pattern, implementing iterators in Rust, peekable iterators, match statements, and pattern binding.

  4. 4
    Article
    Avatar of phoronixPhoronix·2y

    Zed Code Editor Making Progress On Linux Support

    Zed Code Editor is making progress on Linux support, with remaining tasks to be completed for an alpha release.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    What we learned building our SaaS with Rust 🦀

    This post explores the experiences of building a SaaS with Rust, highlighting the benefits, challenges, and the evolving ecosystem. It emphasizes the performance, safety, and concurrency advantages of Rust, discusses the learning curve, the maturity of the ecosystem, and the importance of documentation within the code.

  6. 6
    Article
    Avatar of logrocketLogRocket·2y

    Using Rust and Axum to build a JWT authentication API

    Learn how to build a JWT authentication API using Rust and the Axum framework. The tutorial covers installing Rust, Axum, and necessary dependencies, creating authentication endpoints and implementing JWT middleware for protected routes.

  7. 7
    Video
    Avatar of denoDeno·2y

    Build a JS Runtime in Rust

    Learn how to build a JavaScript runtime in Rust using Dino core and Tokyo as dependencies.

  8. 8
    Article
    Avatar of communityCommunity Picks·2y

    Go or Rust? Just Listen to the Bots

    The post describes the journey of building conversational bots with voices using Go and Rust. The author shares their inspiration for the project, discusses the design implementation details, and provides code snippets for both the Go and Rust implementations.

  9. 9
    Video
    Avatar of primeagenThePrimeTime·2y

    If Go And Rust Had A Baby

    June is a new language that aims to combine the strengths of Go and Rust. It introduces the concept of grouped allocations, which simplifies lifetimes and memory management, and allows for easy code reuse and cleaner API design. June also offers a unique approach to memory recycling, providing a way to keep groups of allocations and still offer features like delete in a linked list abstraction. While some challenges remain, June shows promising potential as a complementary language to Rust.

  10. 10
    Article
    Avatar of communityCommunity Picks·2y

    After a day of programming in Zig

    A Rust enthusiast reviews the Zig programming language, highlighting its unique selling points, similarities and differences with Rust, and challenges. The review covers the Zig community and ecosystem, standard library, error handling, C interoperability, comptime, types, and memory allocation. The reviewer praises Zig's tooling, build system, and testing capabilities. Overall, Zig is seen as a well-designed language with great potential for low-level development.

  11. 11
    Article
    Avatar of devtoDEV·2y

    Building Agentic RAG with Rust, OpenAI & Qdrant

    Learn how to build an agentic RAG workflow with Rust, OpenAI, and Qdrant. Embed CSV files into Qdrant and retrieve relevant embeddings to answer user questions. Explore the power of combining AI agents and RAG to create tailored workflows.

  12. 12
    Article
    Avatar of rustdevsRust Developers·2y

    Rust squad moderators

    Posting in Rust squads is now limited to moderators. If you're interested in becoming a moderator, you can inquire below.

  13. 13
    Video
    Avatar of dreamsofcodeDreams of Code·2y

    We can now write scripts using these languages, but is it worth it?

    Learn about different languages that can be used for writing scripts, such as C, Go, and Rust. Explore the pros and cons of using bash for scripting tasks. Discover how to write scripts in C, Go, and Rust with the help of the scriptist tool. Find out how to add dependencies and enhance your scripts with features like command line arguments and terminal coloring.

  14. 14
    Article
    Avatar of communityCommunity Picks·2y

    RUST Programming Full Course 2024

    Amir has launched a comprehensive Rust programming full course on YouTube. It covers Rust's core concepts with hands-on coding examples and provides tips and tricks to avoid common pitfalls.

  15. 15
    Article
    Avatar of lobstersLobsters·2y

    HigherOrderCO/Bend: A massively parallel, high-level programming language

    Bend is a massively parallel, high-level programming language that runs on massively parallel hardware like GPUs. It has features of expressive languages like Python and Haskell and does not require explicit parallel annotations.

  16. 16
    Article
    Avatar of medium_jsMedium·2y

    Getting Started with Rust

    A post sharing resources and recommendations for getting started with Rust programming language, emphasizing its performance and memory safety features.

  17. 17
    Article
    Avatar of rustRust·2y

    Announcing Rustup 1.27.1

    Announcing the release of Rustup version 1.27.1 with minor bug fixes and improvements. Get the latest version easily and check out the changelog for more details.

  18. 18
    Article
    Avatar of tnwThe Next Web·2y

    Why Rust is emerging as developers’ favourite programming language

    Rust is emerging as developers' favorite programming language due to its growth in popularity, its use in various applications, and its performance and memory safety features. It is commonly admired by developers and has seen significant growth in the last five years.

  19. 19
    Video
    Avatar of primeagenThePrimeTime·2y

    The New Massively Parallel Language

    Bend is a high-level language that promises parallelism by default, allowing programmers to take advantage of multiple cores without the complexity of multi-threading. It can run algorithms using all available CPU cores or even GPU cores. The language utilizes interaction combinators and folds for parallel processing. The performance improvement can be significant compared to running code sequentially. However, Bend may be more suitable for tasks involving linear algebra or complex computations rather than general-purpose development. Overall, it offers a promising approach to achieving parallelism without the need for low-level optimizations or extensive multi-threading knowledge.

  20. 20
    Article
    Avatar of communityCommunity Picks·2y

    Customizing Rust Error Messages with Diagnostic Attributes

    Rust now supports diagnostic attributes to customize error messages, such as #[diagnostic::on_unimplemented] for changing the error message when a trait is not implemented for a type. These attributes allow you to provide custom messages, labels, and additional notes to make error messages more helpful.

  21. 21
    Article
    Avatar of medium_jsMedium·2y

    Data synchronization in Rust

    This post explores data synchronization in Rust, focusing on middle-level components such as channels, barriers, and others. It covers atomic variables, low-level synchronization primitives like Mutexes and RwLocks, and high-level components. The author also provides examples of writing custom middle-level synchronization components. The post concludes by highlighting the benefits of understanding synchronization components in Rust.

  22. 22
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    Was I Wrong About Rust?

    The author reflects on their previous videos about Rust and admits to being wrong. They showcase responses from others who disagree with their views. The main points discussed are the trade-offs between speed and maintainability, the benefits of flexibility in certain contexts, and the importance of language choice in developer experience. They emphasize that the choice of language should be based on the project's needs and long-term viability.

  23. 23
    Article
    Avatar of hnHacker News·2y

    dalance/amber: A code search / replace tool

    Amber is a code search and replace tool written in Rust. It can recursively search directories, ignore VCS directories and binary files, and output in a colored format. Large files are divided and searched in parallel. It also supports interactive replacing and regular expressions. Amber can be installed using cargo or from the release page.

  24. 24
    Article
    Avatar of fermyonFermyon·2y

    Spin Cron Trigger

    Learn how to use the Cron trigger in Spin to write and deploy Wasm-powered workloads that react to time-based events. Installation instructions and code examples provided for Rust and Python applications.

  25. 25
    Article
    Avatar of jetbrainsJetBrains·2y

    RustRover Is Released and Includes a Free Non-Commercial Option

    RustRover is a new feature-rich Rust IDE released by JetBrains. It includes a free non-commercial option with a new licensing model. Support for the Rust plugin is included in IntelliJ IDEA Ultimate, but a commercial license or separate purchase is required for CLion.