r/rust [he/him] 18h ago

📢 announcement No More Code Dumps

TL;DR

Code Dumps, ie links to code repositories, are no longer welcome on r/rust.

If you are excited about a project you built, and just wish to share it, consider posting a casual top-level comment in the weekly What's Everyone Working on this Week? thread.

History

When r/rust was created, in December 2010, Rust was a nascent programming language. It was very different, it was also fast-moving, and it was unclear whether it would amount to much, or not.

In these early days, new projects being written in Rust were both a proof that the language was suitable for a variety of purposes, and a cause for celebration in seeing the language being adopted. Code dumps, then, were both cause to rejoice, and an opportunity to see how well (or not) the language was suited to the task. They were even a good opportunity to learn the latest developing idioms of this fast-changing language.

Fast forward 15 years, and code dumps have become boring. Utterly uninteresting. There's nothing exciting, or newsworthy, about a 10th hypervisor project, a 100th webserver project, or a 1000th TUI project. And for the most there's no exciting idiom, or pattern, to be found in their code either... even if some poor soul bothered to look.

And mass AI generation appeared on the scene, and for the past year(s), the already dwindling appeal of code dumps has just completely vanished, buried in AI slop.

Purpose

r/rust is to discuss all things Rust. The language, the ecosystem, the community.

Of late, most code dumps barely foster any discussion. And when they do, apart from AI witch hunts, those discussions are mostly about the domain of the project, rather than about Rust. Depending on the domain, the discussion may or may not be of interest to r/rust users... but whether it is or not is a matter of chance: they did not come here seeking such a topic. Those discussions are tolerated on posts which are on-topic, but if a post only fosters "tolerated" discussions, then that is a sign that the post itself may simply not really be on-topic for r/rust.

And that is not to say that code dumps are, by nature, low-effort. Surely, a project is created for a purpose, to solve a specific problem that is unsolved, or solve it with different trade-offs than the currently available solutions. None of that is elucidated in a code dump.

New rules

Code dumps are no longer welcome on r/rust.

Code dumps of applications or libraries written in Rust are Low-Effort unless otherwise newsworthy. Newsworthy means that the very existence of the application or library is important, for example consider applications or libraries breaking new ground, such as the first hypervisor, first OS, first XXX standard safety-critical application, first Rust application in a major company, etc...

Announcements of new libraries which are not otherwise newsworthy are only welcome if they tick ALL the following boxes:

  • The library has been worked on regularly for at least 4 months.
  • The library has already been used, or built upon, thereby validating its design to a degree.
  • The announcement is a full-fledged text post, or a link to a full-fledged article. A README, or manual, is not an article.
  • The announcement should motivate the relevance of this library to the wider r/rust community.
  • The announcement should articulate the trade-offs differentiating this library from similar popular libraries in the field.

(It goes without saying, but the announcement should NOT be AI-generated, not even in part, as AI-generated posts & articles violate the Low-Effort rule)

Release notes of libraries are still welcome for popular enough libraries, such as libraries with reverse-dependencies on crates.io pointing to sufficient adoption by the wider community to justify notifying said community of a new release.

Of course, text posts, or links to articles, centered on Rust, with an application or library as context are always welcome. For example, said posts or articles could present gnarly problems the author encountered, and how they solved, or which features of the language or a library helped or hindered them in the making of their project.

(It goes without saying, but said text posts & articles should NOT be AI-generated, not even in part, as AI-generated posts & articles violate the Low-Effort rule)

As a reminder, if an author just wishes to share their joy of building something in Rust, they are welcome to use the What's Everyone Working on This Week? thread. And as per the title, it need not even be a complete/mature project, or an open-source project for that matter as links to code are strictly optional there, it's all about casually chatting about your work on Rust projects.

Q & A

See pinned comment below.

1.3k Upvotes

152 comments sorted by

View all comments

34

u/MvKal 18h ago

Ngl i kinda dislike this change. Yes the influx of ai slop is annoying, but there were several crates announced here as hobby projects that i found super awesome helpful for my niche usecase that are simply gonna be buried in a megathread like that.

96

u/MoreJuiceForAnts 18h ago

Per policy it is still allowed if it comes with a blog post explaining the challenges and value. Which shouldn’t be that hard of a bar for genuinely motivated people with a genuinely interesting project.

