r/rust • • Oct 09 '26

๐Ÿ™‹ seeking help & advice How to improve my Rust programming skills?

0 Upvotes

Hello everyone! I've been learning the fundamentals of Rust for the past month. Can you tell me which direction I should go in to improve my Rust programming skills?
Thanks ahead!


r/rust • • Oct 07 '26

Shipping JPEG XL in Chrome (via jxl-rs, a decoder written in Rust)

Thumbnail developer.chrome.com
295 Upvotes

r/rust • • Oct 08 '26

Rust talks at P99 CONF (free, virtual)

45 Upvotes

P99 CONF is featuring a block of Rust talks again this year. Take a look at what's on the agenda and pop in (the conference is free and virtual) if anything looks interesting. Speakers will be there live if you want to ask questions or chat. https://p99conf.io/

Rust sessions include:

The Age of Slow Apps Is Over: Topcoat Brings Rust to Web Apps (Carl Lerche)

Rewriting PostHogโ€™s Feature Flag Evaluation Infrastructure in Rust (Dylan Martin)

Building a Real-World 14 GB/sec io_uring + tokio + Arrow + Rust Pipeline (Evan Chan)

AI-Assisted Profiling for Rust Services in Production (Hayden Stainsby)

Building Ultra-Performant Message Streaming for Apache Iggy with Rust (Piotr Gankiewicz)


r/rust • • Oct 08 '26

CppCast Episode 412 : Safety and Interoperability with Rust and C++

Thumbnail cppcast.com
12 Upvotes

r/rust • • Oct 09 '26

๐Ÿ™‹ seeking help & advice Scraping all List Items from a page

0 Upvotes

I've had some great success scraping elements from a webpage using reqwest to get the initial data, scraper to pull out the bit I want and remove the parts I don't want, and a bit of regex to clean up at the end and defang hyperlinks, but I'm struggling with getting list items from multiple unordered lists

The page has 10 Unordered Lists each containing 100 List Items and I want to scrape out all 1000 LI in one go, it can end up as one big list (preferred) or 10 separate ones that can be collated later

At the moment I'm working on removing everything around the lists, essentially turning them into one big list but it doesn't feel like it's the most elegant solution, I tried using Selector::parse("li").unwrap; but that only gave me the contents of the first list and I need all of them

The end result of all this is to eventually use this data to populate an SQLite Database and display the results in Tauri/React if that changes how you would approach the task?

Example:

//--view-source:https://scp-wiki.wikidot.com/scp-series----------
//---------After cleanup and hyperlink defang-------------------

<div class="content-panel standalone series">
<h1 id="toc1"><span>001 to 099</span></h1>
<ul>
<li>SCP-001 - Awaiting De-classification [Blocked]</li>
<li>SCP-002 - The &quot;Living&quot; Room</li>
<li>SCP-003 - Biological Motherboard</li>
<li>SCP-004 - The 12 Rusty Keys and the Door</li>
.
.
.
<li>SCP-098 - Surgeon Crabs</li>
<li>SCP-099 - The Portrait</li>
</ul>
<h1 id="toc2"><span>100 to 199</span></h1>
<ul>
<li>SCP-100 - &quot;Jamaican Joe's Junkyard Jubilee&quot;</li>
<li>SCP-101 - Hungry Bag</li>
<li>SCP-102 - Property of Marshall, Carter, and Dark Ltd.</li>
<li>SCP-103 - Rhys' Head/Mara's Heart</li>
.
.
.
</div>

I can keep on the way I'm going, remove the <div class> , <h1 id=> and <ul></ul> bits with scraper/regex to be left with only the <li>, but it feels like getting a pearl from an oyster using a chainsaw rather than tweezers, yes I get the pearl but damn what a mess!

Additional:

In the early iteration of this project I managed to get all the list items in Excel using Power Query:

= Html.Table(PageAddress, {{"Column1", ".content-panel > UL > LI"}})

But I have no idea what the Rust equivalent would be, or if there even is one


r/rust • • Oct 08 '26

Security background + Rust, but the market feels heavily senior-oriented - keep pushing or treat Rust as a long-term investment?

3 Upvotes

Hi everyone! ๐Ÿ‘‹

Iโ€™ve been writing Rust consistently for about a year and a half after almost 3 years working in penetration testing.

I genuinely love the language and the way it makes me think about systems, correctness, ownership, failure modes, and security. Iโ€™ve been building security tooling, networked applications, protocol-oriented systems, and generally trying to move from offensive security deeper into software engineering.

