r/rust • • May 28 '26

🛠️ project Yazi terminal file manager now supports drag and drop

1.8k Upvotes

Quite a few people have been asking me for this, now it's here!

Any feedback is greatly appreciated - see https://github.com/sxyazi/yazi/pull/4005 for more info!


r/rust • • Apr 13 '22

rust-analyzer is now official, GitHub repo moved to rust-lang

Thumbnail
github.com
1.7k Upvotes

r/rust • • Sep 19 '26 Bravo

📢 announcement No More Code Dumps

1.7k Upvotes

TL;DR

Code Dumps, ie links to code repositories, are no longer welcome on r/rust.

If you are excited about a project you built, and just wish to share it, consider posting a casual top-level comment in the weekly What's Everyone Working on this Week? thread.

History

When r/rust was created, in December 2010, Rust was a nascent programming language. It was very different, it was also fast-moving, and it was unclear whether it would amount to much, or not.

In these early days, new projects being written in Rust were both a proof that the language was suitable for a variety of purposes, and a cause for celebration in seeing the language being adopted. Code dumps, then, were both cause to rejoice, and an opportunity to see how well (or not) the language was suited to the task. They were even a good opportunity to learn the latest developing idioms of this fast-changing language.

Fast forward 15 years, and code dumps have become boring. Utterly uninteresting. There's nothing exciting, or newsworthy, about a 10th hypervisor project, a 100th webserver project, or a 1000th TUI project. And for the most there's no exciting idiom, or pattern, to be found in their code either... even if some poor soul bothered to look.

And mass AI generation appeared on the scene, and for the past year(s), the already dwindling appeal of code dumps has just completely vanished, buried in AI slop.

Purpose

r/rust is to discuss all things Rust. The language, the ecosystem, the community.

Of late, most code dumps barely foster any discussion. And when they do, apart from AI witch hunts, those discussions are mostly about the domain of the project, rather than about Rust. Depending on the domain, the discussion may or may not be of interest to r/rust users... but whether it is or not is a matter of chance: they did not come here seeking such a topic. Those discussions are tolerated on posts which are on-topic, but if a post only fosters "tolerated" discussions, then that is a sign that the post itself may simply not really be on-topic for r/rust.

And that is not to say that code dumps are, by nature, low-effort. Surely, a project is created for a purpose, to solve a specific problem that is unsolved, or solve it with different trade-offs than the currently available solutions. None of that is elucidated in a code dump.

New rules

Code dumps are no longer welcome on r/rust.

Code dumps of applications or libraries written in Rust are Low-Effort unless otherwise newsworthy. Newsworthy means that the very existence of the application or library is important, for example consider applications or libraries breaking new ground, such as the first hypervisor, first OS, first XXX standard safety-critical application, first Rust application in a major company, etc...

Announcements of new libraries which are not otherwise newsworthy are only welcome if they tick ALL the following boxes:

  • The library has been worked on regularly for at least 4 months.

  • The announcement is a full-fledged text post, or a link to a full-fledged article. A README, or manual, is not an article.

  • The announcement should motivate the relevance of this library to the wider r/rust community.

  • The announcement should articulate the trade-offs differentiating this library from similar popular libraries in the field.

(It goes without saying, but the announcement should NOT be AI-generated, not even in part, as AI-generated posts & articles violate the Low-Effort rule)

Release notes of libraries are still welcome for popular enough libraries, such as libraries with reverse-dependencies on crates.io pointing to sufficient adoption by the wider community to justify notifying said community of a new release.

Developer Tools follow the same rules as libraries, with one extra rule tacked on: they must be relevant to Rust developers in particular. For example, Release Notes of Meson (a build tool) are Off-Topic, unless this specific release improves Rust support.

Of course, text posts, or links to articles, centered on Rust, with an application, library, or developer tool as context are always welcome. For example, said posts or articles could present gnarly problems the author encountered, and how they solved, or which features of the language or a library helped or hindered them in the making of their project.

(It goes without saying, but said text posts & articles should NOT be AI-generated, not even in part, as AI-generated posts & articles violate the Low-Effort rule)

As a reminder, if an author just wishes to share their joy of building something in Rust, they are welcome to use the What's Everyone Working on This Week? thread. And as per the title, it need not even be a complete/mature project, or an open-source project for that matter as links to code are strictly optional there, it's all about casually chatting about your work on Rust projects.

Q & A

See pinned comment below.


Edit 2026/10/04:

  • Added paragraph for developer tools, which had been forgotten.

  • Removed "validation rule" for libraries, didn't work in practice.


r/rust • • Aug 21 '20

