r/rust • • 1d ago

Vibe-coding Rust slop at work is killing my motivation

My team started writing internal tooling in Rust purely because it’s trendy....even though our actual product is in a completely different language.
the worst part is that nobody knows rust... Not the syntax, not Cargo, not the borrow checker. They’re just using LLMs to generate mountains of unreadable code, which it just works fine for that complexity of the tooling.
I started learning rust pre-AI and built a few cli tools with it on my own time.
Now I actively avoid touching it because of this AI slopfest...
Is it only me?

662 Upvotes

266 comments sorted by

533

u/knowyourclass 1d ago • Bravo

welcome to the future

everything will be coded in rust simply because it's the absolute best language if you don't have to pay the developer cost anymore, as AI covers it. it's not because it's "trendy", it's simply a very reasonable choice to make

37

u/Old_Tax4792 1d ago

they literally chose rust to write the tools...because "Rust is fast" and because "photoshop clone is written in Rust".. these are the reasons... they dont know a shit about the language.. so its a "trend"

42

u/FullstackSensei 1d ago

You don't necessarily need good reasoning to reach a valid conclusion. A broken clock is still right twice a day.

Humans have been slopping code long before AI. I'd even argue LLMs learned to slop from humans. At least with rust the language gives you guardrails against many common bug categories.

There's also one thing you mention but I don't know whether you understand it's implications: they're creating tools that didn't exist before, and probably wouldn't exist otherwise. I'd go on a limb here and say: a slop tool is still better than someone doing things by hand. The tool is still testable, and it's execution is repeatable. The same can't be said about anyone doing the same thing by hand.

I understand your frustration, but at the same time try to look at things from a different angle. Would it have made a difference if they had chosen a different language than rust for this?

0

u/Old_Tax4792 1d ago

My definitions of "slopping code" is writing huge of amounts of code, that you don't understand at all.. It is not about the quality of code per se...
And yeah, if they had chose different language, I wouldn't even care...
because I’ve invested so much time learning Rust and I’m still learning it. The whole situation is really turning me off from it and making me feel like I’m wasting my time. I know it’s a mental thing on my end..

29

u/FullstackSensei 23h ago

Why do you even care that it's rust? Did you learn rust to impress those colleagues? Did you learn it to show off? Or did you learn it to become better at your own craft?

If it's either of the former two, you're screwed with or without LLMs. If it's the latter, then why are you upset? Those people didn't take anything from your skills, nor your experience.

5

u/Old_Tax4792 23h ago

That’s true..Didn;t think about it that way.
Unfortunately, in my head, a workplace can feel like a competition, and companies like mine implicitly push that mindset in the name of productivity. So now it feels like we’re playing a multiplayer game and my colleagues are cheating with bots. You will be upset

8

u/FullstackSensei 22h ago

Get out of your own head.

You can use the same tools your colleagues are using, and if you can express your thinking clearly in writing, you'll be way more productive than your colleagues who have no clue how to use the language. If you can't express your thinking in writing clearly, that's the most valuable skill you need to learn with or without AI.

And no, I will not be upset. I love programming and software engineering. It's what I also do in my free time. But I couldn't care less about the job. It's not who I am as a person. It's what I do to pay the bills. There's way more to life than the job.

→ More replies (4)

4

u/did_i_or_didnt_i 23h ago

start using the AI tools and you’ll be less upset. I got Claude code a couple weeks ago and I’ve been blown away by how much better the tools are than a year ago. If you don’t want it to be slop then get it to give you the full diffs and approve them before merging. You can even refactor the slop to your liking with AI

11

u/Old_Tax4792 22h ago

I am using AI tools.. they are useful ..but you can't really read line by line or understand what is happening there.. There is no time.. Especially when the others do not review at all ..Only a smoke test and merge.. This is sad..

→ More replies (6)
→ More replies (2)

1

u/Professional_Top8485 1d ago

Always look at the bright side of rust.

1

u/CreepyWritingPrompt 19h ago

If the broken clock is their reasoning process, and even if picking rust is it being right twice a day, other decisions matter more than programming language choice. Picking rust is not going to save them from the effects of being wrong about 10 12ths of their other decisions.

A broken clock is right twice a day and worth nothing

3

u/MrPopoGod 21h ago

Sounds like a pretty terrible engineering culture over there, to be frank.

2

u/my_name_isnt_clever 20h ago

Right? Sounds miserable even before AI.

1

u/GaboureySidibe 20h ago

It could be worse, at least their slop will be fast. Maybe they'll learn a systems language when they have to fix their bugs.

1

u/tomsrobots 20h ago

They might be totally ignorant, but they guessed correctly.

131

u/pine_ary 1d ago

This. I can see a formally verified language taking that spot in the near future with even stronger compiler guarantees at the expense of verbosity though. AI is really good at writing Lean, it’s not a stretch that someone will extend Lean into a general-purpose language for regular programming. As it stands, Rust gives the best compiler feedback which is vital for AI to iterate on without having to do slow and expensive runtime verifications.

109

u/nonotan 1d ago

I can see a formally verified language taking that spot in the near future

This is almost certainly not going to happen. At least not in any short to medium term. What a lot of people fail to understand when they imagine some kind of abstract "formally verified language" is that, in actual practice with the syntax of such languages that actually exist today, writing a perfectly correct definition of your exact requirements in these languages isn't any easier than implementing your requirements in a regular programming language, and is often harder for humans to verify to a moderate degree of certainty.

It only really makes sense to use them when safety is absolutely critical and you don't mind spending significant additional resources to go from "moderate degree of certainty" to "extremely high degree of certainty" (which is much harder to achieve in traditional languages), and of course in the context of math-style proofs where you just need to verify reachability from the initial state to some desired final state, and don't really care at all what happens in the middle as long as the compiler can check it's logically sound.

