Most active commenters
  • epolanski(3)

←back to thread

165 points smlavine | 28 comments | | HN request time: 0.432s | source | bottom
1. WhereIsTheTruth ◴[] No.45112232[source]
> CI & Website $14,986.73

What a waste of money, seriously

replies(8): >>45112409 #>>45112460 #>>45112466 #>>45112869 #>>45113019 #>>45113171 #>>45113483 #>>45113808 #
2. sroerick ◴[] No.45112409[source]
This would not be wildly out of place for a small to medium business running a business card website. On the high end, certainly, but not unheard of.

But if it's also including the cost of all the CI and build steps for the entirety of Zig infra?

That seems pretty reasonable for me. Although maybe my cousin Katie could do it for 1/10th the price in WordPress

replies(1): >>45113284 #
3. OsrsNeedsf2P ◴[] No.45112460[source]
Given they bought their own machines to not perpetually pay cloud infrastructure...
4. AndyKelley ◴[] No.45112466[source]
For comparison, in the same year Rust Foundation spent $567,000 on this category - more than ZSF's entire expenses for everything. That's 38x more money.

Source: https://rustfoundation.org/wp-content/uploads/2025/01/Annual...

replies(4): >>45112608 #>>45112878 #>>45113579 #>>45127618 #
5. modernerd ◴[] No.45112608[source]
The report says that includes two full-time infrastructure engineers. Which isn’t crazy given Rust infrastructure’s userbase and traffic.

$15k seems pretty lean to me for Zig since it includes hardware purchases.

6. pabs3 ◴[] No.45112869[source]
Meanwhile, Debian spends $0 on CI, buildds, website, package distribution. Its all donated by hardware/CDN/hosting partners.
replies(2): >>45112935 #>>45113299 #
7. anonfordays ◴[] No.45112878[source]
>That's 38x more money.

Rust gets at least a 1000x more usage than Zig, so their infrastructure costs are not as bad in comparison.

replies(1): >>45113033 #
8. dns_snek ◴[] No.45112935[source]
Zig team didn't want to be beholden to the whims of outside sponsors which is an understandable position.
replies(1): >>45133963 #
9. epolanski ◴[] No.45113019[source]
How so?
10. epolanski ◴[] No.45113033{3}[source]
> Rust gets at least a 1000x more usage than Zig

1. I highly doubt your ballpark estimate.

2. I don't think CIs care that much how many users a language has, they care about the number of computations they need to run for each commit/merge.

replies(3): >>45113577 #>>45113993 #>>45120024 #
11. Galanwe ◴[] No.45113171[source]
Zig CI runs all compiler stages, I guess that's why. Does not seem crazy to me.
12. kristoff_it ◴[] No.45113284[source]
It's also the one-time cost of buying some machines, not just renting.
13. kristoff_it ◴[] No.45113299[source]
So in practice money is effectively being donated (donating hw is not free) to be spent on CI, not very differently than in our case, but you're delighted to not know the numbers and like to imagine it's $0. Ok :^)
14. weavie ◴[] No.45113483[source]
There are projects that spend more than that every day.
15. testdelacc1 ◴[] No.45113577{4}[source]
I don’t think that ballpark estimate is that far fetched? Usage isn’t a reflection of the merits of the two languages. Rust is simply older. It reached 1.0 10 years ago, and it is further along the adoption curve. Zig is yet to reach 1.0 and has mostly early adopters like bun, TigerBeetle and ghostty. I have no doubt that usage will substantially increase once Zig reaches 1.0.

To give you a sense of Rust’s growth, check out this proxy for usage (https://lib.rs/stats). Usage roughly doubled each year for 10 years. 2^10 = 1,024. It’s possible Zig could manage a similar adoption rate after reaching 1.0, but right now it’s probably where Rust was in 2015.

> CIs don’t scale with the number of users

Each Rust release involves a crater run, where they try to compile every open source Rust repo to check for regressions. This costs money and scales with the number of repos out there. But it is true, this only happens once in 6 weeks.

But I think the factor that makes a bigger difference is that Rusts code bases are larger and CI takes longer to run on each commit.

replies(2): >>45113713 #>>45113871 #
16. timeon ◴[] No.45113579[source]
In every Zig thread, someone needs to mention Rust /s.
17. epolanski ◴[] No.45113713{5}[source]
> is that Rusts code bases are larger

And Rust compilations are much slower too.

18. ivanjermakov ◴[] No.45113808[source]
> Some of these costs were one-time costs to purchase machines that sit in our homes and offices

We don't know much of it was burned to cloud. Perhaps in 2026 report in will be $0 (or just electricity costs) because it all runs in-house.

19. veber-alex ◴[] No.45113871{5}[source]
crater runs are constantly running [1]. Every time there is a PR with any danger of causing a regression a crater run can be requested.

[1]: https://crater.rust-lang.org/

replies(1): >>45113907 #
20. testdelacc1 ◴[] No.45113907{6}[source]
My mistake, sorry!
21. veber-alex ◴[] No.45113993{4}[source]
1000x seems low to me.

Rust is used in production by many companies out there.

22. ◴[] No.45120024{4}[source]
23. ksec ◴[] No.45127618[source]
Hi Andrew - From an PR perspective, I think now that zig have enough attention it may be better to stop doing comparison with or even mentioning Rust.

Rust was hated not because of Zig or any other languages, but their Rust Evangelism Strike Force. Some day these comparison may back fire. Zig can stand on its own now, and already quite widely known. May be best to have peace rather than war.

Just my ( may be useless ) 2 cents.

replies(3): >>45127935 #>>45131070 #>>45131893 #
24. ozgrakkurt ◴[] No.45127935{3}[source]
Also agree with this. I don’t see rust and zig that similar. People building it, governance behind it, use case and just overall vibe.

Don’t find myself choosing between rust/zig after using them both a decent amount

25. hitekker ◴[] No.45131070{3}[source]
Agreed. The leaders of Zig should stop bringing up competitors unless specifically relevant.

The RESF became unbearable because Rust leaders quietly encouraged language wars online, and especially offline. Zig should avoid that fate.

26. AndyKelley ◴[] No.45131893{3}[source]
Rust is not hated. Rust is a widely loved and successful project, growing more popular every year.

There's no war here, only facts that help an ignorant person gain perspective about how much things cost.

27. pabs3 ◴[] No.45133963{3}[source]
They are still dependent on sponsors, just ones that donate cash instead of resources.
replies(1): >>45137680 #
28. dns_snek ◴[] No.45137680{4}[source]
That's true but I'm pretty sure that the goal is to have a large number of individual sponsors. A handful of large corporate sponsors can later try to use their sponsorship to exert unwanted influence over the project.