890
Rust (programming.dev)
top 50 comments
sorted by: hot top controversial new old
[-] Zangoose@lemmy.world 275 points 4 days ago

The irony of this meme being posted from a platform written in rust is pretty great ngl

[-] rbn@sopuli.xyz 116 points 4 days ago

A platform that is doing a great job so far but which (unfortunately) isn't as relevant yet to call it a pillar of modern infrastructure. ;)

[-] RogueBanana@piefed.zip 107 points 4 days ago

It certainly is a pillar of my mental stability.

[-] JackbyDev@programming.dev 34 points 4 days ago

💜 happy to know we're making it better.

[-] FundMECFSResearch@lemmy.cafe 13 points 4 days ago

Ah, me a pillar of my insanity.

[-] Pro@programming.dev 15 points 4 days ago

Piefed is not written in Rust.

[-] Auth@lemmy.world 7 points 3 days ago
[-] WhyJiffie@sh.itjust.works 4 points 3 days ago

evil maniac laughter

load more comments (2 replies)
[-] lunarul@lemmy.world 135 points 4 days ago

I like how this takes familiarity with the original xkcd comic as a given.

[-] MidsizedSedan@lemmy.world 1 points 1 day ago

I think half of Lemmy knows most of XKCD

[-] SandmanXC@lemmy.world 124 points 4 days ago

Knowledge of the sacred texts is required for enlightenment.

[-] MonkderVierte@lemmy.zip 32 points 4 days ago

If not, you're one of the lucky 10000.

[-] Tja@programming.dev 12 points 4 days ago

The comic is now a mainstream meme, isn't it?

[-] LordKitsuna@lemmy.world 112 points 4 days ago

I get the joke, but rust is actually pretty heavily used in the backend of services theae days. Cloudflare, Amazon, Dropbox, just to randomly name a few off the top my head. Have pretty heavily invested it into their back ends for more reliable service.

[-] CatLikeLemming@lemmy.blahaj.zone 45 points 4 days ago

Over the last one or two years I feel like Rust haters have gotten even louder than the Rust evangelists. For every person who declares "Rewrite it in Rust!" I see two or three people saying how they hate Rust or how pointless it is and so on.

[-] iglou@programming.dev 35 points 4 days ago

I am convinced Rust haters are simply refusing to learn something new, consciously or not.

load more comments (1 replies)
[-] sukhmel@programming.dev 17 points 4 days ago

Yeah, this whole meme just looks like ‘I hate Rust and don't want it anywhere’

Of course, there is importance in trying it everywhere, because it shows where the language and ecosystem lacks and can evolve; but beside that, I think adoption by big companies wouldn't happen if it wasn't any good as some want to believe

[-] Zangoose@lemmy.world 43 points 4 days ago

The Lemmy backend is also written in rust

[-] vga@sopuli.xyz 61 points 4 days ago* (last edited 4 days ago)

Rust is fearlessly upholding the whole thing even without touching it. Incredible!

[-] killingspark@feddit.org 30 points 4 days ago

Gotta keep a distance to that dirty unsafe code!

[-] Simulation6@sopuli.xyz 47 points 4 days ago

Rust is actually awesome in many ways. No always the right solution, but nice to have in your toolbox.

[-] Croquette@sh.itjust.works 19 points 4 days ago

Where would you say Rust isn't the right solution?

We always hear how great Rust is, but I'd be curious to know where it isn't.

[-] tyo_ukko@sopuli.xyz 3 points 2 days ago

We always hear how great Rust is, but I’d be curious to know where it isn’t.

  • In any project that's sufficiently advanced and written in any other language. You don't simply do a rewrite of 100k+ LOC just because you want to use Rust.

  • Somewhere where you'd rather use a scripting language like Python. I.e., rapid prototyping or gluing together some infra components.

  • A situation where your team's expertise is in some other language.

  • A situation where a library/framework is native/only available for a certain language.

Few of these are strictly technical requirements. It's obvious that you can use almost any language to do almost anything, including Rust, if that's what you prefer. However, the context matters in the real world.

All this being said, I wish I had a chance to write Rust professionally. It's a neat language.

[-] Croquette@sh.itjust.works 2 points 1 day ago

Lots of your point apply to any language it seems. I should have specified new projects I guess.

But the points you've made are good nonetheless

[-] AnonBD@techhub.social 1 points 2 days ago
[-] rumba@lemmy.zip 25 points 4 days ago

Rust provides safety and protection.

Rust isn't as rapid as other options, has less library support, and porting existing code is relatively difficult.

IMO because of the workarounds you need to do to handle the memory safety, you end up with a lot more hard to solve bugs than you do with conventional languages. It should be noted however that the bugs don't end up being security vulnerabilities like they do in conventional systems.

If you have something that needs to be structurally sound and/or you have enough talented people willing to work on it, it's a great option. If it needs to be fast and cheap and you don't have a gaggle of rust developers on hand and it's already written in another language, it might not be the best solution.

load more comments (7 replies)
[-] brucethemoose@lemmy.world 15 points 4 days ago* (last edited 4 days ago)

I great example I saw is a dev who was building on a Rust game (with the Bevy engine), and switched to Unity.

https://deadmoney.gg/news/articles/migrating-away-from-rust