For 99% of people vibecoding Rust, formal verification is just overkill, and "claude checked the formal verification specs match what I asked it to do" isn't much more confidence-inspiring than "claude checked the Rust code and tests match what I asked it to do". If you're not going to check them yourself, it's pretty dubious what you're gaining at all -- and most people vibecoding Rust have absolutely zero hope of understanding even a relatively straightforward Lean proof, nevermind piles and piles of Lean slop even expert humans would struggle to wade through.

I guess it's possible some new language will emerge that focuses first and foremost on intuitively capturing a program's requirements in a format anybody can grasp with a little effort, and provides great support for formal verification of those requirements. But it's not going to happen tomorrow.

33

u/IlluminatiNotRealOr 21h ago

You are bold enough to think vibe coders understand what formal verification is and how it works. They just hear it on twitter from their favorite ai bro influencer and vomit it out on every single sub they see.

4

u/sorcerer86pt 20h ago

I fear we may need to shift right in terms of testing, basing the important tests as End to End , because it's the few class of automated testing that an AI cannot fudge a green checkmark. Because it's either the application works as the acceptance criteria or not.

5

u/Dangerous_Tie_521 19h ago

More declarative code. More contract based programming. An actually good syntax for describing state machines. Stuff that surfaces the hard requirements where they are relevant. That'll be what programming will probably turn into.

Honestly... not a bad outcome if that's the case? We spend a LOT of time and mental overhead on managing hidden states because that's what the hardware model fundamentally exposes.

→ More replies (1)

3

u/addmoreice 18h ago

A lot of this I see as improper harness construction and failure to narrow the domain of the LLM.

I personally see it as three tiers. You have the most important and the most critical bottom level of the pyramid. The declarative code layer. If it *can* be coded in regular good old declarative code, it should be. Next up the list is the so called 'system 1' ai systems. It's 'type safe' on the output, quick, and can be used as a sort of 'smart switch statement'. Sometimes, you only need to add a *tiny* bit of smarts in a small *tiny* spot, and otherwise it should be declarative the rest of the way through. This is so very useful I can't even explain it. Lastly, full blown LLM.

Combine that with narrow scope sessions where the agent has a singular goal and very tight guard rails and you can get some seriously impressive results with well understood (and, most importantly, *detectable* failure modes).

When doing red/green testing, why should the AI writing the code to green the tests *ever* have permission to modify the unit tests? One session can write the unit tests and read the code and unit tests only, the other can read the tests and code and write the code only. This restriction should be enforced by deterministic code. The LLM's should have a way to 'report' that the unit test is wrong, or that the code doesn't work for some reason, but those two sessions should never be able to jump the boundary and do the other's job.

The change of narrowing an AI down to only allowing it to do what it needs to do and able to do with a tight focus? That makes them very useful, modular, and helpful.

This 'herdy hur! makes me this code!' is only really useful as a stress test for an LLM's performance, like a single metric on a crash test, not as a real engineering practice.

I still think the worst failure seen with LLM's is the coding terminal where you type in what you want and the thing tries to go off and do it. Fun for experimentation and prototyping, *amazing* when part of a tight loop when trying to modify a UI live, a shit sandwich when trying to engineer a solid system.

1

u/dschramm_at 20h ago

Hasn't that always been the case? Especially for distributed systems.

1

u/seaborgiumaggghhh 30m ago

I formally verified that my app will never lose connection to my db, right? RIGHT!?

7

u/knowyourclass 20h ago

I have a feeling this comment will age the same way "AI will never be able to code" comments from a couple of years ago aged

1

u/insanitybit2 10h ago

The comment is already out of date.

3

u/EpicatSupercell 16h ago

You are missing the point. It's not about if the humans care if it's correct. It's about, when ai is told to use the language, it spends the time to write the long and verbose code correctly because otherwise the compiler/tooling complains and it can't mark the task as complete. Now, whether the ai can even define the task in the first place is a valid concern. But if it can, the rest will flow naturally once a fitting language exists (which may or may not exist today).

2

u/insanitybit2 21h ago

> I guess it's possible some new language will emerge that focuses first and foremost on intuitively capturing a program's requirements in a format anybody can grasp with a little effort, and provides great support for formal verification of those requirements. But it's not going to happen tomorrow.

It's already happening, and yes that's the idea - that you build the specification language directly into the programming language so that you don't have drift between them. I'm already doing this.

Kani and other tools are already a thing and they're amazing.

1

u/LobsterAlpha 13h ago

I agree with you. Something that seems more likely is AI writing in a formally verified language like Rocq and then transforming that to familiar languages like C++.

This is an interesting example: https://github.com/bloomberg/crane

formally verified rocq creates formally verified c++ with all the safety

12

u/djtubig-malicex 23h ago

Heh, I haven't seen anyone try vibeslopping Ada yet.

3

u/pine_ary 23h ago

That does sound like a fun weekend project. See the pros and cons laid bare. Ada is pretty close to what I imagine.

1

u/Budget-Minimum6040 22h ago

Isn't that more of a license problem with official Ada being super expensive?

5

u/UtherII 22h ago

Ada has free implementations nowadays like GNAT (part of GCC)

16

u/eras 1d ago

..Lean is already a general-purpose language for regular programming?

Albeit its tooling and ecosystem might leave you wanting.

10

u/pine_ary 1d ago edited 1d ago

That’s why I said extend not replace. It needs a more advanced execution model and better tooling. And probably a standard library for normal usage. Particularly everything IO and async. Though I could also see a new language that is verified in Lean. My point is that the old wisdom of "formally verified code is too difficult to write practical programs in" is no longer true with AI assistance.

→ More replies (1)

2

u/Fofeu 20h ago

