Best of Rust — May 2024
- 1
- 2
Zed·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
freeCodeCamp·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
- 5
Community 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
LogRocket·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
- 8
Community 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
ThePrimeTime·2yIf 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
Community 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
- 12
- 13
Dreams 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
- 15
Lobsters·2yHigherOrderCO/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
- 17
- 18
The 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
ThePrimeTime·2yThe 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
Community 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
Medium·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
Theo - t3․gg·2yWas 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
Hacker 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
- 25
JetBrains·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.
