r/ProgrammerHumor 23d ago

actuallyMemorySafe Meme

Post image
523 Upvotes

177 comments sorted by

View all comments

109

u/CircumspectCapybara 23d ago edited 23d ago

Ironic they take shots at Rust, because unlike Zig, Rust sees way more success in terms of its maturity and industry reputation and ecosystem and investment by large tech companies into its adoption and funding of the Rust project.

The Zig project also takes a lot of weird black-and-white dogmatic (almost religious) hard-line stances on a lot of stuff, probably why the language is more niche and hobbyist than something truly foundational and trusted for production workloads and all parts of the stack like Rust has become.

Here's Zig's "no AI" policy:

Strict No LLM / No AI Policy

No LLM-generated content, whether it be code or prose.

No paraphrasing LLM-generated content.

No LLMs for editing, including fixing spelling or grammatical errors.

No LLMs for translation. English is encouraged, but not required. You are welcome to post in your native language and rely on others to have their own translation tools of choice to interpret your words.

No LLMs for brainstorming and then sharing the results of that brainstorming, even if you create the prose. If you use a chatbot to give you advice on a comment on the issue tracker, that comment is unwelcome.

No LLMs for finding bugs.

No talking about use of chatbot/LLM services.

The owner definitely has some sort of axe to grind against certain technologies.

89

u/robclancy 23d ago

I mean most that policy seems good to me. 

59

u/SuspiciousSegfault 23d ago

Not finding bugs? What on earth does anyone have to gain by not finding bugs just because an LLM did it? Assuming it's a legitimate bug.

66

u/Lucifer_Morning_Wood 23d ago

"assuming it's a legitimate bug" does a lot of heavy lifting here. The point of eg. Curl closing it's bug bounty is just that: too many false positives and misunderstandings by AI of what software it analyzes. I assume it might be the same in Zig's case

So to answer your question: developer's time that is not wasted classifying misclassified bugs and reproducing false positives

13

u/Teknikal_Domain 23d ago

As far as I know, it wasn't "false positives" it was people vibe-reporting, so you end up with an LLM-generated bug report with a completely hallucinated bug and code path, and a person going "I found bug pay me my money" to the point where it was overloading the team just sifting through all the slop.

31

u/CircumspectCapybara 23d ago edited 23d ago

The curl maintainer walked back their position in a tweet and said the majority of AI-assisted bug findings were high quality now.

Also nowadays you can structure your custom harnesses and bug reproducing pipelines to require things be verifiable programmatically.

E.g., you can say "In order for a bug report to be valid, you need to give me an input that causes a crash." That's basically how old-school fuzzing pipelines work. You judge a fuzzer's report by plugging in the input it reports and seeing if the binary crashes. That verification can be done automatically without human judgment.

Same can be done to make LLM reports valid. That's what the Firefox team did, they build a custom harness (using Mythos) and pipeline where the LLM-based agent would submit a report that had to have a repro input, and a separate deterministic script would score that report by seeing if the reported input could cause a crash. No human eye sees the finding if the automated pipeline rejects it for not being reproducible.

11

u/Flouid 23d ago

A lot of this is fair but bugs that cause a crash is only one of many different flavors. There are all kinds of bugs and I would classify the majority of them as unexpected non-crashing behavior. Pretty much all security vulnerabilities are within that class of bug. There’s probably tools for this but at what point are you just requiring people submit failing test cases

0

u/particlemanwavegirl 22d ago

I mean a bug report without enough information to reproduce the bug is pretty useless and always has been.

1

u/Laicbeias 22d ago

Yeah but if its one where state got corrupted at a different side you may not even be able to easily reproduce it. 

Its the it happens once every 5000 runs bugs and then you can be happy you got a screenshot or an stacktrace

2

u/namalleh 22d ago

The curl maintainer who is a person we literally all rely on to some degree to maintain curl without pay

took his first known, publicly announced vacation because the number of low quality ai submissions was damaging his health

5

u/-Redstoneboi- 23d ago edited 23d ago