I recently published an article on a formally verified language inside a proof assistant. It comes equipped with an end-to-end proof that the generated assembly is semantically equivalent to the original source code. It doesn't use Lean though, because Lean doesn't have afaik a formally verified compiler, while Rocq has CompCert. (I don't understand that focus on Lean, there are many different proof assistants).

Verbosity isn't that much an issue, imho. The biggest verbosity issue I'd say (at least with the approach we chose) is that anything that might "crash" has to be sequentialised. So instead of f(*(ptr + ofst)), you have to write do ptr' <- ptr + ofst; do x <- *ptr'; f(x) (don't focus too much on syntax, it's all notation anyway). But on the other hand, you can just write while cond body and don't need to prove that the loop has to end to write the program.

LLMs might have become good at proving, but I won't give a statement at how good they are at specifying.

3

u/IlluminatiNotRealOr 21h ago

You guys do not know what formal verification is do you?

3

u/pine_ary 21h ago

Yes of course. I used to use Coq a lot in uni to formalize proofs. Imagine if every program came with a proof of no out of bounds accesses, no undefined behavior, no platform specific behavior, no unsoundness, no overflows, no logical concurrency issues (deadlocks, starvation, etc.), and a fully verified standard library including network protocols, cryptography, regex, etc. As well as the ability to formalize contracts that can be statically proven for the entire program.

It would eliminate entire classes of hallucinations and slop bugs.

2

u/IlluminatiNotRealOr 21h ago edited 20h ago

that is not what a formally verified language that is a formally verified program.

You used a theorem prover that is not a 'formally verified language', ie. formal verification does not semantically entail the properties you just described.

What are you even gonna 'formally verify' in your language lmao. You verify programs!

I too like to live in fairy land

→ More replies (4)

1

u/Consistent_Drop3909 20h ago

that's kinda the point of the rust zero project right? formally verifying its memory safety outside of unsafe

1

u/pine_ary 19h ago edited 19h ago

It’s a big step because it gets us verified memory safety which is what most unsoundness bugs have been about, and I think also undefined behavior safety in safe Rust. Might also help with certifications, but I don’t know much about that kinda stuff.

1

u/BossOfTheGame 19h ago

Hax and Aeneas are things. You can connect Rust and Lean.

1

u/FluroSnow 15h ago

We have been use aeneas for rust formal verification

11

u/rodrigocfd WinSafe 1d ago

I wonder why vibecoders won't just ask LLMs to generate machine code instead. If they can't read anyway, just skip that extra step.

And yeah, the future is dark.

42

u/eras 1d ago

Because assembler has no guardrails and it fills up the context fast.

32

u/officiallyaninja 23h ago

Assembly is terrible for LLMs For the exact same reasons why rust is good. Rust has a ton of safety guarantees that you don't need to check to verify, assembly has none.

12

u/knowyourclass 1d ago edited 21h ago

Large Language Models work better with a programming Language

also, no borrow checker in asm. no guardrails of any sort to prevent mistakes

→ More replies (2)

2

u/AverageHot2647 1d ago

Have you tried this? Does it work?

1

u/BisonDue3986 21h ago

The compiler is an entropy reducer. Otherwise the computational landscape is far too broad for the LLM to effectively traverse in order to achieve any practical goals.

0

u/foobar93 22h ago

Because many are not vibe coders. I am now also using Ai for virtually everything I am writing. Why should I write another helper qt ui for the 100st time when I can just ask copilot and get code that I can read and integrate to solve my actual problem. 

→ More replies (2)

1

u/sparklingLipzz 20h ago

my team's been pushing rust too lately and i'm just hoping the ai doesn't break everything before we figure it out

1

u/eypandabear 18h ago

It is either Rust, Python, or Javascript/HTML.

I actually asked Claude once if I should go with C++ over Rust for a project, and it replied that Rust is generally considered better for coding agents due to how strict the compiler is.

The first test I did with Claude Code I forced it to use Pascal because that has presumably less training data than Python, but it still worked pretty well.

1

u/NeyaVexy 11h ago

you're making it sounds like rust is about to take over everything, kinda makes me wanna see what you'd actually build with it

1

u/geo-ant 1d ago

Urgh, I think you’re right though I hate everything you said.

1

u/emergent_pragmatism 16h ago

ROFL. In the last 40 years, I've heard the "absolute best language" for maybe a dozen languages. IT. DEPENDS. ON. THE. APPLICATION. Full Stop. Rust might be the best for some types of applications. For others it might not be. I don't know. Neither do you.

1

u/SituationSoap 15h ago

Username does not, in fact, check out.

-4

u/--San-- 23h ago

It's a bit because is trendy. OCaml, Lean, Haskell, all have more tools for correctness than rust, however, you never see they mentioned by vibe coders.

5

u/knowyourclass 23h ago

They don't even come close to rust performance and efficency... also Lean? Seriously? 🤣

→ More replies (7)
→ More replies (1)

103

u/playdead_ 1d ago

This isn’t a problem unique to Rust. I work in DevOps and so I see development across a lot of different teams, and a ton of it is just people slinging AI code.

4

u/Dr_Passmore 5h ago

Yep work slop is a rather significant issue. The amount of tech debt is going to be an interesting issue to tackle. 

Personally one of my main uses as a devops engineer is to get Claude to actually ticket my work. All the odd little fixes or devs reaching out for 5 mins of my time is now fully documented. Some of the tickets it generates are mostly nonsense as it gets confused, but still management are happy as numbers go up. 

195

u/Pretty_Jellyfish4921 1d ago

Maybe you like to write Rust and letting LLMs writing it for you is what really kills your motivation.

65

u/scheimong 1d ago

Yep that is me

29

u/UnexpectedAnanas 22h ago

Sucking my soul out one prompt at a time.

2

u/Theemuts jlrs 1h ago

I feel like a teacher who has to assign and grade homework, but doesn't get to teach classes anymore.

82

u/Leo__255 1d ago

you're probably the one person on that team who can make it less painful. put cargo clippy with -D warnings in CI, deny clippy::unwrap_used and expect_used so errors get handled on purpose, and ask for one tool per PR with at least a smoke test. the generated code usually gets a lot more readable once it has to pass those, and you end up reviewing instead of rewriting

25

u/Turtvaiz 22h ago

the generated code usually gets a lot more readable once it has to pass those

Also, I don't know if it depends on the language, but in my experience explicitly telling LLMs to make code that prioritizes reviewability helps A LOT with getting good results out of them. I feel like the defaults are intended more for vibe coders who never even want to look at the results

LLMs work within the set bounds. Set those bounds properly and you get much better results

4

u/Anonymous0435643242 23h ago

Then it will do while loops instead of % to not trigger the loss of precision lint then taking the floor of a float

9

u/Leo__255 22h ago

it'll game anything you measure. the lints only keep the obvious stuff out of review, the smoke test is what catches that kind of workaround

19

u/mohrcore 22h ago

I tried vibe-coding in Rust and the typical way Claude would go about handling anything that required thinking about ownership was to just wrap everything as Arc<RefCell<T>> and whenever it had to traverse some structure, it would nearly always pick C-style loops instead of leveraging iterators.

Jfc, just pick Go or something if you are going to do that.

4

u/unicodemonkey 20h ago

Go is actually a very practical choice of a target language for LLMs.

22

u/Affectionate-Turn137 21h ago

Dude I would be so hyped if my job was generating slop in Rust instead of this hobby scripting language the owner made decades ago

2

u/little-dude netlink · xi-term 20h ago

A custom scripting language? What does it look like? TCL?

13

u/Affectionate-Turn137 19h ago

Dynamic, no type system, object oriented, visual basic style syntax. Imagine the worst things about most programming languages and combine them into one. Oh and it's compiled. Yes, a compiled scripting language with no type checking at compile time. It emits bytecode that is interpreted.

8

u/Temporary_Pie2733 15h ago

I can’t tell if this is a Python joke or not. 

1

u/Affectionate-Turn137 9h ago

Sadly I'm not joking at all. I actually benchmarked this language with Python and Python is an order of magnitude faster than this language which tells you more than anything I can think of about how bad it is

4

u/Dangerous_Tie_521 19h ago

lol, Joel Spolsky started a new company?

3

u/PortPiscarilius 11h ago

Not RuneScript?

1

u/Affectionate-Turn137 9h ago

Nope. Nobody else uses this language it's in-house

29

u/ocschwar 1d ago

I've had to vibe code changes to a Rust codebase (which was started pre-LLMs), because deadlines, and last month my token quota was cut off. I thought it was because of budgeting but it turned out to be a devops error. So for a week I was hand coding a vibe coded codebase.

And, believe it or not, it was doable. The LLM coded changes were all kept very incremental, with documentation. Then when I had to make my own changes, I could do it.

But no, it's not only you. I had to psyche myself into getting started.

20

u/MrDiablerie 22h ago

You mention the problem in your post. “Nobody knows Rust”. Software engineers are still responsible for understanding the code even if they didn’t hand write it. If they can’t white board and explain the system that’s an abdication of responsibility

14

u/MatthPMP 20h ago

Slop warriors think this is a feature, not a bug.

Just this week, a Java dev (Rust is <10% of my day to day) dropped a ~7k LOC turd nuke of a PR for me to review. No docs, everything in a single commit (probably to obfuscate use of banned AI tools), and he clearly doesn't understand his "own" code. He doesn't see anything wrong with the situation and asks when I'll be done.

8

u/CondiMesmer 18h ago

Of course, why would he if he doesn't have to care and gets his paycheck either way, while also offloading the real work on to you? If someone is cool with offloading mental work to an LLM, they will have zero issue offloading the output reviewing to someone else as well. 

No doubt any PR comments you leave him will be just sent to Claude with the prompt saying "fix pls". What are these guys getting paid for again? 

17

u/dzordan33 23h ago

My team is vibeslopping internal tools in c++. That code doesn't need any performance. I think you're in better position.

-1

u/UnexpectedAnanas 22h ago

All due respect, but all code requires performance.

We've just gotten lazy about it because hardware was cheap.

3

u/CondiMesmer 18h ago

That is absolutely not true. Better performance is obviously always preferred and beneficial, but it's not always with the cost in development time.

4

u/XBLAH_ 1d ago

Is the "vibecoded rust slop" running better than what was being built before? 

9

u/Old_Tax4792 1d ago

these tools are completely new...there's nothing to compare them to..but they run pretty smooth...

3

u/No-Employment-2324 1d ago

Probably not, because before devs either wrote it by hand in a language and tooling they knew, and because they knew it they made good products, or they left it to more experienced devs to do.

12

u/CJKay93 1d ago edited 1d ago

... or they just didn't do it.

I have been considering vibe-cosing more recently, because there are so many situations now where I just would really appreciate something, regardless of how imperfect, to pick up some of the slack of odd jobs and automation that I am supposed to be the experienced dev for, but I just don't have the time for.

2

u/insanitybit2 22h ago

lol dev tooling (what it sounds like the OP is seeing rewritten) at companies is the least cared for, cruftiest code ever. It's rarely owned by a team, it's old, it's often a combination of some language and bash scripts.

I highly suspect that the code quality and maintenance burden of their tooling is much better now.

1

u/XBLAH_ 18h ago

"probably not" isn't a good answer. There are benchmarks and QA for this.

1

u/No-Employment-2324 15h ago

By probably, I ment most of the time. I.e. sometimes it turns out well but most of the time it doesn’t 

1

u/XBLAH_ 13h ago

"most of the time" still sounds like a statistical fallacy. See Photoshop vs PhotoCraft, for example.

1

u/No-Employment-2324 13h ago

Both of which are buggy messes, coming from the guy how had to determine if my org could switch from adobe to its clone. 

1

u/dumindunuwan 20h ago

If legacy PHP, JS, Python; baddest Rust code can even outperform them

0

u/CryZe92 20h ago

Yes, it works really well

→ More replies (2)

6

u/Sw429 22h ago

Alright, who wished for "more Rust adoption" with the monkeypaw? I have the same thing happening where I work and it's hell. Leaving comments in review does very little, and in the end we have Rust code that is so awful and non-performant that we lose the entire fun of coding in Rust.

17

u/robispurple 22h ago

If you were a Rust chad pre-AI then why are you not being the advocate? How about you create code quality and review pipelines that enforce company policy and readability standards to help constrain the AI slop on merge requests. This seems like an opportunity for you to shine above your colleagues.

6

u/kernelic 22h ago

Creating quality gates sounds great in theory, but reality is far more nuanced than what a simple linting rule can capture. Static analysis like cyclomatic complexity is mostly useless in my opinion. Too noisy. Human taste and judgment can't be automated.

9

u/slamb moonfire-nvr 20h ago

I'm struggling with a similar problem and have been giving it a lot of thought. I see tickets generated by AI, assigned by AI, implemented by AI, reviewed by AI, with "meat proxies" between. Looks good for metrics (wow, look how many jira tickets this engineer('s agent) closed), but I don't think the AI-generated tickets are for anything of value and the codebase just rots. And it feels dystopian to participate in.

