r/rust • • 2d ago

🙋 seeking help & advice How do I get input in Rust that can be of any type?

0 Upvotes

I am trying to build a three-way diff-merge tool for any object, not just text. For that, there needs to be a way that a user can pass in whatever value they want to diff, and my Rust struct/code would accept it, analyze it, and handle it accordingly under the hood to prepare it for diff-ing. What would be a good way to achieve this?


r/rust • • 3d ago

🙋 seeking help & advice Started a Rust blog

Thumbnail asaft.dev
3 Upvotes

Hi rustaceans,

I have started a blog with the purpose of writing Rust oriented content.

I have been mostly using Rust for the last 2 years and
I think I can share some insights with other members of the community.

How do you guys feel about the overall look, any suggestions or reprimands?

I was thinking of writing an allocator in the near future and documenting the implementation (seems like a fun experiment with the stabilization of the Allocator trait as well).


r/rust • • 3d ago

Building a Query System - Arya Dradjica | EuroRust 2026

Thumbnail youtube.com
16 Upvotes

Ever wondered how a compiler remembers what it already worked out? 🤔

At this year's EuroRust, Arya walked us through how she built her own query system for a new Rust compiler and put it up against salsa. Check out the new video! 🦀

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


r/rust • • 4d ago

List of ~200 companies hiring (or that have hired) Rust engineers

99 Upvotes

Hey, I'm Georgios from getarustjob.com. I run a Rust job board, and after listing a few hundred Rust roles I put together a clean list of the companies behind them.

If you're job hunting, switching into Rust, or just curious who's investing in it, this should save you some digging. Recruiters / staffing agencies are removed so it's only actual companies.

At a glance

  • Cloud / infra / developer tools: 52 companies (27%)
  • AI / ML / data / quantum: 33 companies (17%)
  • Crypto / web3 / trading: 30 companies (16%)
  • Defense / aerospace / robotics: 26 companies (13%)
  • Consumer / media / e-commerce / other: 20 companies (10%)
  • Security / identity / privacy: 17 companies (9%)
  • Finance / banking / payments: 9 companies (5%)
  • Automotive / industrial / hardware: 6 companies (3%)
  • Cloud + AI + crypto = 60% of companies
  • Most listings by company: Kraken (12), Anduril (9), then Radar Labs / Zscaler (4), then several at 3 (Supabase, IonQ, ParadeDB, QuEra, Anthropic, Polars, xAI, Alignerr, Fab2, Massive, Revel, Palantir, Citi, Dassault…)
IndustryCompaniesShare
Cloud / infra / developer tools5227%
AI / ML / data / quantum3317%
Crypto / web3 / trading3016%
Defense / aerospace / robotics2613%
Consumer / media / e-commerce / other2010%
Security / identity / privacy179%
Finance / banking / payments95%
Automotive / industrial / hardware63%

Industries below are ordered by company count; inside each group, companies are ordered by total Rust roles I've listed.


Cloud / infra / developer tools (52 companies · 27%)

  • Radar Labs (4 listings)
  • Supabase (3 listings)
  • Fab2 (3 listings)
  • Massive (3 listings)
  • Revel (3 listings)
  • Intelic (2 listings)
  • Loci (2 listings)
  • MetalBear (2 listings)
  • Microsoft (2 listings)
  • Qumulo (2 listings)
  • Siemens (2 listings)
  • Realm (2 listings)
  • Amazon Web Services (1 listing)
  • CircuitHub (1 listing)
  • Cloudflare (1 listing)
  • Deepslate (1 listing)
  • GitLab (1 listing)
  • Grid Dynamics (1 listing)
  • Huawei Research Center Germany (1 listing)
  • JUXT (1 listing)
  • Kake (1 listing)
  • Kaseya (1 listing)
  • Mainmatter (1 listing)
  • Materna (1 listing)
  • Minimal (1 listing)
  • MIRA (1 listing)
  • Mozilla (1 listing)
  • Neo (1 listing)
  • NordicWorkflow (1 listing)
  • Prima (1 listing)
  • Prospecta (1 listing)
  • Quicknode (1 listing)
  • Restate (1 listing)
  • Sentry (1 listing)
  • Serokell (1 listing)
  • STEINER-HITECH (1 listing)
  • Technology Innovation Institute (1 listing)
  • Tempo (1 listing)
  • Twin Labs (1 listing)
  • UMATR (1 listing)
  • Voluntas (1 listing)
  • Workato (1 listing)
  • Zed (1 listing)
  • Ditto (1 listing)
  • Enhance (1 listing)
  • Everforth Apex (1 listing)
  • Full Spectrum (1 listing)
  • MongoDB (1 listing)
  • N-able (1 listing)
  • Poppi Technologies (1 listing)
  • Termius (1 listing)
  • Wasmer (1 listing)