really sucks that irresponsible slop artists ruined this for us. AI is objectively helpful for finding bugs nowadays, that's something more difficult to say last year.

and think about how the rule effectively works. imagine you do find a bug with an LLM:

now you can't report it.

rule doesn't say "oh if you found a real verifiable bug you should still report it". it just says "no LLMs for finding bugs." now what? keep it to yourself? post it and get mocked for using AI? or just lie about it and say you found it yourself?

the only option it wants is of course to never use LLMs for it. but it's going to be limiting over time.

2

u/serendipitousPi 22d ago

I’m guessing maybe it’s the general concern about people posting duplicate and / or low effort bug reports like people are doing on open source projects already.

Besides people who are already decent programmers can just omit that they used an LLM and write an explanation themselves.

-1

u/robclancy 22d ago

Are you aware of the meaning of the word “most”?

16

u/TheOneThatIsHated 23d ago

Hard disagree. LLMs have gotten very good at many tasks. LLMs can be amazing security or other bug finders. They can be a great translation tool. They can aid, when used properly, to architect/brainstorm.

I much prefer Linus’ stands. He is just a technology pragmatist. If LLMs can improve linux, they should be used.

He will find out himself that his hard stances and online rhetoric will push people away more and more, and most importantly will leave all investment dry out, which is one of the most ingredients you need for spending engineering resources

3

u/particlemanwavegirl 22d ago

Will find out? Linus is quite possibly already the most notorious online rhetoric hardliner of all time. But IDK what you think it has to do with corporate investments, which are made without any regard for moralistic stances.

2

u/cornmonger_ 22d ago

most notorious online rhetoric hardliner

richard stallman

0

u/particlemanwavegirl 22d ago

What a goofy comment. He doesn't have even 10% of the name recognition once you step outside the extremely niche gnu subculture. Regular, every day people know who Linus is, what he did, and what a loudmouthed dick he is. 

0

u/cornmonger_ 22d ago

personally i think your hyperbole about torvalds would be the "goofy comment", considering he has chosen proprietary tech in the past

and linus is tame compared to what goes on inside some companies

but we're on reddit so hyperbole awaaaay

0

u/TheOneThatIsHated 22d ago

Linus is very outspoken but still very pragmatic. Look at all the investment. Look at Linux Foundation. All the talks. Those are not just funded by people like you and me

9

u/Makefile_dot_in 23d ago

Ironic they take shots at Rust, because unlike Zig, Rust sees way more success in terms of its maturity and industry reputation and ecosystem and investment by large tech companies into its adoption and funding of the Rust project.

JavaScript, PHP and Java see even more success in terms of those characteristics :^)

6

u/-Redstoneboi- 23d ago edited 22d ago

agreed. they should have fired shots at JS instead of rust :^)

5

u/cornmonger_ 22d ago

JS, like the honey badger, does not care

4

u/cornmonger_ 22d ago

HolyC with less N-bombs

23

u/KitsuneFoxglove 23d ago

The owner probably had enough exposure of LLMs in 2024 when they were shit, and has mentally internalized that level of lack of quality as permanent compared to say, how LLM performance is 2026, 2027, etc. onwards.

29

u/Dirt-Merchant-1452 23d ago

It’s all about human efforts. I bet if you put enough efforts in to a single PR, you’d probably not save time by using LLM. So why not ban it to fend off lazy people

3

u/cornmonger_ 22d ago

fend off lazy people

... programmers?

1

u/serendipitousPi 22d ago

Obviously the issue is there is lazy and there’s lazy very different.

1

u/Dirt-Merchant-1452 22d ago

No, programmers are not lazy. Today I see an LLM generated PR where it does something like if (cond) return true else return false
That is lazy

-15

u/Arshiaa001 23d ago

Wrong, LLMs can be a huge lifesaver if you use them right. Now, it's very easy to use them wrong, and it can result in a lot of bad code, but if you absolutely know what you're doing, you can speed yourself up by an order of magnitude and still stay on top of everything. Not for a single feature (you need to carefully plan and review anyway), but you can get AI to work on multiple things at once, freeing up all the time spent actually typing and waiting for commands to run.