Collaboration - I started this project with my brother. While he's sharp and eager, he's new to coding. Onboarding him directly into game dev while simultaneously navigating Rust's unique aspects proved challenging. We found ourselves with a steeper learning curve that slowed his ability to contribute effectively to gameplay logic.

Abstraction - While my initial motivation was the enjoyment of Rust, the project's bottleneck increasingly became the rapid iteration of higher-level gameplay mechanics. As the codebase grew, we found that translating gameplay ideas into code was less direct than we hoped. Rust's (powerful) low-level focus didn't always lend itself to a flexible high-level scripting style needed for rapid prototyping within our specific gameplay architecture. I found that my motivation to build and ship fun gameplay was stronger than my desire to build with Rust.

Migration - Bevy is young and changes quickly. Each update brought with it incredible features, but also a substantial amount of API thrash. As the project grew in size, the burden of update migration also grew. Minor regressions were common in core Bevy systems (such as sprite rendering), and these led to moments of significant friction and unexpected debugging effort. This came to a head on one specific day where I was frustrated with a sprite rendering issue that had emerged in a new release. Blake had run into the same problem at the same time and our shared frustration boiled over into a kind of table flip moment. He turned to me and said something along the lines of "this shouldn't happen, this kind of thing should just be solved" and that triggered the conversation that led to a re-evaluation. The point isn't that specific sprite problem, but that because all systems in Bevy are open to tinkering and improvement, all systems were potentially subject to regressions.

Learning - Over the past year my workflow has changed immensely, and I regularly use AI to learn new technologies, discuss methods and techniques, review code, etc. The maturity and vast amount of stable historical data for C# and the Unity API mean that tools like Gemini consistently provide highly relevant guidance. While Bevy and Rust evolve rapidly - which is exciting and motivating - the pace means AI knowledge lags behind, reducing the efficiency gains I have come to expect from AI assisted development. This could change with the introduction of more modern tool-enabled models, but I found it to be a distraction and an unexpected additional cost.

Modding - Modding means a lot to me. I got my start in the industry as a modder and I want my game to be highly moddable. Over time, as I learned more about how to realize this goal, I came to understand many inherent limitations in Rust and Bevy that would make the task more difficult. Lack of a clear solution to scripting and an unstable ABI (application binary interface) raised concerns. I am not an expert in this area, perhaps these are all easily surmounted. I can only say that I did not find a path (after much searching) that I felt confident trusting.

It sounds like Rust (game engines, and more) could use a higher level scripting language, or integrate an existing one, I guess.

[-] Croquette@sh.itjust.works 8 points 4 days ago

I interface with low level communication protocols, mostly uart, so it fits my use case. But it is nice to see the hurdles people encounters. It tells a lot about the language.

load more comments (1 replies)
load more comments (3 replies)
load more comments (6 replies)
[-] exocortex@discuss.tchncs.de 38 points 4 days ago

I get the meme (though why was this single unstable point - imagemagick in the original xkcd - removed? To make the left side seem more stable clmpared to the original idea?), it might be trueish atm. But with rust I feel that a lot of projects that are rewritten in rust are quicker arriving at a "finished" (or almost finished) state where they are more or less just tools being used without much discussion anymore. I guess a lot of commonly used tools already use Rust in some way, but i rarely is an issue which makes this discussion-worthy or generates enough conflict in order to raise awareness outside.

I have a hunch that open-source rust-devopment is less of a hassle as a lot of discussion about code or the quality therof is simply avoided by a stricter compiler. If the code committed compiles with rustc there's less possibility of it breaking other things in the codebase or containing hidden dangers that need to be discussed. Overall less friction, less overhead and distruction from the actual coding.

[-] _stranger_@lemmy.world 22 points 4 days ago

Old programs everyone agrees do exactly what they should are a perfect target for "black box" porting to a new language, where the only criteria for success are "it should function exactly like before, just more efficiently, while being more maintainable"

[-] 9point6@lemmy.world 34 points 4 days ago

Hey now, about 1% of the Linux kernel is Rust now!

load more comments (10 replies)

I'm working with some Rust right now that is 100% a big mess..

It's consistently either the Rust or the Docker components that fail to build. In fairness, it's a VERY big and complex application.

load more comments (8 replies)
[-] hperrin@lemmy.ca 21 points 4 days ago

Give it time. Once Fortran was king.

[-] Ephera@lemmy.ml 12 points 4 days ago

Yeah, in particular, you can write libraries in Rust, which can be used in virtually any other programming language, similar to how you can do in C and C++. And given that not a ton of young kids learn C/C++, there's a chance that the majority of important cross-language libraries (like OpenSSL, SQLite etc.) are written in Rust in a decade or two.

load more comments (1 replies)
[-] SaharaMaleikuhm@feddit.org 15 points 4 days ago

Still waiting on that rust-based Nvidia driver. I assume it will take a few years tho.

[-] magic_lobster_party@fedia.io 17 points 4 days ago

Haskell is somewhere far away off screen

load more comments (2 replies)
[-] CanadaPlus@lemmy.sdf.org 10 points 4 days ago* (last edited 4 days ago)

Yes, but with 0 blocks already, it only needs 62 more for total domination!

[-] okamiueru@lemmy.world 10 points 4 days ago

Considering that FFI is very much a thing, I'm finding it difficulty to understand the point it's trying to make.

load more comments
view more: next ›
this post was submitted on 10 Aug 2025
890 points (95.3% liked)

Programmer Humor

25699 readers
2453 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS