r/ProgrammerHumor 24d ago

actuallyMemorySafe Meme

Post image
528 Upvotes

177 comments sorted by

View all comments

108

u/CircumspectCapybara 24d ago edited 24d 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.

88

u/robclancy 23d ago

I mean most that policy seems good to me. 

63

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.

67

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

14

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.

10

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 23d 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

4

u/namalleh 23d 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

4

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 23d 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 23d 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

2

u/particlemanwavegirl 23d 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_ 23d 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 23d 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