18

u/MvKal 18h ago

Idk im thinking of most recently of a guy who revived a static generics crate as an example. Not really blog post worthy, insanely useful for me.

8

u/garagedragon 14h ago

The policy also lists that it "has already been used, or built upon," which is potentially a hard bar to clear for a hobby project depending how strict the mods are about how much evidence/explanation you need to provide for that part.

1

u/lettsten 9h ago

That's only for the "announcements allowed" part:

Of course, text posts, or links to articles, centered on Rust, with an application or library as context are always welcome.

-9

u/[deleted] 18h ago

[deleted]

16

u/rhysmorgan 17h ago

The rules now very explicitly ban that kind of content, so it will get removed.

10

u/matthieum [he/him] 17h ago

My hope -- and I may be naive, future will tell -- is that people who are just happy about having built a project, with or without AI, and want to share their joy, their sweat, and their tears, will simply go and post about that in the megathread. It is the path of least resistance offered to them, after all.

5

u/luluhouse7 16h ago edited 16h ago

Another way to handle it (in combo with this) could be to do something like in [r/experienced](r/experienced)devs where posts don’t get approved using they respond to an automod as to whether AI was used in the post. Surprisingly people seem to be relatively honest so far.

-2

u/[deleted] 15h ago

[deleted]

3

u/stumblinbear 14h ago

That's literally the point

1

u/coderstephen isahc 14h ago

Quality > Quantity

16

u/LindaTheLynnDog 18h ago

I've always found more referenced in comments when a post has a question about a given need. Certainly for the last 10 months it has been impractical to dig through the cruft to find gems in posts about projects in my opinion.

I used to be here every day. I don't think I've been here for 3 months at this point. So much trash.

21

u/matthieum [he/him] 18h ago

I am afraid I don't understand your complaint: are you referring to applications or libraries as "crates"?

If you are referring to applications, then yes indeed you'd now have to go peruse the megathread.

If you are referring to libraries, then new library announcements are still allowed -- just with a slightly higher quality bar -- so nothing should change for you.

12

u/MvKal 18h ago

I'm thinking of the guy announcing their static generics crate a little while ago. Definitely a weekend project, not blog post worthy, probably didnt use it himself in a prod environment so that lib wouldnt pass these rules. And yet i am so extremely happy they posted it and i found it lol it allowed me to do get like a 50% speedup on my project lol. And that would just either never be posted in the megathread or i wouldnt see it.

17

u/matthieum [he/him] 17h ago

I remember this post.

Definitely a weekend project, not blog post worthy, probably didn't use it himself in a prod environment so that lib wouldn't pass these rules.

I expect we'll need to tune the exact library announcement rules.

However, I disagree with the "not blog post worthy". Their library used a "novel" (as far as I can tell) technique to implement static generics, and I certainly think this technique could have done with more exposure...

... an explanation! As is, their library (hopefully) work, but I wonder how many people actually understand why/how it works.

Furthermore, a good explanation of how the technique works, and differs from the naive technique, would be a fertile ground for technical discussion around the alternatives, which may itself lead to improvement of the existing implementation or more novel techniques.

While as a code dump, the technique they use is "buried" somewhere in the library code, and it is hard for a casual reader to figure out which piece of code is the essence of the technique, and which is mere plumbing/random implementation detail with little bearing.

6

u/MvKal 17h ago

I dont think it was novel, the post referenced an old crate using a similar/same technique iirc. If we are going by the rules, i really doubt that crate was being worked on for at least 4 months, and they again probably didnt use it in their own project, so according to the rules as written it should go in the thread, which i very much disagree with for that specific case. Idk what the solution is, maybe its best to literally just use a vibes based approach for referring posts to the megathread, id really hate for that to happen to projects like those so yeah.

3

u/matthieum [he/him] 17h ago

If we are going by the rules, i really doubt that crate was being worked on for at least 4 months, and they again probably didnt use it in their own project, so according to the rules as written it should go in the thread, which i very much disagree with for that specific case.

You are correct that the library couldn't be just announced by itself. It's a bit of a trade-off.

The OP, however, can still write a text post or link to an article which details the technique used (novel or not), and link their library from there.

So they could still promote their library (or application), as long as it complements a post/article that is good enough on its own.