Rust Memory Container Cheat-sheet, publish on GitHub

Post image
1.7k Upvotes

r/rust • • Feb 09 '22

Context: HVM Please, keep in mind there is ZERO FUNDING for my projects.

1.6k Upvotes

For these who don't know, I'm the author of Kind and HVM. I've recently seen a criticism from an influent person in the community, who I took as an inspiration, that made me really sad: "the person behind this project tends to build impressive things, but then he suddenly abandons these things, and goes do something else..."

I know it wasn't an ill-intentioned comment, but I see how this can be the overall impression, so I'd like to respond to this openly. This isn't true; we just have no funding! See, this isn't the work of a big company, not even a big team. It is still me doing 80% of the coding. There are some friends helping, but they are mostly working part-time, voluntarily, and still learning this stuff, so it is a limited help. Yet, nothing has been abandoned. We're just limited by our minuscule scale. Formality has just been renamed to Kind, which is still being developed, but I've been too busy with the HVM, which is part of Kind. That's all. There are only so many characters a hacker can type in a day! And I need a break sometimes, too.

I'm not paid, this isn't a for-profit company, I'm just a guy building cool, free tech to push humanity forward. And I love my work! If you do want to see my ideas moving faster, though, consider investing on them. I could do so much more if I had access to a fraction of the next random dog-monkey-nft-coin's funding. But I don't, so, until we figure out a way to fund non-profit, open-source projects like this, there is a limit on how fast they progress. Sorry ¯_(ツ)_/¯

Regardless, HVM and Kind are under active, passionate development, and will keep moving forward, even if a bit slowly!


r/rust • • Feb 04 '20

Why Discord is switching from Go to Rust

Thumbnail
blog.discordapp.com
1.6k Upvotes

r/rust • • Apr 08 '23

[Media] Sacred Painting Found

Post image
1.6k Upvotes

My friend painted this sacred painting for my birthday. This is probably one of the best birthday present I have ever received. Just want to share this amazing painting with my fellow Rustacean.


r/rust • • Mar 24 '22

[Media] I made a website to demonstrate performance difference in fractal rendering with JS, rust-wasm, rust-wasm + SIMDs, rust-wasm + SIMDs + multithreading

1.6k Upvotes

r/rust • • Sep 06 '26

📸 media reminder to cargo clean

Post image
1.6k Upvotes

been adding some unit tests and then ran a clean.

rust said "I live here now"


r/rust • • Jan 21 '23

[media] My mom made this Ferris and I love him

Post image
1.6k Upvotes

r/rust • • Mar 02 '26

🛠️ project kuva: A scientific plotting library for Rust

Post image
1.6k Upvotes

I've been building kuva, a scientific plotting library in Rust, and i'm looking for feedback.

What does it do:

  • 25 plot types: scatter, line, bar, histogram, box, violin, heatmap, Manhattan, volcano, phylogenetic trees, Sankey, chord, UpSet, and more

  • SVG output by default. Zero extra deps if you just want SVG

  • PNG (via resvg) and PDF (via svg2pdf) as optional feature flags

  • Builder pattern API [.with_data(data).with_trendline()...etc] with a prelude::* for ergonomic imports

  • Multi-panel figures with merged cells, shared axes, and shared legends (that is logical and not insane)

  • A kuva CLI binary that reads TSV/CSV files (or stdin) and renders any plot type, including directly to the terminal using ascii, utf-8 (braille ftw!) + ANSI for colour

Why I built it:

I'm a scientist and work in bioinformatics and had an...interesting?... time with some other libraries when used with high performance genome scale tools. I wanted something fast, zero-system-font-dependency!!!!, and useful for publication figures. I really only set out to build a couple of specialised plot types (like the brick plots for short tandem repeats), but got a little carried away.

Note: kuva was initially built by hand (tradcoder core), with a working library and several plot types already in place before AI tooling was introduced. From that point, Claude was used to accelerate adding more plot types, the CLI, and the docs. I have a page about this in the github docs and on the readme, but I like being up front about it.

Here's a quick code snippet:

use kuva::prelude::*;

let data = vec![(1.0_f64, 2.3), (2.1, 4.1), (3.4, 3.2), (4.2, 5.8)];

let plot = ScatterPlot::new() 
        .with_data(data)
        .with_color("steelblue")
        .with_trend_line()
        .with_legend("samples");

let plots = vec![plot.into()];
let layout = Layout::auto_from_plots(&plots)
                .with_title("Quick scatter")
                .with_x_label("X")
                .with_y_label("Y");