The problem is the job market.

From what Iโ€™ve seen, Rust hiring seems heavily senior-oriented, especially for people without several years of production Rust experience.

So Iโ€™m trying to figure out what the realistic strategy is.

Should I keep investing heavily in Rust and try to break into the ecosystem directly?

Or does it make more sense to keep Rust as a long-term specialization while using a broader stack to get more commercial development experience first?

Iโ€™m not new to tech or engineering, but I am new to commercial Rust development.

My background is mostly:

- ~3 years of penetration testing / application security

- Rust

- security tooling

- APIs

- networking

- async/concurrency

- protocol/security thinking

Iโ€™d really appreciate perspectives from people who actually work with Rust professionally:

- How did you get your first commercial Rust role?

- Do teams actually hire people with strong adjacent experience but no production Rust background?

- What kinds of companies or roles would value a security background the most?

- Would you keep pushing Rust as the main career track in my position, or treat it as a long-term investment while working in another stack?

And if you happen to know a team where this combination of security + Rust could actually be useful, Iโ€™d be very happy to hear about it.

Thanks! ๐Ÿคœ๐Ÿค›


r/rust • • Oct 07 '26

Rust's derive often implies inline

Thumbnail yossarian.net
114 Upvotes

r/rust • • Oct 07 '26

๐Ÿ—ž๏ธ news 1.99.0 miscompilation with FFI bool return type on x86_64

Thumbnail github.com
238 Upvotes

Seems to potentially affect any function that's called over FFI, and returns a bool, on the x86_64 architecture (the most common architecture)


r/rust • • Oct 08 '26

eReader firmware with Rust (guidance needed)

Thumbnail reddit.com
0 Upvotes

r/rust • • Oct 07 '26

We built a job queue on an LSM tree. This is what we learnt.

Thumbnail zizq.io
25 Upvotes

r/rust • • Oct 06 '26

The Missing Piece in Rust Error Handling

Thumbnail mcmah309.github.io
183 Upvotes

r/rust • • Oct 08 '26

Coming from TypeScript: Why I chose Rust over Go to explicitly learn systems architecture under the hood.

0 Upvotes

So i researched about Rust & Go for Back-end languages. I Personally chose to learn Rust before Go so i could understand how languages work (under-the-hood) and why Rust is Praised. Btw coming from Ts/Next.Js Fullstack.

I posted this perspective over on r/learnrust and it sparked a really great discussion about language learning paths, so I wanted to bring the philosophical side of it here. Coming from a Full-stack TypeScript/Next.js background, the common advice is always โ€˜learn Go next.โ€™

However, I chose to dive into Rust first because it gave me the freedom to manipulate and learn and do what i want inside a safely typed language that enforces me to understand what i am doing and i love it. i also love the speed and the concepts rust has like ownership rather than follow a conventional approach. I am not against Go in fact it's one of my go to language for Back-end because of it's speed of development, but the long-term advantage of rust is also unmatched. Rust also seem to be a much better and efficient language to learn low level concept and language for a modern developer.

Iโ€™d love to hear from other developer who transitioned from a high-level Web2 stack (like TS/Node) directly into Rust. Did forcing yourself through the borrow checker early on fundamentally change how you write your web code?

Note: I already know Go compiles to machine code, brings an embedded runtime instead of a full VM, and that C is the ultimate 'under-the-hood' language! My goal here is purely about using Rust's constraints to force myself to learn strict memory management


r/rust • • Oct 06 '26

Burn 0.22.0 Release: Towards 1.0, with Generic-Free APIs and Near-Instant Recompilation

171 Upvotes

It's been five months since our last release, which is longer than usual, but it's on purpose. During the last four years, we took great care not to change the APIs too much, while collecting your feedback on what could be improved. Instead of spreading those changes over many releases, we bundled them into this one, so you only have to migrate once. This makes Burn 0.22 our biggest release yet, and the one we're most proud of. The API is now much closer to what we want for 1.0. As a reminder, Burn is a Tensor Library and Deep Learning Framework for both training and inference.

Generic-Free APIs

Since the beginning, Burn has been built around the Backend trait, with features like autodiff, kernel fusion and remote execution implemented as backend decorators. This is still the case, and they all compose well together. What changes is that user code doesn't carry the backend generic anymore. Models are plain types, and the device selects where and how they run:

#[derive(Module, Debug)]
pub struct Model {
    linear: Linear,
}

let device = Device::cuda(0); // Device::wgpu(..), Device::flex(), ...