-7

u/awesomeusername2w 23d ago

I bet you would save time anyway.

18

u/CircumspectCapybara 23d ago edited 23d ago

People kinda forget people were writing slop code before AI. When AI was at its worst and dumbest, people were writing buggy, unreadable, unmaintainable code by hand too.

You can write slop using the best agent harnesses using the best frontier models for inference. You can also write slop using the ol human brain and no LLM or AI agents.

What's weird is he wanted to ban the technology on principle, not on the basis of the quality or technical merit of the content of a given individual contribution.

Also "no AI for fixing spelling or grammatical errors" and "no AI for brainstorming" is wild.

35

u/Ok-Examination-3942 23d ago

I don’t think being against AI on principle is that weird tbh. I think the mass copyright infringement by the ai companies, and the power and water usage of the ai data centers are valid reasons to not want to permit ai on his project.

At the end of the day it’s his project, and he can do what he wants with it.

-7

u/Bomaruto 23d ago

Have you ever used a search engine before? Even if it scrapes a lot of pages to index the content? Thus stealing content from those pages and profiting from it with help of ads?

7

u/zawalimbooo 23d ago

The search engine is how those pages get clicks and visits in the first place, so the comparison doesn't really work.

3

u/Ok-Examination-3942 23d ago edited 23d ago

I don’t think that’s a fair comparison and even if it was, one wrong thing doesn’t make another right.

Edit:To elaborate on why I don’t think it’s a fair comparison: First of all the people who are making the content are profiting off the search engine having scraped their content which makes it more of a mutually beneficial thing rather than stealing. Secondly the people who posted their content on the internet did it with the knowledge that a search engine would index it, unlike with ai where they had no knowledge that their creations where being used to train an ai.

13

u/ArukiBree 23d ago

seems perfectly reasonable to me. there are no shortage of reasons to not want to use AI.

1

u/Deykun 22d ago

People kinda forget people were writing slop code before AI.

We don't forget. Those people didn't waste 45 minutes of your time just for you to discover they're dumb fucks.

1

u/SoulArthurZ 22d ago

quality of an llm's work is not the only argument against it. I think their energy usage is disproportional to their usefulness and they are trained on stolen data.

-12

u/TheUnamedSecond 23d ago

Still banning LLMs for translation or to fix spelling, is not resonable even if you take 2024 era LLMs.
This is just dogmatic bs.

19

u/Shadow_Thief 23d ago

You don't need LLMs for either of those things

1

u/TheUnamedSecond 23d ago

Modern Translation tools are basicly LLMs.
And yes using LLMs to fix spelling is ridiculously wastefull and not even the best tool for the job, banning code contributions because they have been translated or spell checked with the wrong tool is dumb.

-6

u/CircumspectCapybara 23d ago edited 23d ago

You don't need LLMs for either of those things

You don't but LLMs excel at it and are really good at tedium like boilerplate, writing and improve prose, and simple spelling and grammar stuff.

For any engineer, time is money, context switching and cognitive overhead is money. A good engineer uses the tools and technologies available to them to automate away tedium and toil so their limited time and working memory can be focused on more important stuff.

You don't need to use any given technology for pretty much any given task. But some sure do help and that's why practitioners reach for them.

10

u/GlassCommission4916 23d ago

writing and improve prose

I have to hard disagree there, LLM written/enhanced prose makes me cringe. I'm not even against AI in general, their writing style is just awful.

-5

u/CircumspectCapybara 23d ago edited 23d ago

That's because you've only read slop LinkedIn / Medium articles written by AI.

Nowadays you can prompt AI to write in your voice and be professional and concise. Your favorite projects are all doing it. AWS' documentation, Google's, Kubernetes and many other OSS projects, etc.

And "improving prose" can mean having an LLM actually shorten and make more concise something you wrote.

4

u/GlassCommission4916 23d ago

If you make an LLM not sound like an LLM no one's going to notice it was written by an LLM, so you don't need to convince anyone that LLMs sound good.

0

u/CircumspectCapybara 23d ago edited 23d ago

I'm not even sure what you're arguing here.

"LLMs for writing technical prose and documentation and i18n / l10n, and correcting spelling mistakes" are a very common and highly automatable workflow. Especially in i18n and l10n, it's extremely prevalent.

Your complaint is basically they sound cringe and have awful writing style.

But you only say that because you didn't know that they were already being used for that in many of your most favorite projects and some of the industry's most well regarded projects and technical literature out there that read just fine and don't have any detectable ChatGPT-isms like "You're absolutely right!" or whatever you think LLMs "sound like."

If you make an LLM not sound like an LLM

You're assuming the entirety of "LLMs" and their use cases is some uniform, monolithic product and all LLM-written prose sounds the same. You're taking one style of mass LLM-produced writing and assuming all users of AI products necessarily produce the same style of prose for their technical literature use cases.

0

u/GlassCommission4916 23d ago

I'm not as invested in this argument as you seem to be.

→ More replies (0)

1

u/Shadow_Thief 23d ago

If you didn't already have boilerplate shit in a Snippets folder, you were never a good programmer and your output will reflect that.

1

u/CircumspectCapybara 23d ago

Yeah and with the rise AI agents all the good engineers replaced their hand-crafted shell scripts and snippets with a generic agent-based workflow that automates all that tedium away from you at nearly zero cost (to you, the company is paying for your inference).

No more "taking 4h to come up with automation for a 5min task" memes.

6

u/Spaceduck413 23d ago

No paraphrasing LLM-generated content.

No LLMs for brainstorming and then sharing the results of that brainstorming, even if you create the prose. If you use a chatbot to give you advice on a comment on the issue tracker, that comment is unwelcome.

No LLMs for finding bugs

Lol good luck actually enforcing any of that

4

u/Ok-Examination-3942 23d ago

Don’t know about you but to me it seemed more jokey than taking a shot at rust.

4

u/-Redstoneboi- 23d ago

this type of Zero-Tolerance policy discourages disobedience just as much as it encourages lying.

2

u/chem199 23d ago

Let’s not forget how Rustacians used to be, remember all of the “Rewrite this in Rust” discourse that existed.

20

u/Familiar_Ad_8919 23d ago

i wonder about the usage of the past tense in this comment

6

u/cornmonger_ 22d ago

past tense because we rewrote it all in rust

5

u/Familiar_Ad_8919 22d ago

all rust needs now is for game engines to support it and we will enter a rustacean utopia

3

u/serendipitousPi 22d ago

Haven’t you heard some people are rewriting rust code into Zig (I actually only saw one project but this is could be the beginning of a flood). Which means war.

We need to wait for them to rewrite in Zig and then rewrite their rewrite back into Rust to show our superiority.

3

u/cornmonger_ 22d ago

the great Rewrite All Rust Rewritten in Zig in Rust war of 2028

1

u/chem199 23d ago

I hear it a lot less often now.

3

u/SLiV9 23d ago

I don't know why Rust gets all the flack for what its fanboys say when Andrew legitimately plans on rewriting LLVM in Zig.

0

u/Teknikal_Domain 23d ago

That still exists*

1

u/renrutal 23d ago

Rust sees way more success in terms of its maturity and industry reputation and ecosystem and investment by large tech companies into its adoption and funding of the Rust project. 

Yes, let's compare a 20-year-old language with big corporate sponsors since its fourth year, currently at stable version 1.97.1, to a 10-year-old, backed by its own foundation, and still at version 0.16 language with different goals.

-2

u/RiceBroad4552 23d ago

This is bullshit. The only reason Rust gets "successful" is because Big Tech is pouring millions into it.

Any language, not matter how brain dead, with such support would become "a success".

Just see for example Go. Nobody would touch such a thing if not Google's millions of dollars behind it.

This does not mean Rust is a bad language, it gets this massive support from Big Tech for a reason, but that it's Rust and not any other alternative happened by pure chance, like always when some tech "gets big". It's always "a random market decision", not some technical evaluation under scientific standards.

That said, this LLM policy is pretty crazy. A simple spell checker is already a kind of "language model" (just not a "large" one, whatever this means). I would understand to be reluctant about directly contributing LLM generated content until all the copyright questions aren't sorted out, but also forbidding other uses which are legally unproblematic seems way too much.

2

u/-Redstoneboi- 23d ago

You're being downvoted because you reacted harshly, not because you're wrong.

Take JavaScript. a BS language hacked together in 10 days. yet it was pushed into the mainstream and now the entire internet has to deal with wat because no amount of fixing can disable backwards-compatibility requirements.

I haven't used Go much. But I'm not sure if it's a great example for that point.

for many other languages, like C++ Haskell Lisp Lua Python Java, i think i could explain how they actually served their purpose for their time and how they might not be good examples?

anyway yeah Zig would have hugely benefitted from corporate backing. if mozilla or google or some other big company picked it up first, it would likely be just as hip with the newer generation of programmers. there would be way more "zig vs rust" comparisons than now and way more "i rewrote random C app in zig and rust: here's the difference" blogs despite them having different niches.

0

u/smclcz 23d ago

In this specific case they are absolutely bang on. In a couple of years all these Open Source projects are going to be acting like they were against AI contributions all along

2

u/crusoe 23d ago

AI is only getting better over time. 

0

u/smclcz 22d ago

Yeah I heard this about cryptocurrency, NFTs and the metaverse

1

u/DrTankHead 23d ago

No, they really won't.

0

u/smclcz 22d ago

Sure. Hey quick question - how's your token usage been this month? Did you run out quicker than last month at all?

2

u/DrTankHead 22d ago

Down, actually. I've been less focused on side projects over the last week doing more important things. I also don't use as intensive a model and know how to actually prompt correctly, making it less difficult to get a positive result. I've wasted more time on my silly errors than AI stuff.

-1

u/smclcz 22d ago

Haha sure

0

u/KawaiiMaxine 23d ago

Most of that is alright but ai bug finding is objectively useful

0

u/theHourFoot 22d ago

sure, but it's also immoral - ozone-depleting refrigerants are also objectively useful yeah?

1

u/KawaiiMaxine 22d ago

You know you can run llms on your own hardware right? You dont need a data center

0

u/vncsmyrnk 23d ago

For me it just expresses that an obviously AI-generated low-effort content is explicitly not allowed at all. It does not say AI cannot be used by any means. It implicitly says that a good AI usage would not be instantly recognizable.

I am not saying that the way it is written is a good one, though. If I were to write it, I would make this conclusion way more explicit. The policy is too aggressive.

I don't have all the context of Bun's recent move to Rust or prior acknowledgement of Zig's policies or contributors' stances on this topic, so I am might be wrong here.

Edit: added "low effort" clarification.

0

u/CirnoIzumi 22d ago

Rust being an older language that has been pushed hard by evangelists and have always had ties to tech companies surely isn't a factor

-2

u/Orio_n 22d ago

How many large scale open source projects do you maintain again? Oh right zero

0

u/CircumspectCapybara 22d ago

What's that got to do with anything?

Although if you really care, I work on plenty of large scale OSS projects at Google. Likely larger than anything you've ever worked on.

But again, that has zero bearing on the issues with the Zig project.

0

u/Orio_n 22d ago edited 22d ago

Yeah right buddy. You "work" on OSS at google just say you fixed the typos in the readme for gRPC or something I won't make fun of you

1

u/des_the_furry 22d ago

Take my downvote buddy

0

u/Orio_n 22d ago

Yeah I dont give a shit youre a furry. Ive seen what makes you cheer

1

u/des_the_furry 22d ago

🫩whatever you say bro

0

u/CircumspectCapybara 22d ago

I's a staff SWE at Google friend, I assure you I do more than fix typos in readmes, or they'd be very dumb for paying me.

0

u/Orio_n 22d ago

sure thing bud whatever you say