std::fs::write("plot.svg", render_to_svg(plots, layout)).unwrap();

Links:

Still early (v0.1.2), so feedback on the API, missing plot types, or anything that seems weird is very welcome.

EDIT: removed some back slashes left over from markdown in code snippet


r/rust • • Nov 03 '22

📢 announcement Announcing Rust 1.65.0

Thumbnail
blog.rust-lang.org
1.5k Upvotes

r/rust • • Mar 28 '24

[Media] Lars Bergstrom (Google Director of Engineering): "Rust teams are twice as productive as teams using C++."

Post image
1.5k Upvotes

r/rust • • Sep 04 '22

Announcing Unreal Rust: A Rust integration for Unreal Engine 5

Thumbnail
maikklein.github.io
1.5k Upvotes

r/rust • • Oct 04 '22

Initial Rust support is now merged into the Linux kernel!

Thumbnail
git.kernel.org
1.5k Upvotes

r/rust • • Jun 05 '23

r/rust should shut down from 12th to 14th June

Thumbnail self.save3rdpartyapps
1.5k Upvotes

r/rust • • Aug 10 '20

Introducing Bevy: a refreshingly simple data-driven game engine and app framework built in Rust

Thumbnail
bevyengine.org
1.5k Upvotes

r/rust • • Sep 24 '25

[Media] Google continues to invest $350k in Rust

Post image
1.5k Upvotes

Hey I just saw a LinkedIn post from Lars Bergstrom about this.

$250k is being donated to the Rust Foundation for ongoing efforts focused on interoperability between Rust and other languages.

$100k is going toward Google Cloud credits for the Rust Crater infrastructure.

He also mentioned they've been using Rust in Android and it's helped with security issues. So I guess that's why.

P/s: Oops, sorry, I am not sure why the image is that blurry. Here is the link.


r/rust • • Sep 21 '21

[Media] My Rust project was featured in one of Europe's biggest computer magazines (heise c't)

Post image
1.5k Upvotes

r/rust • • Oct 24 '22

I built a Zoom clone 100% IN RUST

1.5k Upvotes

I wanted to learn how to do video and audio streaming in RUST so I built it.

Conclusion

It is possible to build such system 😄 and it is damn awesome.

Stack

  1. Server: Actix Web

  2. UI: yew

  3. messaging: protobuf + WebSockets

  4. Video Encoder: vp8 & vp9

  5. Audio Encoder: RAW, ogg

It is licensed under MIT, so feel free to clone + fork it.

Also, PRs are appreciated to make it much better 😄

https://github.com/security-union/rust-zoom

/img/ezrpwmoebrv91.gif


r/rust • • Apr 28 '26

🛠️ project Lightweight ASCII Graph

Post image
1.5k Upvotes

After many weeks of learning, watching tutorials about Rust, and partaking in Rust exercises, I decided to port a small Go library into Rust. I do recognize I have a lot to learn but just getting out of my comfort zone and trying my hands at this has be rewarding and revealing.

Link: https://github.com/neneodonkor/asciigraph-rs

Crates: https://crates.io/crates/asciigraph-rs

PS. Making it work for real-time data was 🥵

Let me add that I only started learning Rust in February, so please forgive me, if everything is not idiomatic Rust.


r/rust • • Dec 29 '25

corroded: so unsafe it should be illegal

1.4k Upvotes

corroded is a library that removes everything Rust tried to protect you from.

It's so unsafe that at this point it should be a federal crime in any court of law.

But it's still blazingly fast 🗣️🦀🔥

Repo is here.

Edit: Helped LLMs, and added license.


r/rust • • Aug 15 '26

📸 media Bonsai just hit a 100,000 downloads on crates.io! 🎉

1.4k Upvotes

A little over 4 years ago I started Bonsai as a side project: a Rust library for building complex, deterministic AI behavior with behavior trees. It has since found its way into a wide range of applications.

The video shows two of them: on the left, a Titanfall 2 gameplay where all the players except the first person view is a NPC (bot) driven by Bonsai behavior trees. On the right, a robot from NASA lunabotics 2026 autonomously digging and dumping regolith in a simulated lunar environment – also powered by Bonsai.

A lot of the library's usefulness today comes from the community. Thanks to everyone who has contributed PRs, filed issues, and pushed it further than I would have on my own.

Repo link in the comments.


r/rust • • Sep 14 '22

Minecraft running on a redstone CPU/GPU implemented in Minecraft, running on a custom Minecraft server (written in Rust) capable of performing redstone calculations 10,000x faster than vanilla Minecraft

Thumbnail
youtube.com
1.4k Upvotes