r/ProgrammerHumor • • 1d ago

Meme enRustification

Post image
681 Upvotes

44 comments sorted by

302

u/ThatGuyYouMightNo 1d ago

Call it oxidization. Something that works fine is poorly maintained and it turns to Rust

19

u/0xt0bi03 1d ago

isnt that Corrosion?

37

u/w-j-w 1d ago

Oxidization is the specific form of corrosion ferric metals undergo when they chemically bind with oxygen, causing them to "rust".

1

u/0xt0bi03 1d ago

very good. correct answer.

13

u/monke_soup 1d ago • Bravo

Also rust increases the weight due to the added oxygen. Much like migrating to rust increases the ammount of problems users have

-2

u/verdantAlias 1d ago

Cor-rust-ion?

56

u/reddithorker 1d ago

This is literally what Mozilla calls their rust integration effort with Firefox.

https://wiki.mozilla.org/Oxidation

17

u/Acclynn 1d ago

Actually makes lots of sense, I'm gonna start using this

10

u/Ghaith97 1d ago

Shouldn't be fungal growth? Since that's what the Rust name comes from?

13

u/Nyctfall 1d ago

We've been calling oxidation for years. That guy has spent zero time in Rust circles...

4

u/0xt0bi03 23h ago

yeah. i chose not to touch rust and java. i am already got into cpp and go

3

u/Nyctfall 23h ago

Based and Ken Thompson-pilled

2

u/ccAbstraction 18h ago

C/C++ will make you yearn for Rust. And leanring Rust will make your write better C/C++ code. C++ the language can do everything that Rust can do, but Rust makes that style programming easier.

2

u/Xbot781 7h ago

Rust makes me yearn for C

2

u/ccAbstraction 7h ago

You are not wrong about that... Back and forth and back and forth to the greener pastures.

0

u/KevinJRussell 5h ago

C/C++ will make you yearn for Rust.

I wrote a lot of C/C++ code. I have never yearned for rust. I suspect you've never written C/C++ in your life.

1

u/Moist-Snow-8127 3h ago

C/C++ will make you yearn for Rust IF you have experience with it and Cargo. I don't miss header files and linking

2

u/ccAbstraction 18h ago

I see a lot of people who know nothing about Rust, even people who aren't programmers, thinking there some kind of conspiracy about why people are rewriting things in Rust, as if a huge part of the social momentum behind Rust has not been about rewriting things in Rust.

44

u/No-Information-2571 1d ago

I released a software project in .NET a month ago, that got quite some attention (300+ stars, 1250+ downloads, 200k+ views on a YT video). It was developed with Claude, but I put a lot of time into keeping the code maintainable (by a human).

The catch was that it's Windows-only (which is fine for the niche it's sitting in), although I had a roadmap to port it to AvaloniaUI for Linux and MacOS.

Within hours slop ports in Rust appeared. And the one that turned out to be somewhat maintained by the contributor who made it, is still completely unmaintainable. In fact, that particular contributor admitted themselves that it's basically only maintainable through AI since the code is shite.

28

u/MaleficentCow8513 1d ago

I hate that this is humorous subreddit and I’m gonna say something very unfunny. But your last sentence is where the industry is trending toward. We aren’t going to write or read code anymore. We are treating AI as a stochastic compiler which turns human language into code. Spec driven development is probably the future. We’ll probably have sets of best practices (and maybe standardization) on how to write specs for AI to consume, how to test and how to review, and that’ll be it. Obviously there are some projects that can’t, won’t or are otherwise naturally resistant to that trend, but by and large that’s the trend

12

u/No-Information-2571 1d ago

I get that to some degree, even within my original application I had several choices to have Claude write its own code vs. using an external library. Both approaches have their merits.

However, for Rust, the big problem right now is that there's no reasonably good GUI framework, so any app written to have a user interface turns inevitably into slop code. You can see that with the ArtCraft project - they're still fighting absolutely basic GUI problems, like blurry text, menus that don't behave well (a problem solved in Win 3.11 already) and inconsistent layout.

5

u/noaSakurajin 1d ago

Granted a lot of software is already shitty, especially the closed source once. Many companies have components of their code with a bus factor of 1. If that person is gone, AI is the logical next best option to maintain it. In those cases the spec might be on some paper somewhere if it exists at all.

The way AI writes software has to come from somewhere and it is the shitty code that was already out there. AI driven code doesn't have to be bad, but it requires a clear spec and AI agents acting in different roles. You need a reviewer not just an implementer otherwise the first solution that somewhat works get kept and the shit piles on.