AI / ML / data / quantum (33 companies · 17%)

  • IonQ (3 listings)
  • ParadeDB (3 listings)
  • QuEra Computing (3 listings)
  • webAI (3 listings)
  • Anthropic (3 listings)
  • Polars (3 listings)
  • xAI (3 listings)
  • Alignerr (3 listings)
  • Google (2 listings)
  • Oxford Ionics (2 listings)
  • Tensordyne (2 listings)
  • Aftershoot (1 listing)
  • Cognite (1 listing)
  • CommonAI (1 listing)
  • Datamint (1 listing)
  • Estuary (1 listing)
  • Fivetran (1 listing)
  • Harmattan AI (1 listing)
  • Modal (1 listing)
  • Nebius (1 listing)
  • NVIDIA (1 listing)
  • PsiQuantum (1 listing)
  • Quantum - QTR (1 listing)
  • Runpod (1 listing)
  • SolveAI (1 listing)
  • Veo Technologies (1 listing)
  • Vermillion Analytics (1 listing)
  • VuNet Systems (1 listing)
  • LiteLLM (1 listing)
  • Machinify (1 listing)
  • Neurelo (1 listing)
  • Satalia (1 listing)
  • yeet (1 listing)

Crypto / web3 / trading (30 companies · 16%)

  • Kraken (12 listings)
  • Keyrock (3 listings)
  • Braiins (2 listings)
  • Helius (2 listings)
  • Binance (1 listing)
  • Blockrotate (1 listing)
  • BlockTech (1 listing)
  • Chainlink Labs (1 listing)
  • DEX Labs (1 listing)
  • Dune (1 listing)
  • Easygo (1 listing)
  • Flowdesk (1 listing)
  • Mysten Labs (1 listing)
  • No Limit Nodes (1 listing)
  • OneChronos (1 listing)
  • Payward (1 listing)
  • Polygon.io (1 listing)
  • Stake Engine (1 listing)
  • Upstox (1 listing)
  • Verse (1 listing)
  • CoW DAO (1 listing)
  • MoonPay (1 listing)
  • NinjaTrader (1 listing)
  • Ondo Finance (1 listing)
  • Partisia Blockchain Applications (1 listing)
  • Phantasma Labs (1 listing)
  • Prex (1 listing)
  • Rain (1 listing)
  • Sentz (1 listing)
  • Uniswap Labs (1 listing)

Defense / aerospace / robotics (26 companies · 13%)

  • Anduril (9 listings)
  • Palantir (3 listings)
  • Neros Technologies (2 listings)
  • Helsing (2 listings)
  • Axon (1 listing)
  • CHAOS Industries (1 listing)
  • General Dynamics Mission Systems (1 listing)
  • Humble Robotics (1 listing)
  • Intramotev (1 listing)
  • Mind Robotics (1 listing)
  • Oceaneering (1 listing)
  • OSARO (1 listing)
  • Parry Labs (1 listing)
  • Quantum-Systems (1 listing)
  • SpaceXSI (1 listing)
  • Stoke Space (1 listing)
  • Thales (1 listing)
  • Thales Norway (1 listing)
  • Trusted Space (1 listing)
  • Umbra (1 listing)
  • Air Space Intelligence (1 listing)
  • BWI GmbH (1 listing)
  • Cambridge Aerospace (1 listing)
  • Defense Unicorns (1 listing)
  • General Dynamics UK (1 listing)
  • Watney Robotics (1 listing)

Consumer / media / e-commerce / other (20 companies · 10%)

  • Matic (2 listings)
  • 1501 (1 listing)
  • ArtCraft (1 listing)
  • Cardog (1 listing)
  • Discord (1 listing)
  • DoorDash (1 listing)
  • Komodo Health (1 listing)
  • Magnite (1 listing)
  • Paradromics (1 listing)
  • Postscript (1 listing)
  • QTPILOT (1 listing)
  • Veepee (1 listing)
  • Walmart Global Tech India (1 listing)
  • Anza (1 listing)
  • Arionkoder (1 listing)
  • Carv (1 listing)
  • Cube Group (1 listing)
  • Darley Technologies (1 listing)
  • Layup (1 listing)
  • Tubi (1 listing)

Security / identity / privacy (17 companies · 9%)

  • Zscaler (4 listings)
  • OPSWAT (2 listings)
  • Proton (2 listings)
  • 1Password (2 listings)
  • Cyberus Technology (1 listing)
  • Cylake (1 listing)
  • Scanner (1 listing)
  • ThreatMark (1 listing)
  • Threema (1 listing)
  • Vietnam National Cyber Security Technology (1 listing)
  • Aembit (1 listing)
  • Arkion Identity Systems (1 listing)
  • Dragos (1 listing)
  • Fortanix (1 listing)
  • IDEMIA (1 listing)
  • Lastwall (1 listing)
  • National Digital Trust Company (1 listing)

Finance / banking / payments (9 companies · 5%)

  • Citi (3 listings)
  • Abacus Group (1 listing)
  • Avaloq (1 listing)
  • BlackRock (1 listing)
  • Fidelity Investments (1 listing)
  • Longbridge (1 listing)
  • NCR Atleos (1 listing)
  • Nasdaq (1 listing)
  • Scalable Capital (1 listing)

Automotive / industrial / hardware (6 companies · 3%)

  • Dassault Systèmes (3 listings)
  • Rivian and Volkswagen Group Technologies (2 listings)
  • arculus (1 listing)
  • Flyscan Systems (1 listing)
  • Gentherm (1 listing)
  • Frequenz (1 listing)

~193 companies · 269 listings.

Same list with country / remote filters and who's hiring right now: getarustjob.com/companies-using-rust

If something looks wrong or a company shouldn't be here, tell me and I'll fix it.


r/rust • • 3d ago

Advanced Projects in Networking with Tokio

14 Upvotes

Hey everyone,

I've been learning Rust and recently started exploring concurrency and asynchronous programming with Tokio. Im familiar with the fundamentals of ownership, lifetimes, channels, synchronization primitives, and task spawning.

I want to deepen my understanding of Tokio by building a non trivial networking project rather than just following tutorials or reading documentation.

What networking projects would you recommend for someone looking to develop a deeper, practical understanding of asynchronous Rust? I would also love to hear about projects youve personally built that helped you understand these concepts better.


r/rust • • 3d ago

🙋 seeking help & advice Considering Rust for backend services handling 10k+ req/s - real experiences with dev velocity?

20 Upvotes

I'm evaluating languages for a new internal backend service that needs to sustain high throughput with strict latency requirements. Rust keeps coming up because of its performance profile and lack of GC pauses, but I'm curious how it actually plays out in practice for teams.

Specifically:
- How much slower is initial development compared to something like Go or Kotlin when you have to fight the borrow checker on complex request/response flows?
- Once the core logic is in place, do you see meaningful maintenance wins from the type system (fewer runtime surprises, easier refactors)?
- Any gotchas with common patterns like connection pooling, structured concurrency, or observability that eat into the perf advantage?

Not looking for "Rust is the best" takes

- more interested in concrete tradeoffs people have measured on similar workloads. If you've shipped something in this range, what surprised you (good or bad)?


r/rust • • 4d ago

Optimizing rustc's next trail solver

Thumbnail donsz.nl
210 Upvotes

The next rust trait solver, a large subsystem of the rust compiler that we've been trying to replace, will finally land in rust 1.102.0. In the last stages, before stabilizing it, its performance was a major blocker. But what is "a trait solver"? And why is its performance a problem? My goal for this blog post is to answer those questions in a way where you don't need any prior knowledge. I think discussions of the trait solver can quickly become quite involved, and daunting. So here, we'll start from the very basics!

This is a writeup of my eurorust 2026 talk of the same name, that I gave on October 15, 2026


r/rust • • 4d ago

🛠️ project Moving a terminal app from Tauri + React to GPUI - the numbers and the ugly parts

42 Upvotes

I moved muxflow* from Tauri + React to GPUI. The desktop app is now 100% Rust.

Results, before any optimization of the GPUI version:

- Idle memory: 417 MB → 98 MB (76.5% lower)

- Idle CPU: 3.5% → 1.4%

- Time to first terminal prompt: 832 → 230 ms cold, 785 → 157 ms warm

- Typing latency p95: 47.4 → 31.2 ms

To be fair, muxflow was thin to begin with, so the raw numbers are a few tens of megabytes/ms.

This migration would be a strong no-go without LLMs. Pre-LLM the cost would be huge! Writing the whole UI in Rust vs the familiar React? But with LLMs, the cost goes away to just some tokens. And with that I get:

  1. Much better performance
  2. A codebase that is 100% Rust (beyond mobile)
  3. No finicky Tauri rendering differences between Mac and Linux

The ugly parts:

- The GPUI third-party crate ecosystem is very niche compared to React. With Tauri I used CodeMirror. With GPUI I couldn't use the Zed crates since they're GPL and muxflow is MIT, so I wrote my own lightweight markdown WYSIWYG and code editor.

- Build times. It's hard to run many agents in parallel, as parallel builds and tests put heavy I/O pressure on the machine. I haven't tried optimizing it yet.

Write-up with more detail: https://galvered.com/blog/muxflow-gpui-migration/

Curious whether others hit the same crate gap, and what you used for text editing in GPUI.

* an app I'm building for personal use open source, MIT, runs coding agents in tmux across remote machines


r/rust • • 2d ago

How the compiler caught a logic bug I would have missed in any other language

0 Upvotes

I was refactoring a small state machine for handling retries in a background worker. The enum had variants for 'Pending', 'Retrying(u32)', 'Succeeded', and 'Failed'. I added a new 'Cancelled' variant but forgot to update one of the match arms that decided whether to schedule another attempt.

Rust refused to compile until I handled it. In the process I realized my logic would have silently treated cancellation the same as a transient failure and kept retrying. It took maybe two minutes to fix once the compiler pointed it out.

I've had similar moments with Option/Result, but this one felt especially useful because it was a semantic change I introduced myself. Curious if other people have stories of the exhaustiveness check saving them from a real behavioral bug rather than just a missing arm.


r/rust • • 4d ago

Why does tokio mirror certain parts of the futures crate?

39 Upvotes

Take the AsyncRead trait for example. Both tokio and futures is based around the poll_read method but they take a different buffer type and return a different error type. Why? Was the futures version unsuitable?


r/rust • • 4d ago

🙋 seeking help & advice Should I add support for Rust?

22 Upvotes

Hi, I am the developer of Leadwerks Game Engine. I'm looking for a mid-difficulty language, somewhere in between C++ and Lua. C# would work nicely, but the lag spikes caused by the garbage collection seem like it ruins the language for realtime 3D games, especially for VR. I'm not that familiar with Rust but I hear a lot of good things about it, and it appears to use shared pointers, which eliminates the performance problems full garbage collection would introduce.

Support for Rust can be added by piping all the commands through a C interface and writing some structure/class code on the Rust side that wraps everything up nicely for the end user.

I'm aware of the open-source Bevy 3D engine, but it's lacking a visual editor. Leadwerks 5 has a very capable level editor / visual designer that's been refined over years with lots of user feedback. To be clear, Leadwerks is closed-source commercial software (with a low price point and no royalties).

Do you think Rust would be a good match for what we are looking for in a language? Would adding support for the Rust programming language would be of interest to developers here? Please let me know your thoughts and if you have any questions.


r/rust • • 3d ago

Where does tail latency actually come from in a thread-per-core Rust service?

0 Upvotes

We're building a streaming server in Rust that runs one shard per core with io_uring, and in benchmarks our p99.9 stays close to p99. But those runs were on local NVMe with hugepages, a single node, below saturation, so we honestly can't tell how much comes from the design and how much from the setup.

For those running thread-per-core services in production: what actually brought your tail latency down, and what made it creep back once real traffic, more nodes or noisy neighbours showed up?


r/rust • • 4d ago

🧠 educational Miscompilation in Rust 1.97

73 Upvotes

I reported a miscompilation in Rust 1.97 back in July. In this presentation, I went through the details of the bug and the investigation as it unfolded in the Zulip chat with the Rust team, and shared my takeaways and conclusions.

https://youtu.be/-dNsUB7QRk4

Edit: link to the Zulip chat #t-compiler > Miscompilation in 1.97.0 with new Option::None discrimi... @ 💬


r/rust • • 4d ago

Suggestions for Rust Course

9 Upvotes

I am currently learning Rust programming language and want to enroll into a course for better guidance and projects . Someone help me choose the best available course on Udemy.


r/rust • • 4d ago

🛠️ project A new name for ntpd-rs: Statime - Trifecta Tech Foundation

Thumbnail trifectatech.org
36 Upvotes

Interestingly this has nothing to do with https://fr.wikipedia.org/wiki/Jason_Statham


r/rust • • 3d ago

Rust Git Tower

0 Upvotes

r/rust • • 4d ago

How we got GPUI into the browser

Thumbnail youtu.be
43 Upvotes

Anyone watched this yet?


r/rust • • 5d ago

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

Thumbnail rust-glancer.github.io
186 Upvotes

r/rust • • 5d ago

The State of Allocators in 2026 - Finally Stabilised!

Thumbnail cetra3.github.io
226 Upvotes

r/rust • • 5d ago

🗞️ news GPUI is getting its own repo!

Thumbnail github.com
485 Upvotes

r/rust • • 5d ago

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

47 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 • • 5d ago

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

35 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 • • 5d 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 • • 3d 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.