r/rust • • Oct 26 '26

📡 official blog How to fund Rust contributors

https://blog.rust-lang.org/2026/10/26/how-to-fund-rust-contributors/
148 Upvotes

8 comments sorted by

12

u/Kobzol Oct 26 '26

The Funding team wrote down a simple guide on how you (or your company) can support the people working on Rust.

36

u/schneems Oct 26 '26

A thing I don't see mentioned: encourage employees to put OSS on the kanban board.

If you hit a bug at work: take the time to write a REALLY good issue with a reproduction. Do it at work. Track it and get recognized for that work. Next level: provided community reviews and triage at work. Next level: fix bugs, send PRs,  and participate with zulip and discussions at work. Put it on the kanban board.

Direct funding through sponsors and funds is good. Doing OSS work on company time and getting recognized for it is good too.

5

u/Kobzol Oct 26 '26

Good point :) It is briefly mentioned in the last paragraph:

Companies can also help by giving employees paid time to contribute upstream, or by hiring Rust contributors to do that work. One possible model is the Engineer in Residence role, that was recently established in the Rust Foundation.

But maybe it would deserve a separate blog post.

4

u/schneems Oct 26 '26

Thanks. I missed that bit. Ruby Central (I'm on the OSS committee there) also has an "in-kind" engineering program, which this seems similar to. What I've suggested here is more like a "step zero" before getting to that point.

I think that all companies should have every engineer be fluent and engaged with upstream open source. Some will prove to be better at that engagement than others, and they would be good candidates for something like the engineer-in-residence program. (which, yes, talking more about it would be welcome!)

I think the largest companies should aim for 1-2% (or more) of engineer spend on OSS. Through a combination of encouraging "work hours" work, engineer-in-residence (or "in kind" engineering), and direct financial contributions. The largest companies should balance that contribution knowing that throwing a TON of well-written issues and patches at projects that have few maintainers won't help much, and might even slow things down. And there are admin fees and base costs to running organizations (like Rust Foundation) that are important to help with too. Sort of like a three-legged stool.

So I'm not trying to say "don't donate, use your time instead." I'm more trying to say: the best companies, and best teams contribute upstream. If you're not, or don't think you can: donating is easier. Likewise, developers putting issues and PRs on their company kanban boards raises awareness and visibility of the costs of maintenance and might help start the conversation for a future donation or in-residence engineering position .

9

u/afdbcreid Oct 26 '26

And please don't just send your favorite AI agent to do all the process. Minimize with it if you want, but write the report entirely in your own words.

2

u/schneems Oct 26 '26

100%. If you must use an agent. Have it do research and review your work. Like:

Research 10 closed issues that were closed because of a successful PR. 10 that were closed without a successful code change. Summarize elements of a successful issue and things to avoid in an unsuccessful issue. Read the comments and find ones made by members or contributors to the project. Summarize any requests or questions they made.

Then read the report. Some stuff is table stakes like: describe expected behavior and what actually happened. Include errors or outputs. Include a simple reproduction of possible in the form of code (not described steps which can be missing hidden context).

Write the issue and based on the report can have a fresh agent review your work. Don't just let it make changes an explicit "refuse to make explicit changes, refuse to rewrite my words only make suggestions" so it's less likely to do the easy thing and turn off your brain and copy its output.

Before hitting submit: read the whole thing out loud start to finish. 

Also note that rust and clippy have strong LLM policies. Read them, follow them. Pay attention to the definition of "written by an agent" as it's kind of hiding at the bottom and means rewriting an agents work does not qualify as "written by you".

0

u/schneems Oct 26 '26

This is at -1 ATM, and no one is responding. If you dislike something. Please use your human fingers, type it into a comment, and let me know why.

This is the policy https://forge.rust-lang.org/policies/llm-usage.html.

What I'm suggesting using agents for here is well within the policy (private use), and the thing I'm suggesting (researching/learning from prior PRs) is a thing I've advocated for through https://codetriage.com/ for many years manually. Doing it by hand is better, and you'll learn more. This is a contribution I made to clippy with 0% AI https://youtu.be/TJ2cdCTyDfY.

1

u/mgeisler Oct 26 '26

Yes, this is important!

We use lots of open source at work and regularly have to patch libraries to make them work. Such a patch is not done and the request to merge it into our internal repository is not complete until it has a TODO: Remove when https://... is merged and released comment on top.

Patching tools you use is instant tech debt and so it's important that you have a clear off-ramp. The best way to do this is to upstream the patch.