r/Compilers • u/The2ndSlimShady • Oct 22 '26
How to Attract Contributors on a Compiler Project
I've been trying to create my own compiler for my custom language for some time now. But doing everything alone has started to take its toll on me. How do I even attract contributors and/or get help somehow?
Edit: Let me tell you more about the project. The language is called Cole, you can find the github and codeberg repos here and here. Cole is a recreational attempt to create a language that is similar to Zig in many aspects. It aims to be as simple and as powerful as C. My motivation behind the project was that it is really hard to get into compiler dev. Contributing to compilers is a tough process, and creating your own from scratch is also hard. So I thought, why not create something that doesn't have insanely high standards so people that are starting out can contribute easily? Essentially, Cole's purpose is not to be an active-in-industry language, but a learning one for everyone.
4
u/zhivago Oct 23 '26
The problem is that languages are a waste of time unless you have compensating network effects.
What makes your language useful enough to overcome this?
3
u/Inconstant_Moo Oct 23 '26
Well, put yourself in their position, which is easy because you are in their position. You decided that for your own recreation/learning you'd do a compiler from scratch rather than contribute to an existing project --- even though there are projects out there trying to solve problems so you could combine recreation and learning with making the world a better place.
But you decided, probably rightly, that you'd learn more and have more fun if you did the thing yourself from scratch. So do a lot of people.
In the rare case when someone does want to join an existing project, then there are three reasons I can think of why choose one other than yours: because (a) why not pick one that's also meant to be used in production and change the world? (b) why not choose something that's more novel than a Zig-alike? and (c) you test suite, which we discussed in another post. You've let your project get into a state such that you, the original author who knows the codebase inside-out, can't make a change without breaking something. How can you ask people to help you, when they have no way of knowing whether their code changes are in fact helpful?
My own project is intended for use in production to make life easier for a lot of people, it's one of the most innovative ideas round here, and it has CI with tests for all the important moving parts. Can I persuade you to join my project?
6
u/ElephantElectrical31 Oct 22 '26
maybe if you give some more details
1
u/FluxProgrammingLang Oct 23 '26
I’m in the same boat. I’ve been working on my language for about 2 years now. To be fair it’s only been 1 year of having programs that compile, and about half a year of having a somewhat decent-sized stdlib. What I’ve found is a lot has to do with documentation and tooling and how easy it is to get started with the language.
I know the feeling of doing to all by yourself. Unfortunately it will just take a while.
1
u/BidWestern1056 Oct 23 '26
what project ?
ive been building one more or less
https://github.com/npc-worldwide/npcsh
just gotta keep grinding and talking about it
1
u/Panshaogui Oct 23 '26
I felt confused about it too, but I’ve moved on from that idea. I'll just do it myself and leverage LLMs whenever needed.
Compilers are low-level tools, so it's hard to measure ROI as quickly as with application software. My current mindset is simple: get it adapted to various hardware first—Pico, ESP32, Tang Nano 9K—and solve my own problems. Only by making it exceptional will it naturally attract others. In short, I built it for myself. As for everyone else: take it or leave it.
1
u/KATO-Kanryu Oct 23 '26
I completely understand how exhausting it feels. I released my own compiled systems language about a month and a half ago. While I've been fortunate enough to hit 90+ stars and receive PRs from 5 different contributors, reading through this thread made me realize just how lucky and rare that experience really is.
In hindsight, the single biggest factor in retaining users and attracting contributors isn't language uniqueness—ironically, it's compiler quality and stability.
No matter how ambitious the vision or performance claims are, if someone tries your compiler and hits an internal compiler error (ICE), a random crash, or a broken binary, they will instantly walk away and never come back.
A few practical things that made all the difference for my project:
If your compiler is stable and crash-free, your docs clearly articulate the vision, and you provide clean examples people can immediately play with, contributors will naturally show up. Keep building, focus on rock-solid compiler quality first, and don't give up!
-6
u/rook_of_approval Oct 22 '26
just use ai
-1
u/skriptinveek Oct 23 '26
You did, but consider adding details about your project, so that one has something to judge upon