r/Compilers • • 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.

3 Upvotes

20 comments sorted by

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/The2ndSlimShady Oct 23 '26

My thoughts when creating this project was purely recreational. Getting into compiler development is hard, it is quite hard to find projects to work on. So I thought, "Why not create a project myself, that doesn't have insanely high standards/ambitions, but is aimed to be a recreational project that starters can take place in". That was my motivation. In this case, marketing the compiler/language/project by listing out distinct features is not really suitable because it is aiming to be a copy essentially.

3

u/zhivago Oct 23 '26

A great personal motive, but you can see why it may be hard to motivate others. :)

1

u/CubineGaming 25d ago

That’s likely where the issue lies. You are only working on the project just for fun and it is not unique in anyway. Other people have no reason to contribute to that instead of other languages.

NOTE: I’m not saying that its bad to just have a recreational language, just others may not be interested.

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?

1

u/The2ndSlimShady Oct 23 '26

Oh hi again, I took your advices into account and set up a 200~ test suite (still expanding) that tests various aspects. It catches bugs and has helped me fix a lot of thing I didn't know existed already. So thank you for that.

Don't get me wrong, you're trying to help, but why so aggressive (or is it my poor English or social skills that failed to read the mood of your messages)? Before I started doing my own project (which started out as a school project) I checked out people's custom compilers and attempted to contribute to places that interested me, so you points don't really snap well with me.

And yes, you can persuade me to join your project.

2

u/Mean-Decision-3502 Oct 29 '26

I've joined these subreddits as I had some working state with my compiler, and I thought I can get some contributors here. I think here are many people that made similar projects and so probably everyone prefers own project, especially when they already put lot of effort into it. Maybe I'm wrong, but I got this impression.

I think it is better to select one target group of developers and try to offer them something really much better thant the existing languages. At least I'm trying to shift this way.

I'm sure Inconstant_Moo did not wanted to be hostile, he just mentioned the problems we all have to face at some point.

1

u/Inconstant_Moo Oct 24 '26

Sorry, I didn't mean my tone to be hostile. I said, after all, that you were probably right to decide as you did. But that's a good reason why other people will probably also decide as you did.

I would of course love to have your help. There are at this point several separable interesting bits that other people could do while I work on the bit that I'm doing. Please message me.

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/The2ndSlimShady Oct 23 '26

I took a look at your project as well, it seems quite nice. Thank you for your kind words and advices!

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:

  1. Heavy E2E testing from day one: I prioritized comprehensive end-to-end tests early on, and the test suite now exceeds 1,000 test cases. When contributors see a robust test suite, it gives them the psychological safety to touch the codebase without fearing they'll silently break everything.
  2. Clear, exhaustive documentation: Putting the design into words is just as vital as writing the code. I maintain 17 detailed documentation files (over 170KB total, including the README) covering ABI, memory models, and internals so people actually understand how things work under the hood.
  3. Frictionless examples: Provide working example projects that people can clone, build, and run in seconds without fighting toolchains.

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!

2

u/Mean-Decision-3502 Oct 30 '26

I was watching the langugage announcements, but I missed yours (Hike) somehow. Its a great project!

What bothers me most, that we are all working parallel, discovering and developing frequently the same things. Kind of reinventing the wheel feeling. I was trying to ask some compiler developers to unite, but I've rather given this up.

I can confirm that the compiler tests are super important, especially with AI-assisted work. I realized this after a few weeks and developed my own tester in C++, not using any Python or shell for high execution speed and parallelism. I estimate my test cases well over 2000 (mostly AI generated). I have 340 test files but they contain usually multiple tests, some even more than 50. These tests are a very important part of your language specification. You can reimplement the compiler but these tests must go always through.

I've felt the main milestone as my first application (a simple sensor data collecting server with a small webpage) started working, and short after the second similar (these are not public). This confirmed that I've achieved that what I was dreaming of. I didn't enjoy creating the compiler so much (in C++), but I really enjoy using my programming language.

Through using my compiler and writing the reference manual I discovered several bugs or incompleteness, which I fixed. That's why I'm not trying to advertise the project, because I also think that a stable compiler and tools are very important for the user experience. I'm planning to implement a bigger project in my language (DQ). This is a more comprehensive project (MCU + Linux) and I expect to find some more language incompleteness or bugs during this development. When I finished this and the proper documenation then I might try to advertise my project again.

Your project might have been interesting for the Go or Wasm developers, which are numerous. This could lead, I think, for your good reception. My project could be very interesting for example for the (pretty abandoned) Pascal developers. So targeting a specific group of developers could be a good plan. But I wait with this shot until I finish the bigger project and the documentation rewrite.

Actually I can live when noone else is using my language. I have plenty of plans rewriting my old stuff, or creating new stuff in this language. I made this to be the best programming language I know. And you will enjoy programming in the best programming language you can imagine: yours.

I have a full-time job, I'm developing this in my free time, and I have other projects too. I'm a litte afraid of that I cannot handle lot of requests / communication, if it becomes popular. How do you feel about this Kanryu?

2

u/KATO-Kanryu Oct 31 '26

Thanks for sharing your journey! Creating a custom tester in C++ and reaching 2,000+ test cases is a huge milestone, and having practical applications running on your language (DQ) already proves you're building something real.

Regarding your question about handling requests and communication if the project gains traction—honestly, that kind of influx rarely happens overnight. Like most developers, I’ve started dozens of repos that sit at 0 stars, so I know the quiet grind all too well. When attention does start trickling in, it usually begins with just one or two curious users opening an issue.

If I could offer one piece of practical advice on managing that, it would be this: focus entirely on treating every single issue with promptness and sincerity, and make the resolution visible through GitHub’s pull request workflow.

Specifically, when someone takes the time to report a bug or suggest an improvement:

  • Avoid fixing it locally and pushing straight to main.
  • Instead, create a dedicated branch (e.g., fix/issue-12), open a Pull Request, link it to their issue (e.g., Fixes #12), and merge it via GitHub.

This simple workflow makes a world of difference. It gives the reporter immediate closure and the psychological satisfaction of seeing their report directly drive the project's commit history. It also signals to future contributors that the repo has a transparent, healthy development process they can trust.

Don't worry too much about scaling community management before it happens. Just take care of each visitor one at a time, build at your own pace, and enjoy writing code in DQ. Best of luck with the MCU + Linux milestone!

-1

u/skriptinveek Oct 23 '26

You did, but consider adding details about your project, so that one has something to judge upon