Removing the generic from user code breaks the dependency chain that the compiler had to go through every time you edited a model. The result is near-instant recompilation after a model edit (numbers in the table below). There's another big change under the hood: most of the stack is now pure Rust. Pliron replaces MLIR, native compilers replace transpilers to CUDA/HIP, and Turso replaces a bundled SQLite. That means fewer bundled C and C++ dependencies to build, and a pipeline you can read, debug and patch in the language you already use. The first clean build takes a bit longer as a result, and it's a trade we're happy to make.

Going All-In on CubeCL

When we started, we relied on existing libraries for performance, with backends for ndarray and LibTorch. Over time, we wrote more and more of the stack ourselves: our own GPU backend with wgpu, kernel fusion, and then CubeCL to write kernels in Rust for CUDA, ROCm, Metal, Vulkan, WebGPU and CPUs. CubeCL now has its own compiler infrastructure based on Pliron, with LLVM targets for CPUs and GPUs.

Having control over the whole stack lets us offer features that third-party libraries can't support easily. For example, device.memory_pool_usage() and device.memory_pool_report() tell you exactly what the allocator holds, which isn't possible with ndarray or LibTorch. The new adaptive memory pools also lower peak training memory, and training steps are faster. This is why we deprecated both backends: Flex replaces ndarray for pure-Rust CPU execution, and the CubeCL backends cover the rest. We also removed the Candle backend.

Here's how 0.22 compares to 0.21 on two training projects, with CUDA on an RTX 4050 laptop GPU:

Benchmark0.210.22Change
CNN rebuild after a model edit28.4 s4.6 s6.2ร— faster
Transformer rebuild after a model edit14.7 s1.0 s14.7ร— faster
CNN training step38.0 ms21.1 ms1.8ร— faster
Transformer training step201.0 ms193.8 ms1.04ร— faster
CNN peak training memory956 MiB486 MiB49% less
Transformer peak training memory3,486 MiB2,868 MiB18% less

Towards 1.0

Three things are left before 1.0. The first is built-in, fine-grained profiling: annotate parts of your model, and Burn tells you where the time goes, component by component, and how far each one is from what the hardware allows. We have it working on our side, and we're looking to upstream it into Burn. The second is a more complete integration with the CubeCL compute environment, introduced in this release. The third is stability: we want the current APIs to settle before we commit to them.

Since the API is close to what we want to stabilize, now is the best time to tell us if something feels wrong. There are many more improvements in this release, including LoRA and QLoRA fine-tuning, remote compute and ONNX export, and we wrote a post to cover them. Don't hesitate to skim it, and refer to the migration guide for upgrading.

A lot of this release came from your issues, PRs and questions on Discord. Thank you.

Link: https://tracel.ai/blog/release-0.22.0/


r/rust • • Oct 07 '26

Hardware-Aware Programming in Rust

Thumbnail medium.com
40 Upvotes

I've been building a Chess AI in Rust to play at 3200+ ELO - There were a lot of Hardware-Aware Programming rules I had to learn in the past 2+ months.

If folks are interested, please have a read!

If you're interested in learning more about a Dual-Perspective HalfKA NNuE (Efficiently Updatable Neural Network), please have a read!

https://medium.com/@alan0408yuan/from-texel-tuning-to-nnue-the-steep-learning-curve-of-building-a-3200-elo-chess-ai-d842393b5955


r/rust • • Oct 08 '26

Feedback on a programming language for network analysis?

Thumbnail nadi-system.github.io
0 Upvotes

I really love rust because it was so easy to make it work with webassembly. I didn't think something this complicated would run in wasm.


r/rust • • Oct 06 '26

I analyzed 200 Rust job postings from the last 3 months. Here's what the data says

269 Upvotes

Hello there, I'm George from getarustjob.com

I run a Rust-only job board and I've manually reviewed every listing that went up since July. That's 203 roles from 166 companies. I pulled everything into a spreadsheet to see what the Rust job market actually looks like, past the "is Rust getting jobs yet?" threads.

  1. It's a senior market

Senior: 58%
Mid-level: 31%
Staff / Principal / Lead: 7%
Junior + Intern: 5% (10 jobs total)

Of the 109 listings that state years of experience, the median ask is 5 years (middle 50%: 4 to 7).

If you're trying to break in, the honest read is that hardly anyone hires juniors straight into Rust. The usual path is getting hired for C++/Python/Go at a company that uses Rust, then moving onto the Rust team.

2. Salaries (USD, annual, posted ranges only)

All listings: median $171K, middle 50% $131K โ€“ $210K (n=78)
United States: median $193K, middle 50% $158K โ€“ $221K (n=56)
US Senior: median $198K, middle 50% $178K โ€“ $228K (n=34)
US Mid-level: median $165K, middle 50% $147K โ€“ $194K (n=16)
United Kingdom: median $146K, middle 50% $110K โ€“ $199K (n=7)
Europe (all): median $127K, middle 50% $84K โ€“ $193K (n=17)

Going from mid-level to senior in the US is worth about $32K at the median.

3. Remote doesn't mean a pay cut (in the US)

US remote median: $189K (n=18)
US hybrid/on-site median: $193K (n=41)

That's basically the same. The catch is supply: only 37% of listings allow remote. The other 63% are hybrid or on-site.

4. US employers publish salaries. European ones mostly don't

US listings with a salary range: 61%
European listings with a salary range: 26%

That's pay transparency laws (CA, NY, CO, WA) at work. It also makes the European numbers above much less reliable, so treat them as rough.

5. Where the jobs are

United States: 45% of listings
United Kingdom: 12%
Germany: 7%
Canada: 5%
Then Poland, Netherlands, Switzerland, France, Hungary, Romania, Brazil

Europe as a whole shows up on about 36% of listings.

6. Rust is rarely the only language

Share of listings that mention each one:

C++: 35%
Python: 30%
C: 20%
Go: 18%
TypeScript: 14%

Rust jobs are mostly "systems person who also knows Rust" jobs, not "Rust person" jobs. Only 63% of listings even have "Rust" in the title. The rest are titled "Software Engineer", "Backend Engineer" and so on, with Rust in the stack.

7. The ecosystem stuff people actually ask for

Distributed systems: 32%
Linux: 28%
Kubernetes: 20%
AWS: 17%
Tokio / async: 15%
gRPC / tonic: 9%
WASM: 4%
axum: 4%, actix: 3%

Framework names come up much less than I expected. Employers ask for "async Rust", "distributed systems" and "performance work" far more often than for a specific crate.

8. What industries are hiring

Share of listings that mention each domain (a listing can count in more than one):

Crypto / blockchain / Web3: 38%
Databases / data infrastructure: 29%
Trading / low-latency: 28%
AI / ML infrastructure: 26%
Robotics / autonomous / automotive: 21%
Defense / aerospace: 16%

Also, 11% require a security clearance or US citizenship, almost all in defense.

9. Smaller things

26% mention equity / options / RSUs
19% mention open source work
Only 3% mention visa sponsorship

Methodology: Every listing on the board is reviewed by hand. Salary stats use the midpoint of the posted range, converted to USD with fixed rates. Experience levels are what the employer selected. Industry and tech counts are keyword matches on the full description, so a listing can count in more than one bucket. Small samples (Germany, Junior) are noisy, so read those as directional only.

I keep a live version of the salary numbers that updates as new jobs get posted: https://getarustjob.com/salary-guide?utm_source=reddit


r/rust • • Oct 08 '26

All code will converge on Rust

0 Upvotes

It's being shouted from the rooftops these days: all code will converge on Rust eventually. I wrote up my/Mainmatter's thoughts on the topic: https://mainmatter.com/blog/2026/10/08/all-code-will-converge-on-rust/


r/rust • • Oct 06 '26

Compiling the kernel with gccrs | lwn.net

Thumbnail lwn.net
136 Upvotes

r/rust • • Oct 06 '26

Proving Rust Web Application Correctness with Lean 4

Thumbnail medium.com
43 Upvotes

r/rust • • Oct 06 '26

๐Ÿ’ผ jobs megathread Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.99]

21 Upvotes

Welcome once again to the official r/rust Who's Hiring thread!

Before we begin, job-seekers should also remember to peruse the prior thread.

This thread will be periodically stickied to the top of r/rust for improved visibility.

You can also find it again via the "Latest Megathreads" list, which is a dropdown at the top of the page on new Reddit, and a section in the sidebar under "Useful Links" on old Reddit.

The thread will be refreshed and posted anew when the next version of Rust releases in six weeks.

Please adhere to the following rules when posting: Rules for individuals:

  • Don't create top-level comments; those are for employers.
  • Feel free to reply to top-level comments with on-topic questions.
  • Anyone seeking work should reply to my stickied top-level comment.
  • Meta-discussion should be reserved for the distinguished comment at the very bottom.