Maybe one key is to agree with your team on: what parts of this project should humans author and read?

  • You could say humans own the code—sounds like this is your preference. Then really you need to find a way to convince your teammates to invest the time in actually learning Rust or to port the codebase to a language they do actually care about. Ideally find a way to make it fun to learn. And set some coding standards, expect people to work to make their agents comply with those standards or hand-write as necessary.
  • You could say agents own the code—sounds like other folks feel this way. You steer by human-written markdown design docs and/or ADRs in the repo, ticket text, skills files, and (ideally minimal!) ephemeral prompting. The LLMs do the (Rust or whatever, who cares) implementation. You interact with the code primarily by asking the LLMs questions, even in code review. (Because if no one cares to understand the code or make it readable, you're just torturing yourself to ever pretend to read it.) Maybe there are just a few key spots where you actually do care and pay human attention to.
  • Some people seem to want the tickets and design docs text and such to be primarily agent-written. A human might prompt it ("do a security review, file tickets on everything you find") and then the agent generates a lot of filler like detailed success criteria and implementation strategies that go into the ticket(s) while the prompt is discarded. I have no words for how horrible this is. The original human intent is never recorded anywhere, and the slop is all that lasts. You just can't be a software engineer at a place where there are no human artifacts; it doesn't work.

I think this kind of disagreement over the level of human ownership just leads to horrible feelings. My advice is: find a way to agree with your team or find another job where you can. Neither option seems easy right now. Good luck.

3

u/SnooFloofs6814 23h ago

I'm lucky as I'm not forced to use AI at my work (yet) but obviously are using it to not fall too much behind. But sometimes of my colleagues have stopped coding. That being said, I believe you benefit from coding yourself in the long term. And if I'm forced to vibecode I will continue manually on my own projects. There are a lot of open source crates out there which are not vibe coded so it is possible to avoid it.

3

u/Rayyze_ 4h ago

Let's be honest, give AI to a good developer and it will produce high quality code. The problem remains between the chair and the keyboard.

0

u/zetsurin 33m ago

Conversely, remove AI from said developer. Still high quality code.

1

u/Rayyze_ 27m ago

True but companies being what they are, if they can produce more (high quality) code using AI, they will.

7

u/unski_ukuli 23h ago

Nooooooo! Being build on Rust used to be interesting, now its probably made by someone who does not even like the language. I’ve felt incredible sadness from this when people who build stuff in the Rust ecosystem before ai get bombarded by slop pr:s even when they keep saying that they don’t want ai contributions. One of my favourites, faer-rs linear algebra library, is one example of this. Bunch of people keep making slop pr:s and the maintainer has to spend her time on that.

4

u/dr_barnowl 23h ago

Sounds like it's time to return to [1] the Web of Trust ; don't accept commits unsigned by a key that you trust explicitly or implicitly.


[1] Ok, it was never really very established as a concept. But it should be.

1

u/sosthaboss 20h ago

This is still alive and well on those onion markets people buy drugs from

5

u/Havunenreddit 17h ago

Well... Let's be honest, Rust is generally easier to READ and reason than many other languages.

Rust is harder to write than many other languages

And you can create major slop mountain with any language

0

u/[deleted] 17h ago

[deleted] — view deleted comment

1

u/Havunenreddit 17h ago

Yeah well that is a topic of it's own 😉

2

u/superoptimo 21h ago

What about bugs and software defects ? how do they know that the programs are logical sound and safe?

9

u/Patronic89 19h ago

Well. That is why rust is popular for AI coding. Because memory safety and the compiler. In rust the AI can make a lot less mistakes than in other languages

3

u/emergent_pragmatism 16h ago

Those aren't the kind of problems you have to worry about with AI. Code that's memory safe and compiles to do the wrong thing isn't better than code that does the right thing and isn't memory safe. The first is useless. The second needs to be fixed. AI can do that, regardless of the language.

1

u/insanitybit2 10h ago

Of course it's better than code that isn't memory safe. And of course you have to worry about memory safety with AI generated code.

1

u/lennyp4 1h ago

I wouldn’t be too sure about that, memory bugs can be pretty destructive. Anyway once you know it’s memory safe, you can specify the requirements with tests. Then the behavior comes about as close to fully proven as you can get.

→ More replies (2)

7

u/ventus1b 21h ago

"The tests are green!"

5

u/Secret_Conclusion_93 18h ago

Also applies for human driven coding.

3

u/0exa 13h ago

The tests are part of the slop...

2

u/ventus1b 4h ago

Exactly.

4

u/koczurekk 17h ago

The same way as always: unit, integration, system and manual tests.

LLMs are stupid when it comes to understanding what the user wants, they generate ugly code and prioritise terribly, but you certainly can build reliable software with them. Most people don't, but without LLMs they didn't either.

On the other hand, mgmt seems to love the koolaid and thinks that letting Jesu- ChatGPT take the wheel is a reasonable development strategy, so we do see quite a bit of slop published by previously reliable organizations. This isn't due to the tool itself, but the culture shift. It's a bet that at some point LLMs will get good enough to clean this whole mess up.

They're probably right.

2

u/TheRealMasonMac 20h ago

They had an AI audit and it and it said it was good. Probably.

1

u/0xjvm 18h ago

You do realise that for basically decades, potentially sub-good devs did exactly this 😂? Thinking about the most average developer you know. 50% of them are worse than that. And they have been writing code for longer than many have been alive at this point.

The point is LLMs are better than probably 70% of developers now lol. Probably 100% if we went to specific topics

1

u/TheRealMasonMac 18h ago

LLMs are good for review but they can miss big picture details. You want at least one human reviewing the code properly.

→ More replies (1)

1

u/emergent_pragmatism 17h ago

LLMs aren't better than any developer if the prompts given to them don't properly specify the problem and it's constraints. I *doubt* that those sub-good devs are going to be able to do that. I also doubt that pointy headed bosses can tell which are the sub-good devs to replace with AI and which good devs to keep.

2

u/0xjvm 16h ago

I’d say this is a process problem tbh, everyone at a company should have a similar process, which means these huge weirdly tasks aren’t just given to LLMs as is, but yeah sure there’s variance.

And yeah I won’t speak on replacing devs with AI, I don’t think that’s right, I think companies should lean on the same headcount but way more output. Everyone wins

1

u/emergent_pragmatism 15h ago

In lots of shops, members of a team don't even have the same process and "processes" that come down from on high usually are irrelevant and ignored. Developers can write bad code in any language and developers can get AI to write bad code in any language (only faster).

→ More replies (1)

1

u/PeachScary413 16h ago

"It's compiling that means the memory is safe or something I dunno man.. I just heard Rust is like 100% safe and Claude said it was good so"

1

u/progdog1 14h ago

If it compiles, it works.

2

u/fluffy_thalya 19h ago

That's sort-of my feeling at work too. I compensate by being very deliberate with my own AI use at the orrice.

And to stay sane, I contribute with my own hands to open source projects at home.

2

u/Maui-The-Magificent 17h ago

Yeah i think its a poor choice of the company to effectively make their employees unable to contribute. I would be surprised if this would lead to your products and services to degrade much faster than through normal code entropy.

I do not mind people who vibe, I don't mind having AI generated code, I do mind the vast amount of people that seem to not understand why AI is useful professionally. It is useful for code compilation locally, it is not useful for reasoning and making decisions. Unless your codebase is already too far gone into the hell that is 'best practices' and has created such unbelievable invisible relational complexity that an AI can't make it worse, only better.

2

u/vazark 14h ago

Learn rust.

Then you’ll actually know what to prompt for efficiently. At my work’s web application, I am able precise the file and changes to be done with technique to be used. Makes me a multiple times faster than my juniors

10

u/Numerous-Fig-1732 1d ago

I'm a developer and I haven't written code since March this year.

43

u/Wonderful-Habit-139 1d ago

Whether that’s a good thing or a bad thing is another story.

1

u/0exa 13h ago

And you might never again. It's outright dystopian.

-17

u/No-Employment-2324 1d ago • Bravo

Then you are not a developer. A developer writes code. You write prompts, and contribute to the coming  collapse of the software ecosystem. 

42

u/Automatic-River-1875 1d ago • Mindblown

Name checks out

9

u/polynomialcheesecake 1d ago

I agree with no, fuck vibe coding But this was funny and probably correct. I hate this timeline

7

u/BioTomateDE 1d ago

lmaoo that's a crazy coincidence if that's a randomly generated name

5

u/vbpoweredwindmill 1d ago

Weapons grade comment

-2

u/Straight_Second6082 23h ago

A developer writes code

A programmer writes code. A developer role is broader

2

u/Wonderful-Habit-139 23h ago

A "developer" that doesn't write code might as well be a PM.

4

u/did_i_or_didnt_i 23h ago

seems to be where the industry is going

1

u/stumblinbear 22h ago

PMs generally don't understand how a system is built or how to drive an agent to do things correctly

5

u/Compux72 1d ago

I find this skill useful to manage the sloppiness 

https://github.com/Altair-Bueno/effective-rust/tree/main

3

u/stumblinbear 22h ago

I don't know why you're being downvoted. A skill is literally how you improve their ability to write genuinely good code

4

u/needstobefake 21h ago

I hate to say it (as someone who learned Rust before AI took over) that Rust is the PERFECT language for slop. I wouldn't trust an AI to build anything critical in other languages, but I can trust it for Rust.

The compiler and the Lint checks are so good that one needs to be very deliberate to f things up. This is a merit of the language and the tooling, not the LLMs.

1

u/aeropl3b 21h ago

I disagree. Rust has a lot of good things, but it is easy enough to write poorly performant Rust code. And when you start needing to look at and understand performance reading an otherwise alien language is not going to be a good place to start.

Not to mention AI has the option to quietly just unsafe as much as it wants to. Lacking understanding of Rust, when it is appropriate to unsafe, and when there is a better "safe" implementation is also needed.

Rust is complicated enough that I think it requires a real human to understand the decisions being made and guide a model, pure Rust slop is doomed to degrade and fail.

Not to say C doesn't have its own issues, but there is a lot more C code out there to train on.

If I were to pick an AI language today it would maybe be Zig, simply because it enforces safety by explicit data sharing vs implicit compiler rules which can be ignored. Or a C++17 version of C++, which solves a lot (not all) of the common gotchas.

2

u/Green0Photon 16h ago

Yep. I feel like people forget a lot of what made/makes Rust great. It's not only ye old blazing fast zero cost abstractions with compiler checking lots of stuff. That's the technical bit sure.

But that caused a specific culture that emphasized high quality software. People paid attention to things and took the time to make the right choices. This echoed from compiler and packaging to the whole rest of the stack. A modern language that emphasized correctness, and from correctness, speed and low resource usage. Quality software, quality community.

What sucks about all the slop using Rust is that it destroys that amazing culture that causes the quality software. You break that loop of good language design causing good culture causing good language design.

And notably, one reason why Rust's correctness is good is that it made it harder to do things in a bad way. LLM slop removes all pain of doing things in a wrong way.

So yeah, having unsafe code everywhere and unperformant code is a serious risk. Because the LLM will go ahead with a bad design, vs a programmer who'll shy away from that bad design.

Rust's superpower is how the language guided the culture and individual programmer choice towards quality design. AI being better by using Rust is an illusion, or merely a small improvement at best.

1

u/dumindunuwan 20h ago

easy enough to write poorly performant Rust code

This and they market rewritten in Rust as Rust outperforms most non-typed languages. Same with Go. people/ AI write PHP, Java in Go syntax.

→ More replies (2)

4

u/Sreus 1d ago

everyone is larping my beloved language that i spent countless hours learning from the rust book and shed many tears trying to understand what the fuck an unwrap is

2

u/hiasmee 22h ago

Pls do not blame tools for slops you are produced by using them.

Create roadmap. Create tasks. Create implementation plan for every task review it and let review it by min. 2 other different LLMs (different angle of view).

Then let sonnet or Sol implement it.

Finally do review by yourself and using LLM Agent. Commit.

Jesus guys, learn the new things, learn the new tools. Stop crying about the good old times.

0

u/PoisnFang 21h ago

Finally, someone with an actual brain enters the chat.

1

u/LindaTheLynnDog 20h ago

Yeah, I'm as John Henry as they come, but it is here to stay and there is a way to do it right.

I'll always be sad it's gone, because I liked it before and I don't like it now, but at some point you kinda just need to be an adult and move on with your life.

I used to code outside of work and now I do construction projects instead. It's different but I love it, and it scratches that creative need to build something cool.

Better yet, AI has made construction more accessible and it can't do the fun part for me.

Gotta change with the times and stay curious

1

u/PoisnFang 19h ago

That's interesting, because I've always coded outside of work, and I'm coding ten to a hundred times as much stuff outside of work now than I ever have before. Because in a similar vein, I feel like my creativity is unlocked where I can ask for something, and I can see results almost instantly without me having to worry about how to get the right implementation or look it up or ask somebody for help. You know, beat my head against the wall until I figure it out. I enjoyed that aspect of coding for a long time, but as I've gotten older and I've got kids in a mortgage and all the other things that weigh me down in life, it's nice to just be able to offload those bits to someone else and let me do the actual architecting.

1

u/LindaTheLynnDog 12h ago

Yeah, I know a bunch of people who have had that experience too.

I just loved the problem solving part more than the outcomes part.

I know it's still problem solving of a sort, but it just doesn't hit my reward centers or something.

It's not really something rationalized but something experienced, you know?

1

u/PoisnFang 10h ago

Totally get it. So glad to have a rational conversation!

→ More replies (1)

1

u/Zestyclose-Ad-832 22h ago

I'm really a newbie here and I would appreciate if anyone can help me here. I understand the language now. I read "the book", did half of the "Command Line Rust", some rustling exercises and such. Now how do I start building, do I read the docs for different frameworks, refer all kinds of open source code and then try to build my vision or like how does it go, how to learn on my own or what kind of resources should I use.. How do I learn best practices along the way...

1

u/UmairBaig7 21h ago

now everyone to run for rust... till ai found a bug in it..

1

u/Y_mc 21h ago

“the worst part is that nobody knows rust... Not the syntax, not Cargo, not the borrow checker” Holly shiit 🤯

1

u/chris-morgan 21h ago edited 21h ago

We’ve reached the stage where “in Rust” is a positive slop heuristic (not a super strong one, but definitely one) in public tool announcements. This makes me sad.

1

u/Non_IronMan 20h ago

Well, tell people in org that C is the most closest language to the hardware so the speed of it is unmatched. And we can handle data corruption etc via LLM code as it knows to code.

Prolly you'll recieve a promotion in no time.

(If you're org is dying let it die, cause Management guys are just mad over AI)

1

u/Siramok 20h ago

Well, at least your internal tooling is memory safe?

1

u/dumindunuwan 20h ago

Not only applies to Rust. Go also having the same fate. Legacy frameworks, runtime heavy legacy OOP frameworked/ architectures vibe-coded by CEOs and ex-dev managers are everywhere in the ecosystem.

1

u/dumindunuwan 20h ago

In this economy, loudest voices are the winners even it fake or scam or totally incorrect.

1

u/Natterum 19h ago

At my workplace, it’s getting to the point where communication will soon happen only through intermediaries, rather than through direct dialogue with colleagues. Motivation is plummeting by the hour.

1

u/mss-cyclist 19h ago

I would even go so far that this vibe-coding rust slop in general makes my favorite language appeal less and less to me. The love is fading away.

1

u/juhotuho10 18h ago

Genuinely, in CI: forbid Refcell, forbid Cell, forbid Unsafe, forbid any and all types of behavior that is common in trying to cheat the borrow checker. That should at least help somewhat

1

u/deZbrownT 18h ago

the worst part is that nobody knows rust... Not the syntax, not Cargo, not the borrow checker.

guys...

1

u/barkingcat 17h ago

The hilarious part about this is that no one else on your team knows rust.

It should be mandated that if anyone wants to use AI tools, at least get it to emit code *in the language the team works in* OR enforce that anyone wanting an AI tool to write in a language, they must learn the language enough to troubleshoot the AI code.

This is a human/team/management issue

1

u/Frymonkey237 17h ago

Internal tooling, as long as it's not critical, is one area where I think a slopfest is fine. I let copilot do whatever it wants for things like development helper scripts and such, where a failure is no more than a minor annoyance. For the mission critical code that needs to be maintained and extended for years, the ai output is more like a rough draft that gets heavily edited and reviewed.

1

u/celinehagbard82 17h ago

If it is internal tooling it is not much different than in the past. Yesterday it was write only code of student projects in PHP or Python. Now with LLM generated Rust Code you have at least less runtime type bugs and security holes. Now for production code going to the end customers the story is different

1

u/ixid 15h ago

Do you hand write assembly code? I look at it as another stage in the evolution of compilers, but I'm more interested in the result than the craft.

1

u/DavidXkL 14h ago

Yup I often see abstraction for the sake of abstraction in LLM generated code 😂

1

u/Gunnarz699 14h ago

If you HAVE to use vibecoded rust turn on clippy pedantic. It will at least keep it consistent for review.

1

u/Moogly2021 13h ago

You can make it a point to review the code and become the only viable developer if the company ever scales back on ai

1

u/SailingToOrbis 13h ago

One of my collegues did exactly the same thing and boasted with confidence that this Rust rewriting achieved high performance than its original source code written in a different languague. Hardly readable, obviously vibe coded, which I thought I could write in much less amount of code in script languages to achieve the same goal. So much slops and non-expertise culture are ruining the industry.

1

u/boiledbarnacle 12h ago

Do you work at 37signals?

1

u/puffyfunion 11h ago

Hear me out. Ask your agent for advice, but do everything yourself. Don't let it write a single line of code for you.

1

u/UntoldUnfolding 10h ago

I find it simply hilarious that this is the new trend with companies. I get why it’s pragmatic, but why not use the same AI to make sure the developers can actually read the code and know what it’s doing?

1

u/not-a-random-guy 8h ago

I mean when you know syntax eventually, it would make sense. Until then its magic. 😅🤣

1

u/FitBoog 7h ago

Just one thing I disagree with you. Rust is not trendy. Rust was built and designed to be exactly this.

1

u/rarecold733 4h ago

did this thread get posted on xitter or something? this is some of the lowest quality conversation I've seen and the bar is pretty low

1

u/PlusDistribution1915 23h ago

Programming languages are always been tools for building something.
I understand that for someone is fun to write code for the sake of writing, but that is not the scope of writing code for a company or a business, usually.

As a senior with 15+ years of experience, that coded manually with Rust for only few months years ago, I started to use it again, for every new project of the company, around new 100k lines of production code in Rust every month.

I understand it? Not much
I need to understand it to make it working properly? No
Do I know what is doing under the hood (memory allocation, async IO.. )? Absolutely yes, and this is the only thing that is important.

Using Rust for AI assisted development is super handy, for project that justify in any case the longer compile time.

You can "vibe engineering" anything, in every language, until you know domain and low level things. We all need to stop focusing on a language, and being system builder.

5

u/Anonymous0435643242 23h ago

The issue for me is producing code you cannot explain or maintain without AI

→ More replies (7)

1

u/Jmc_da_boss 22h ago

Ya ive left rust because of the deluge of sloppers. The community is just terrible now. Ive moved over to zig, much better.

Rust is still a great language, a victim of its own success.

1

u/pokemonplayer2001 23h ago

For work, do whatever, you can enjoy life in so many other ways.

1

u/tomsrobots 20h ago
  1. It was a good decision to move to Rust even if LLM's are doing all the programming. Rust is a great LLM language because the compiler is very particular and error messages are clarifying. This makes the change -> compile -> fix loop closed and very effective.
  2. You could just, you know, take the time to learn Rust yourself.

0

u/krkrkrneki 1d ago

You can avoid slop by first understanding and controlling requirements and second by checking results.

0

u/robertknight2 1d ago

Do you want to vent or are you looking for advice on how to deal with the situation? If it is the latter, what is your relation to the tech and engineering leadership in the organization?

-1

u/insanitybit2 22h ago

> which it just works fine for that complexity of the tooling.

Okay so what's the problem?

> Now I actively avoid touching it because of this AI slopfest...

why?

-6

u/elotenancy 23h ago

Oh no I have a job and my team is actively using appropriate languages for the age

0

u/quantum-fitness 18h ago

Why dont you do things to de-slop it then?

-2

u/Jam_hu 20h ago

"Now I actively avoid touching it because of this AI slopfest..."

is that next level geek gatekeeping or how can i understand this?

you sound like a 12 year old trump who thinks he was the first playing in a sandbox. now that all other kids showed up he feels too superior too show them how the game is actually done. just dismiss them all.

1

u/Old_Tax4792 19h ago

It’s actually more like "avoiding playing my favorite game because there are too many cheaters nowadays"

0

u/Jam_hu 18h ago

thats what I am saying. u feel betrayed. ur ego has to take that punches now. u are not special because u learned rust. some one else is not special because he learned to cook. but maybe he's going to Burger King from time to time anyway.

the fact that u feel there are cheaters shows that u run a competition. for what exactly?

1

u/Old_Tax4792 16h ago

Those kinds of people generally don't care about the craft or the 'game' at all...they just want to finish it as fast as possible..there’s really nothing to share with them ..they are killing the whole experience..

→ More replies (1)

-19

u/frenzied-berserk 1d ago

Do you know asm? Are you sure that compilers don't generate machine slop?

The language is just a tool, you are an engineer. You must design the solution, build the project structure and "developing rails". After that, you don't need to know the tool's syntax to build a production-ready system.

1

u/lunar_mycroft 22h ago

times_I_had_to_remind_vibe_coders_compilers_are_deterministic += 1

Natural language is not computer language. Even if we could build an "english compiler" (which LLMs aren't), we shouldn't want to because it turns out the specialized languages we use for programming are actually a feature, not a bug.

→ More replies (2)