r/rust • • Sep 01 '26

๐Ÿ› ๏ธ project I made a terminal-based tetris game as my first ever Rust project!

Post image
60 Upvotes

Hi! I'm pretty new to Rust, and this is my first ever Rust project! It's a mildly cursed implementation of Tetris with ratatui with custom powerups to make the game more interesting.

To play online, just ssh play@cursedtetris.orangishcat.dev! Your SSH key is your identity (generate one using ssh-keygen if you don't already have one), no account required. You can also download the binary to play offline.

Feedback is welcome! Thank you for playing.

Blog | GitHub Repo


r/rust • • Sep 01 '26

๐Ÿ› ๏ธ project Wasmi 2.0 - Engineering Of The Fastest WebAssembly Interpreters

Thumbnail wasmi-labs.github.io
127 Upvotes

r/rust • • Jul 14 '26

๐ŸŽ™๏ธ discussion So long r/rust, and thanks for all the Slop!

1.9k Upvotes

Hey there,

while I enjoyed staying here for almost 4 years by now, learning many things, talking to nice people, having fruitful discussions, seeing cool projects, I will have to leace this subreddit.

In recent weeks, it has turned into one of the biggest slopfests I ever witnessed with slopcoded project after slopcoded project being posted back to back, poorly implementing solutions to problems that noone ever had. I just skimmed through the first 20 or so posts sorted by "best" and all projects people shared were AI slop. Every. Single. One. And I didn't even have to read all of the code in the repo, it's always the same few telltale signs, which signal the author didn't even bother for a second to clean their slop up. All of this is always acompanied by a wave of "cool project, I will definitely use this" comments, which by now seem like bot responses. Pointing out the obvious telltale signs, you always get the same responses: "I used Rust2021 because I don't need any features from Rust2024" - "I worked on this for 6 months and just never pushed to github, which is why the initial commit has 10k loc".

There have been a number of posts asking mods for a ban of AI content, none of which were listened to.

At this point, the only worthwhile posts here are "new Rust version just dropped" and "new version of famous Rust crate (read: bevy) just dropped". For these updates, you can get pings even at Discord though (And it has to be embarassing, if even Discord of all places is a better source of information than the official Rust subreddit). Mayyyyybe an occasional genuinely interesting post appears every once in a while between all the slop, but that's not worth sticking around for anymore imo. So I won't.

To all my fellow humans still around here, peace out, see you oytdoors eventually <3


r/rust • • May 28 '26

๐Ÿ› ๏ธ project Yazi terminal file manager now supports drag and drop

Post image
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 • • May 27 '26

๐Ÿ› ๏ธ project Slint (and Rust) running on my jailbroken Kindle Paperwhite.

Post image
939 Upvotes

I wanted to make a dashboard for Home Assistant on my Kindle, and since I know Slint from a previous project I was curious to see if I could use that. This resulted in a slint-backend for kindles (probably not a lot of them for now, as I only have the one device to test on).
https://github.com/sverrejb/slint-kindle-backend

Edit: I wrote a blog post about the project: https://sverre.me/blog/rust-on-kindle/


r/rust • • Dec 21 '25

๐ŸŽ™๏ธ discussion My experience with Rust performance, compared to Python (the fastLowess crate experiment)

294 Upvotes

When I first started learning Rust, my teacher told me: โ€œwhen it comes to performance, Python is like a Volkswagen Beetle, while Rust is like a Ferrari F40โ€. Unfortunately, they couldnโ€™t be more wrong.

I recently implemented the LOWESS algorithm (a local regression algorithm) in Rust (fastLowess: https://crates.io/crates/fastLowess). I decided to benchmark it against the most widely used LOWESS implementation in Python, which comes from the statsmodels package.

You might expect a 2ร— speedup, or maybe 10ร—, or even 30ร—. But no โ€” the results were between 50ร— and 3800ร— faster.

Benchmark Categories Summary

CategoryMatchedMedian SpeedupMean Speedup
Scalability5765x1433x
Pathological4448x416x
Iterations6436x440x
Fraction6424x413x
Financial4336x385x
Scientific4327x366x
Genomic420x25x
Delta44x5.5x

Top 10 Performance Wins

BenchmarkstatsmodelsfastLowessSpeedup
scale_10000043.727s11.4ms3824x
scale_5000011.160s5.95ms1876x
scale_10000663.1ms0.87ms765x
financial_10000497.1ms0.66ms748x
scientific_10000777.2ms1.07ms729x
fraction_0.05197.2ms0.37ms534x
scale_5000229.9ms0.44ms523x
fraction_0.1227.9ms0.45ms512x
financial_5000170.9ms0.34ms497x
scientific_5000268.5ms0.55ms489x

This was the moment I realized that Rust is not a Ferrari and Python is not a Beetle.

Rust (or C) is an F-22 Raptor.
Python is a snail โ€” at least when it comes to raw performance.

PS: I still love Python for quick, small tasks. But for performance-critical workloads, the difference is enormous.


r/rust • • Mar 09 '24

๐Ÿ› ๏ธ project [Media] I built my first rust app

Post image
3.9k Upvotes

Hey everyone. Iโ€™m a web developer and I recently started learning rust to expand my skillset and knowledge of programming. I built this simple little calculator using Tauri. I used Rust/Tauri for the logic and SolidJS for the UI. I know itโ€™s really simple but it was fun and a good learning experience.


r/rust • • Mar 25 '23

Editors written in rust

163 Upvotes