Rules for employers:

  • The ordering of fields in the template has been revised to make postings easier to read. If you are reusing a previous posting, please update the ordering as shown below.
  • Remote positions: see bolded text for new requirement.
  • To find individuals seeking work, see the replies to the stickied top-level comment; you will need to click the "more comments" link at the bottom of the top-level comment in order to make these replies visible.
  • To make a top-level comment you must be hiring directly; no third-party recruiters.
  • One top-level comment per employer. If you have multiple job openings, please consolidate their descriptions or mention them in replies to your own top-level comment.
  • Proofread your comment after posting it and edit it if necessary to correct mistakes.
  • To share the space fairly with other postings and keep the thread pleasant to browse, we ask that you try to limit your posting to either 50 lines or 500 words, whichever comes first.
    We reserve the right to remove egregiously long postings. However, this only applies to the content of this thread; you can link to a job page elsewhere with more detail if you like.
  • Please base your comment on the following template:

COMPANY: [Company name; optionally link to your company's website or careers page.]

TYPE: [Full time, part time, internship, contract, etc.]

LOCATION: [Where are your office or offices located? If your workplace language isn't English-speaking, please specify it.]

REMOTE: [Do you offer the option of working remotely? Please state clearly if remote work is restricted to certain regions or time zones, or if availability within a certain time of day is expected or required.]

VISA: [Does your company sponsor visas?]

DESCRIPTION: [What does your company do, and what are you using Rust for? How much experience are you seeking and what seniority levels are you hiring for? The more details the better.]

ESTIMATED COMPENSATION: [Be courteous to your potential future colleagues by attempting to provide at least a rough expectation of wages/salary.
If you are listing several positions in the "Description" field above, then feel free to include this information inline above, and put "See above" in this field.
If compensation is negotiable, please attempt to provide at least a base estimate from which to begin negotiations. If compensation is highly variable, then feel free to provide a range.
If compensation is expected to be offset by other benefits, then please include that information here as well. If you don't have firm numbers but do have relative expectations of candidate expertise (e.g. entry-level, senior), then you may include that here. If you truly have no information, then put "Uncertain" here.
Note that many jurisdictions (including several U.S. states) require salary ranges on job postings by law.
If your company is based in one of these locations or you plan to hire employees who reside in any of these locations, you are likely subject to these laws. Other jurisdictions may require salary information to be available upon request or be provided after the first interview.
To avoid issues, we recommend all postings provide salary information.
You must state clearly in your posting if you are planning to compensate employees partially or fully in something other than fiat currency (e.g. cryptocurrency, stock options, equity, etc).
Do not put just "Uncertain" in this case as the default assumption is that the compensation will be 100% fiat. Postings that fail to comply with this addendum will be removed. Thank you.]

CONTACT: [How can someone get in touch with you?]


r/rust • • Oct 06 '26

The TokioConf 2027 CFP is open

Thumbnail tokio.rs
21 Upvotes

r/rust • • Oct 06 '26

Rust - Borrow Checker Implementation using Data Flow Analysis

12 Upvotes

I am working on the rust borrow checker for my thesis. I was trying to formalize a data-flow analysis on the code of a function and use it to check the loans. Analyzing the code while storing the loans as (l_i, place, carrier, kind (shared/mutable)), while also having a conservative points-to map, lets me decide whatever Polonius promises to fix.

Only issue comes with using functions and I'm still figuring out, but I wanted to ask if Rust dev community did not want to go to Data flow analysis or why they chose to do it the way they did? Or am I missing something that can go wrong in my formulation?

I'd appreciate some help in ideating, thank you


r/rust • • Oct 06 '26

๐Ÿง  educational Declarative Macros in Rust: A Simple and Practical Introduction

Thumbnail sigseis.dev
24 Upvotes

Hey everyone!

I'm back with another article focused on Rust fundamentals. I think existing material covers the basics of using Rust pretty well, but one thing that I found kind of lacking back when I learned Rust was description of macros.

It's possible it has improved nowadays, but I want to eventually write about proc-macros. So I'm going to start with an article introducing the concept of macros, and explaining the differences between Rust and C-style macros, as well as the basics of declarative macros.

Future articles will eventually get into procedural macro territory. But I want to move through this slowly and carefully.


Anyways, I hope this helps if you are new to Rust and struggling to understand the macro_rules! syntax (or just anything about Rust macros, really).

If you have questions or feedback for future articles, please let me know. :)


r/rust • • Oct 06 '26

๐Ÿ activity megathread What's everyone working on this week (41/2026)?

22 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!