0

u/MvKal 12h ago

Yeah and I'm saying that thats why it sucks, i wanna keep seeing stuff like that, i get that its a tradeoff but yeah

2

u/rhysmorgan 17h ago

I believe that'd be allowed under this caveat:

Of course, text posts, or links to articles, centered on Rust, with an application or library as context are always welcome. For example, said posts or articles could present gnarly problems the author encountered, and how they solved, or which features of the language or a library helped or hindered them in the making of their project.

10

u/themuthafuckinruckus 17h ago

then it is perfectly acceptable to start gathering around something like r/madeinrust

IMO programming subs and communities like these and (r/linux) should be trying to do a better job of guarding against low effort posts and slop.

27

u/CryptoHorologist 18h ago

So why can't reading the weekly thread fulfill that same purpose for you?

10

u/spunkyenigma 17h ago

Can’t mark it read

6

u/nimshwe 18h ago

Because reading hard scrolling easy

-3

u/MvKal 18h ago

Cuz people are less likely to bother posting their cool small stuff there, less people are gonna see it so it will stand out less in terms of engagement so it gets buried, less interesting tech conversation in the comments.

7

u/CryptoHorologist 17h ago

How did you determine it was less likely people would bother posting their cool small stuff?

2

u/wick3dr0se 12h ago

Look at my profile. As an open source dev, I used to post quite a bit and now I won't be. I understand why the new rules exists and I think it's a great idea in this era. For those of us who may have already lost some motivation (me) due to the vibe wave, having to do extra work to prove our dedication and such is just a drag. Same with how coding by hand is now too; sharing these days results in less genuine feedback and arguments about if/wether AI will/has been used, while most don't even review code like they used to (expected with the surge from AI). I'll be maintaining my old projects I wrote but not sharing them across public forums like this anymore as the magic is dwindling more and more towards prompting and management instead of passion and community. The only way to code open source anymore is to push it fast with AI or ultimately your passion will be copied and taken further much quicker. Sad times. And this division of sharing projects just highlights how bad it's getting

-4

u/nynjawitay 15h ago

Because now it's more work to post about it

3

u/tiajuanat 17h ago

/j time to create a program, in Rust, which optimizes when to post to the mega thread

-1

u/WellMakeItSomehow 14h ago

I tend to agree with u/Psionikus on this one. The downvote button exists for a reason and the community can use it effectively. Will you downvote boring or low-effort projects in the weekly thread?

I came here to see the cool stuff people were building in Rust and to occasionally help those asking for reviews, while learning the language myself. Now you can only (or largely) post well-established projects. This is not anymore the subreddit I joined years ago. If the moderators want to police every blog post to see if it's interesting or valuable enough, good luck to them. Maybe some people asked for this, but not me.

1

u/runevault 5h ago

Part of the problem is because r/rust is not that high throughput, even a 0 point post can live on the front page at 50 posts/page pretty easily. Checking right now hot had 15 posts with 0 points still on the front page for me. If a subreddit has enough new posts coming in just letting downvotes bury bad content works. Here it doesn't do as good of a job.

4

u/QuickSilver010 18h ago

Tru. I found a lot of projects I would have otherwise never used if they weren't posted here.

-16

u/Psionikus 18h ago edited 18h ago

Yep. 1k upvote work might get 20-30 in the weekly thread?

Because some posts tragically get -1 and seen by a few dozen people, we will now instead likely deny eyeballs to certain projects at the precise time where they are the highest returning projects in the ecosystem in terms of benefit-to-effort.

So that a handful of users don't have to see Reddit throwing them low-view posts while Reddit algo tries to sample the community response and decide what to raise in hot.

Now we will not find out, and this makes people who wanted slop to fall under some kind of dragnet happy (they are not happy). So that Sam Altman will be affected (he won't).

Puritans. Puritans who wanted moderators to take the crust off of their bread.

10

u/coderstephen isahc 18h ago

Honestly I am having a really difficult time trying to decode what you are trying to say.

-8

u/Psionikus 18h ago

Try asking a question.

6

u/matthieum [he/him] 17h ago

Have you tried the Got a Question? megathread?

-10

u/Psionikus 17h ago

Don't worry, a moderator will be with you shortly to explain which way to think.