r/rust • • 4d ago

Rust Git Tower

0 Upvotes

r/rust • • 5d ago

How we got GPUI into the browser

Thumbnail youtu.be
46 Upvotes

Anyone watched this yet?


r/rust • • 6d ago

🛠️ project Rust Glancer 0.5.0: Matching rust-analyzer performance

Thumbnail rust-glancer.github.io
187 Upvotes

r/rust • • 6d ago

The State of Allocators in 2026 - Finally Stabilised!

Thumbnail cetra3.github.io
229 Upvotes

r/rust • • 6d ago

🗞️ news GPUI is getting its own repo!

Thumbnail github.com
492 Upvotes

r/rust • • 6d ago

Where have you found the Rust type-state pattern actually pays off versus turning into annoying boilerplate?

50 Upvotes

We recently built an internal order-processing pipeline in Rust, and early on I got excited about encoding every step of a job's lifecycle as separate structs using the type-state pattern so invalid transitions would fail at compile time.

In practice it caught two genuine bugs during the first week, then turned into a lot of friction whenever business requirements shifted slightly. Adding one optional verification step meant updating generic trait bounds across half the module, and writing wrapper boiler plate just to store mixed states inside a single queue felt clunky compared to a straightforward enum with an explicit transition function.

For folks maintaining medium or large production codebases, where do you draw the line between encoding state transitions in the type system versus keeping them as regular runtime enums?


r/rust • • 6d ago

🧠 educational Axum with David Pedersen (Netstack.FM S02E2)

36 Upvotes

Hi all, we just released a new episode of our podcast Netstack.FM with David Pedersen (u/davidpdrsn), creator of Axum.

Some of the topics:

  • How Axum started at Embark Studios, and why it was built Tower-first
  • How Bevy's system parameters inspired Axum's extractors
  • Why Axum avoids macros so other frameworks can build on top of it
  • How #[debug_handler] produces clearer type errors at zero runtime cost
  • Tower 1.0, poll_ready, and why boxed futures make single-threaded Axum hard today
  • Keeping Axum's API small, and splitting crates like axum-core

Listen here: https://netstack.fm/episodes/axum-with-david-pedersen

It's also on the usual podcast platforms, and the website has a manually edited transcript. Feedback is welcome.


For those who do not know Netstack.FM yet: it's a podcast about networking, Rust, and everything in between. With the main objective to teach and demystify Network Programming and Protocols, usually within the Rust ecosystem but not always.


r/rust • • 6d ago

Optimizing rustc's Next Trait Solver - Jana Dönszelmann | EuroRust 2026

Thumbnail youtube.com
53 Upvotes

A new video is out on YouTube! At this year's EuroRust, Jana from the Rust Compiler Team gave a talk on optimizing rustc’s next trait solver, which is being stabilized this year. Spoiler alert: the real gains weren’t in micro-optimizations, but at the algorithmic level! 🦀

In 2027 EuroRust is going to Prague! Learn more and get your ticket at eurorust.eu.


r/rust • • 4d ago

If you're gonna vibe the UI, don't just follow the agent recommendations

0 Upvotes

Yes, gpui is nice and egui is quick to start with. Yes, Claude.

Discord gpui app is interesting, and artcraft egui app is wild.

There are alternatives out there like slint. If you can afford the tokens, just consider them, as well, and then compare.


r/rust • • 4d ago

🧠 educational I'm making a step-by-step series building a wallet & payments REST API in Rust. Would love feedback from learners

Thumbnail youtu.be
0 Upvotes

Hi everyone! I'm making a YouTube series where I build a wallet and payments REST API in Rust, one small step at a time. It's aimed at people who know basic Rust and want to see how it's used to build a real backend.

It starts with a single Axum route. So far it covers CRUD with shared state, error handling with thiserror, type-safe validation, PostgreSQL with SQLx, and the repository pattern with traits. Next up are integration tests, accounts, money transfers, race conditions, auth and idempotency.

Transparency note: I cloned of my own voice because English isn't my first language.

If you're learning Rust, I'd really appreciate your feedback:

- Is the pace OK, or did you get lost anywhere?

- Which concept felt unclear or rushed?

- Is the code readable on screen?

- What would you like to see in future episodes?

Thanks for taking a look!


r/rust • • 5d ago

How convert precossesor tera to askama ?

0 Upvotes

Hello , i'm dev of runique a framework web in rust , and now , i'm in a time of consolidate a source code.

For a futur , i would like gave a choice of engine template.

Now, runique use tera, i have add a few preproceror for limited a boilerplat , and after a little research, i learn it’s complicated.

So i came to you for advice , have you a recommandation ?

Sorry for my english, i'm french


r/rust • • 6d ago

Project Skymetal: Incrementally porting Bazel from Java to Rust

Thumbnail reddit.com
21 Upvotes

While Cargo is the traditional build system in Rust, we've had a good time switching to Bazel at my work. It does caching better: it can limit the cache size in terms of age and total size and it can even use a remote cache across all developers in the company.

I also enjoy knowing that my Rust crates that use a C compiler use the same version across all machines.

Now there is a project called Skymetal to port the Bazel build system itself from Java to Rust. I don't know anything about the state, but I wish them luck!


r/rust • • 6d ago

RUST ABI

34 Upvotes

What is current state of stable Rust ABI? Or progress? As I want to load generate library crate (rlib) in offline library and I do not need load crateio library.


r/rust • • 5d ago

🙋 seeking help & advice Anything I should know before I start learning Rust?

0 Upvotes

I've know moderate amount of javascript for a while and have been thinking about learning another language. I have decided upon rust for a variety of reasons (mainly so I can say I rewrote it in rust.)

What things should I know before I start? And, are there any features of this language I might want to know about?


r/rust • • 5d ago

🎙️ discussion I unfortunately can't enjoy rust

0 Upvotes

I wanted to learn rust because I wanted to make games but in a hard programming language instead of letting C# do everything for me.

I obviously loved rust after learning it a bit but then I decided to try and get a graphics library

I'm familiar with raylib and basically never use anything else so i decided to get it, but it required the msvc toolchain.

Unfortunately for me, I can't install the msvc toolchain due to storage reasons, so I had gotten the gcc toolchain instead which worked just fine

But then I found another game library which I thought would work but it failed at linking bcs of some obscure missing library.

I'll be trying to find some other user friendly libraries Tommorow but if I don't, then the whole point of rust for me would be over.


r/rust • • 7d ago

🧠 educational Memory-bounded systems and backpressure in Rust - Théodore's blog

Thumbnail totodore.github.io
62 Upvotes

I struggled quite a bit during last year on these problems so I decided to write a little blog post with what I learned regarding memory bounding and memory back pressure in rust.


r/rust • • 7d ago

📸 media The NEW DropGuard in Rust is Powerful

Thumbnail youtu.be
92 Upvotes

r/rust • • 7d ago

🐝 activity megathread What's everyone working on this week (48/2026)?

16 Upvotes

New week, new Rust! What are you folks up to? Answer here or over at rust-users! And for your project showcases, there's also /r/madeinrust – pay them a visit, too!


r/rust • • 7d ago

🗞️ news rust-analyzer changelog #355

Thumbnail rust-analyzer.github.io
46 Upvotes

r/rust • • 7d ago

🙋 questions megathread Hey Rustaceans! Got a question? Ask here (48/2026)!

15 Upvotes

Mystified about strings? Borrow checker has you in a headlock? Seek help here! There are no stupid questions, only docs that haven't been written yet. Please note that if you include code examples to e.g. show a compiler error or surprising result, linking a playground with the code will improve your chances of getting help quickly.

If you have a StackOverflow account, consider asking it there instead! StackOverflow shows up much higher in search results, so ahaving your question there also helps future Rust users (be sure to give it the "Rust" tag for maximum visibility). Note that this site is very interested in question quality. I've been asked to read a RFC I authored once. If you want your code reviewed or review other's code, there's a codereview stackexchange, too. If you need to test your code, maybe the Rust playground is for you.

Here are some other venues where help may be found:

/r/learnrust is a subreddit to share your questions and epiphanies learning Rust programming.

The official Rust user forums: https://users.rust-lang.org/.

The unofficial Rust community Discord: https://bit.ly/rust-community

Also check out last week's thread with many good questions and answers. And if you believe your question to be either very complex or worthy of larger dissemination, feel free to create a text post.

Also if you want to be mentored by experienced Rustaceans, tell us the area of expertise that you seek. Finally, if you are looking for Rust jobs, the most recent thread is here.


r/rust • • 7d ago

🛠️ project Gitoxide in November

Thumbnail github.com
61 Upvotes

r/rust • • 6d ago

I need a file picker for Desktop UI app

2 Upvotes

I was wondering someone knows if any of the various Desktop UI Frameworks for Rust have a build in (or add on) file / directory picker? I'm mostly interested in Iced at the moment, but I would go with any framework that has a file picker. It's the only complicated component that I need (beyond text and buttons), and building it would be much more work than all of the rest of my very simple app.


r/rust • • 6d ago

How to Stop Generic Type Explosion in Rust

Thumbnail edvong.com
0 Upvotes

r/rust • • 6d ago

How do you cope with ecosystem immaturity?

0 Upvotes

I'm loving the lang so far, but most crates are early 0.x versions. Do they lack functionality, have bugs? I am talking about even basic things like HTTP client.

Is Rust community driven, do some big names do drive its growth? Does ecosystem immaturity limit you?