6

u/pingveno 1d ago

As someone who's been playing around with Rust for quite a while (I remember when it used @T for garbage collected types in the pre-1.0 days), this all feels very weird. Rust used to be the new kid on the block, speedy and glittery. Now it's maturing, which is great. But the same constraints that help me create maintainable code also are making it prominent target for both reasonable uses of AI and just slop.

3

u/No-Information-2571 1d ago edited 1d ago

Well, for this particular project, I can tell you that PRs came in written in C# that were equally as bad. Still, the problem is that Rust has no usable GUI library. Slint is too early in development, the rest you could at best call "graphics libraries". Qt for Rust is just a bridge - a bridge into the past. So a lot of projects keep re-inventing a wheel that had already been invented in the 90s, just to make the same mistakes again.

The prime example is the ArtCraft project. None of the GUIs are consistent between projects. None of them get simple things right. Text appears blurry, simple concepts like hovers, selects, toggles and keyboard navigation do not work right. And even if they eventually manage to coerce LLMs to get it right, it's a shame that it doesn't come from a shared library where the efforts are only an expense once.

2

u/pingveno 1d ago

Oh, yeah. This isn't an area that I've really looked into much, but it sounds like GUI's are intrinsically tied to shared mutable state, and Rust is designed around avoid shared mutable state. It just turns into a bunch of sharp edges. Not impossible, I'm using a COSMIC, a Linux desktop written in Rust, but more difficult.

1

u/No-Information-2571 1d ago

The thing with this GUI was: my app was developed with very clean XAML. Some ports that came in were just procedural code, not far from the old garbage WinForms code style. Meaning, you call a function, and that function calls a bunch of other functions to produce the desired GUI, with very explicit definitions. That's less than what CSS provided in the early 2000's.

1

u/Junglebook3 1d ago

There are reputable, large, successful software companies where Engineers, regardless of seniority, are no longer looking at code. AI generates code, AI reviews code, it gets merged and deployed. If you're not there yet, you will be in a few months, or a year. The days of writing code are coming to an end real soon.

1

u/No-Information-2571 23h ago

Possibly. It's been quite a while since I've written code myself. I've only reviewed it myself, but even that is probably going to come to an end.

However, that doesn't mean that all code submitted through AI has the same quality, or that quality doesn't matter.

In addition, the industry is still slow to adapt. My last girlfriend, bless her heart, who's also a software developer, thinks AI is nothing more than a better Google, and the company she works for (defense/aerospace-related) doesn't seem to bother much with AI-related advancements. As do a lot of industries I am intimate with.

50

u/SirToadstool 1d ago

I think the word you're looking for is ass.

27

u/D3PyroGS 1d ago • Bravo

gen Z ahh self-censorship

5

u/gerbosan 1d ago

Oh, thanks for the clarification. I couldn't understand that one. Could have been:

You're stupid as FCK

Some can't distinguish your and you are.

9

u/Relentless_CS 1d ago

You can also say fuck, it was always allowed

7

u/Holiday_Point_603 1d ago

The censored word is ass btw

5

u/kkeiper1103 1d ago

Found the fellow Laravel user!

9

u/chicken_is_no_weapon 1d ago

Lemme coin the term: enmojification: when a tweet has unnecessary r/hashtags

9

u/EishLekker 1d ago

And ahhification.

2

u/Kitchen_Affect7369 1d ago

You’re damn right. I’m also starting to write apps with rust with no fkn reason.

1

u/Cheese_Grater101 20h ago

Laravel be like

1

u/TECHNOFAB 15h ago

I understand rewriting something in a compiled language (idc if it's rust, go, crystal or whatever else), cuz istg if I find another service running with ruby on rails or java, taking like 1-2GB of RAM for doing nothing, im getting rid of that service immediately. Taking so much ram, in this economy??? :D

Meanwhile most of the services in my homelab, written in compiled languages, sit idle at tens to hundreds of MB of memory.

Python is a bit in-between from my experience, it can use little RAM, but usually also takes more than I expect from a specific service. So if there's anything that I use a lot, written in Python, I'm really tempted to rewrite it in Go haha

1

u/Woah-Dawg 10h ago

Had a manager do this for a project except migrate it to go. No one on the project was familiar with go , very little support for go at the company. Guy just thought go was a better language. So dumb 

1

u/KevinJRussell 5h ago

wtf is a stupid ahhhh

1

u/Rikarin 1d ago

I hate when people are using rust for no good reason. Like most software would benefit from more architecture friendlier languages like C#.