Re:Rust – Faster compilation with the parallel front-end in ...
by satvikpendem on Friday November 10, 2023 @11:28AM
(#38220830)
He did monetization the wrong way around, IMO. Most CI is on Linux, but most developers are on Windows or macOS, so he should've capitalized on the Linux builds being paid while the local developer builds on Windows and macOS being free.
[ Parent
| on HN ]
Re:Rust – Faster compilation with the parallel front-end in ...
by mariusor on Friday November 10, 2023 @11:35AM
(#38220920)
I doubt that anyone cares all that much about linking times in the CI. And even if someone does, it's probably an individual developer or team, ie, someone without decision power to pay for something as niche as a linker.
Also, mold was designed as an alternative to gold / lld, therefore it would require to be open-source and free on their main platform: linux.
Re:Rust – Faster compilation with the parallel front-end in ...
by satvikpendem on Friday November 10, 2023 @11:39AM
(#38220980)
Well, CI is where the costs are, and if the application is big enough, even a few percent reduction via faster linking times would equate to lower costs, while in contrast, developers won't really care or notice a few percent reduction on their local machine.
It's AGPL on Linux now, and they sell commercial licenses for companies that won't touch that license, and they were contemplating earlier making mold only available under a non-free source available license like BSL, so there's no "requirement" as such that it be free and open source, even on Linux.
Re:Rust – Faster compilation with the parallel front-end in ...
by insanitybit on Friday November 10, 2023 @12:25PM
(#38221647)
I care deeply about linking times on CI. It's very frustrating having your code all build and run tests locally just to wait a long time for it to pass all of the CI barriers. Plus, CI builds often go stale much faster, so you're looking at much longer build times without caches.
Re:Rust – Faster compilation with the parallel front-end in ...
by mariusor on Friday November 10, 2023 @12:47PM
(#38221974)
Sure, but you're not really contradicting me unless you're able to get your company to pay for faster tooling. And if you can, why haven't you already?
Re:Rust – Faster compilation with the parallel front-end in ...
by satvikpendem on Saturday November 11, 2023 @02:12AM
(#38228205)
Well, yes, that is the crux of this argument, that one can convince their employer to use mold. Otherwise, what is the point of using it? Desktop users by and large will not notice a small 3-5% improvement in compile times while those that pay for CI will.
Re:Rust – Faster compilation with the parallel front-end in ...
by jylam on Friday November 10, 2023 @01:32PM
(#38222615)
> Most CI is on Linux, but most developers are on Windows or macOS
Do you have any data on this ? Maybe that's industry dependent, but I hardly know any Windows (not even talking about macOS, that's almost nil) developers outside of video games and web dev. 100% of Rust devs I know use Linux, to keep on the subject.
Re:Rust – Faster compilation with the parallel front-end in ...
by satvikpendem on Saturday November 11, 2023 @02:10AM
(#38228200)
Data that most people don't use Linux as their day-to-day desktop OS for development? I suppose you can just look at desktop Linux statistics, which shows <5% usage. In my experience, most use macOS, or Windows via WSL2, which does use Linux but I am not sure if that is actually reflected in any desktop OS statistics.