Blog post: Handling exactly-one feature validation in Rust
While developing my framework historia, I faced a need to make a binary crate run with exactly one feature from a group. Cargo doesn't have any built-in options for mutually exclusive features — and...
View ArticleBlog post about parallelism and interior mutability
I have written a blog post about something that I learned, maybe can be useful to someone else too. davideprati.com Writing in parallel on the standard output - Davide Prati 11 posts - 6 participants...
View ArticleAre there any other books you would recommend I read after finishing the Rust...
Here are the books and topics I'm currently hoping to read and learn: Rust for Rustaceans Rust in Action Rust Nomicon Rust Design Systems 8 posts - 4 participants Read full topic
View ArticleRust programming language 2nd edition book dilemma
i have a rust programming language 2nd edition book dilemma in using it. chapters 1-5 have working examples with main functions. it is easy to follow. the chapters after 5 have only snippets without...
View ArticleRe closed topic Rust+ Iced - Run code when app starts
This refers to the question Rust + Iced - Run code when app starts which is marked as solved and closed. I had a similar question and I did not like the solution given. The questioner asked if there...
View ArticleForgot Expr
Yesterday I decided to switch my project's Strings over to &str. In the process I forgot to make my parser functions return Expr<'a> instead of plain Expr, and started getting "cannot borrow...
View ArticleProblem installing Rust
Hello I installed Rust following this guide: doc.rust-lang.org Installation - The Rust Programming Language "On Windows, go to Install Rust - Rust Programming Language and follow the instructions for...
View ArticleUnder What Circumstances Does Rust Promote a Value to a 'static Lifetime?
I’m developing a compiler and recently came across something I’m not completely sure about. example: enum Foo { A, B, } An AI told me that values like Foo::A can be promoted to a 'static lifetime...
View Article`Vec` vs. `String` for a scanner: Which is more performant in Rust?
When writing an interpreter in Rust, does using Vec<char> or String for the scanner make a difference in terms of performance? Which one would be the better choice? My Code: pub struct...
View ArticleLearning Rust from Zero
Hello Rustaceans! Because I don't like that virtually all Rust tutorials in the past require at least knowledge of another programming language, I made this tutorial for absolute beginners. Even...
View ArticleA hands-on tutorial for building a Lisp interpreter in Rust from scratch with...
I've put together a hands-on tutorial for building a Lisp interpreter in Rust from scratch — 74 steps, zero dependencies, 42 tests passing. Full disclosure upfront: This tutorial was developed with...
View ArticleDecimal Crates Comparison
Decimal Crates Comparison | Chiness Version I selected several Rust decimal crates, discussed and compared their features, and conducted extensive benchmarking on them. If you think there are other...
View ArticleA great Crossterm material for begginers
Well I was looking for a good crossterm study material, And I found this stream from tsoding. It's not a tutorial, He is just tinkering with the library, which is something i really like to do, but he...
View ArticleA Rust Design Pattern for Linear Types
For ECS-related reasons, I really wanted a design pattern that could emulate linear types in Rust. After reading a bunch about functional programming, I came up with a design pattern inspired by...
View ArticleAn Introduction to Programming using ECS & EBP, in Rust
This started as a problem with extending an existing OOP application. The domain model didn't fit the problem any longer. A serious refactoring was required. It bothered me. Why did I write OOP in the...
View ArticleLearn Rust Basics By Building a Brainfuck Interpreter
Article Link is Here Github Repo link In this post, we are going to build a brainfuck language interpreter in Rust . But before that, we will learn about variables and mutability, scalar types,...
View ArticleBuilding a Production Multilingual PII Detection System in Rust with GLiNER2
Building a Production Multilingual PII Detection System in Rust with GLiNER2 I want to share how we built PII Engineer, an open-source, multilingual PII detection system written entirely in Rust. It...
View ArticleI built a Rust learning project for implementing a Claude Code-style agent...
Hi everyone, I have been working on a Rust learning project called learn-claude-code-rs: github.com GitHub - wulawulu/learn-claude-code-rs: Build an AI agent harness in Rust, from a minimal... Build...
View ArticleC++ to Rust -- Exceptions
C++ Exceptions One underappreciated feature of C++ is the ability to throw/catch exceptions. If one leverages the flexability of using different classes to represent different use-cases of...
View ArticleIn depth tutorial about Rust lifetimes
I realized that I never shared my lifetimes tutorial on Rust forums before. a1akris.github.io Introduction The idea was to strip away all type machinery and provide an intuitive mental model of what...
View Article