News for hackers. Stuff that matters.
Re:Mold may switch to non-commercial-only license by fefe23 on Sunday November 13, 2022 @01:33PM (#33585901)
I love mold and wish the author all the best, but I don't think this will work.

First of all, the usual suspects who rip off high quality open source projects have been known to just create a fork if the license changes (see Amazon and Elasticsearch). If you do this, you have to have the right license from the start.

Second I'm not sure the value proposition is great enough to warrant corporate payments. As awesome as mold and its performance savings are, I don't think they even register on the dashboard of corporations. Maybe a few companies selling build pipeline services could be persuaded, like Github and Gitlab, But for those I think it would make more sense to talk to them and get them to give money voluntarily.

In my experience companies don't just give you money. They do it if they are acutely aware of a problem, like when OpenSSL turned out to be massively underfunded and lots of corporations realized they are dependent on it. I don't think any company is dependent enough on mold yet.

I think the author should talk to the Linux foundation or the LLVM foundation and should get them to pay him a stipend or something. With this move he'll probably not help the situation much.

Also AGPL is already pretty restrictive. Are you sure there are corporations ripping you off? Could it be that they just never even heard of mold?

Re:Mold may switch to non-commercial-only license by _dhruva on Sunday November 13, 2022 @02:02PM (#33586209)
> Maybe a few companies selling build pipeline services could be persuaded, like Github and Gitlab

The problem is almost all CI/CD jobs use custom docker images bundled with distro provided compiler toolchains.

Replacing linker in CI/CD jobs transparently is extremely hard/impossible/undesirable.

Re:Mold may switch to non-commercial-only license by fefe23 on Sunday November 13, 2022 @03:21PM (#33586930)
Excellent point, it might run counter to the idea of building exactly as if on that platform! Didn't think of that.
Re:Mold may switch to non-commercial-only license by secondcoming on Sunday November 13, 2022 @03:27PM (#33586989)
You can package it up yourself, put it in a private repo like JFrog, and build a new Docker image.
Re:Mold may switch to non-commercial-only license by wyldfire on Sunday November 13, 2022 @02:33PM (#33586512)
> First of all, the usual suspects who rip off high quality open source projects have been known to just create a fork if the license changes (see Amazon and Elasticsearch). If you do this, you have to have the right license from the start.

It's probably not tested in court but I don't think Rui is obligated to continue to provide AGPL for old source code, just because he had before. Perhaps if you could determine when someone became a licensee, you could say that old/existing licensees can continue to use the old terms. But new licensees can be obligated to use new terms.

> I think the author should talk to the Linux foundation or the LLVM foundation and should get them to pay him a stipend or something. With this move he'll probably not help the situation much.

I doubt either of those organizations would fund Rui's work here. But it might be interesting to try and combine efforts with some of the incremental-compile/link ideas in Rust, Zig, and C++.

> Could it be that they just never even heard of mold?

This is likely the case. Maybe it would make sense to advertise it at conferences like OSSNA or similar.

Re:Mold may switch to non-commercial-only license by leni536 on Sunday November 13, 2022 @02:41PM (#33586564)
> It's probably not tested in court but I don't think Rui is obligated to continue to provide AGPL for old source code, just because he had before. Perhaps if you could determine when someone became a licensee, you could say that old/existing licensees can continue to use the old terms. But new licensees can be obligated to use new terms.

Any old licensee that holds the source of the old code with the original AGPL license can distribute the code with the original license to anyone else. They have the license to do so.

That is anyone can just press fork on github, and keep distributing all the AGPL versions with the original license.

Re:Mold may switch to non-commercial-only license by omoikane on Sunday November 13, 2022 @02:43PM (#33586583)
I wonder if AGPL is exactly the problem. There are certain large corporations that wouldn't touch anything with AGPL, and thus have little incentive to sponsor projects like mold because they see little benefit from it.

Dropping AGPL might be a step in making friends with some corporations while losing some open source friends, but the latter don't pay the bills.

Re:Mold may switch to non-commercial-only license by fefe23 on Sunday November 13, 2022 @03:29PM (#33587010)
This argument may make superficial sense if you talk about a library, which is not the case here.

The AGPL does not prevent Amazon from linking their proprietary code with mold. It prevents you from selling a linker service that is built on mold without giving people the source code to mold.

My understanding of AGPL is that Amazon wouldn't even have to open source their service. So the license is not in the way of commercial exploitation.

In fact, OP makes exactly that point, that he is thinking about needing a more restrictive license, not a less restrictive one.

Re:Mold may switch to non-commercial-only license by lights0123 on Sunday November 13, 2022 @04:16PM (#33587415)
As an example of a company that doesn't touch AGPL, Google's policy is to "maintain an aggressively-broad ban on all AGPL software": https://opensource.google/documentation/reference/using/agpl...
Re:Mold may switch to non-commercial-only license by bembo on Sunday November 13, 2022 @07:07PM (#33588723)
They make it sound like some kind of deadly disease.
Re:Mold may switch to non-commercial-only license by fomine3 on Sunday November 13, 2022 @07:12PM (#33588761)
It seems that this is why the author (ex-googler) chose AGPL. It's FLOSS but also works as a barrier for them.
Re:Mold may switch to non-commercial-only license by bb88 on Sunday November 13, 2022 @05:07PM (#33587880)
> My understanding of AGPL is that Amazon wouldn't even have to open source their service. So the license is not in the way of commercial exploitation.

There's no linking exception in the AGPL. As Google says, the risk is clear.

    "The primary risk presented by AGPL is that any product or service 
     that depends on AGPL-licensed code, or includes anything copied 
     or derived from AGPL-licensed code, may be subject to the virality 
     of the AGPL license. [1]"
IANAL, but some will go further and say that merely looking at AGPL code would be enough to trigger the license, since at some point you could "derive" things from the AGPL'd code base which could then taint every other closed source SaaS project you work on.

This could happen if you wrote an closed source alternative to the original AGPL'd project, and wondered how a particular algorithm was written, e.g.

[1] https://opensource.google/documentation/reference/using/agpl...

Re:Mold may switch to non-commercial-only license by bccdee on Sunday November 13, 2022 @05:18PM (#33587982)
Using mold to link your binaries is not the same as linking mold itself. GCC is GPL'ed, but things compiled with GCC are not.
Re:Mold may switch to non-commercial-only license by spijdar on Sunday November 13, 2022 @05:27PM (#33588045)
I think it's worth pointing out that regardless of what is true or not true, Google has spelled out their interpretation, and their explicit and (exact quote) "aggressively-broad ban" on use of AGPL software within Google.

Beyond the legal implications of software, there are social ones too. I admit that I'm reluctant to use AGPL software when a differently licensed alternative is available, just out of a general stigma around it. I'm not defending that stigma, far from it, but I think it's fair to point it out, and point out that big corporations like Google are very, very allergic to AGPL (whether it's legally warranted or not)

Re:Mold may switch to non-commercial-only license by bccdee on Sunday November 13, 2022 @10:18PM (#33589886)
AGPL only differs from GPL with regard to services provided over networks, which doesn't really apply here. Beyond that, AGPL is no more viral than GPL. So "there's no linking exception in the AGPL" is really irrelevant considering that there isn't one in GPL either, and I'm sure Google uses GCC.

Yes, there's a stigma against AGPL, but a blanket policy against using AGPL'ed software will occasionally ban something totally unproblematic, which is the case here.

Re:Mold may switch to non-commercial-only license by ksec on Monday November 14, 2022 @06:23AM (#33592587)
>This argument may make superficial sense if you talk about a library, which is not the case here.

That is only the case if you are thinking it as a programmer.

The company doesn't want anything AGPL. It doesn't matter where you grant special permission, or your product fits the AGPL like what you describe. The company wants ZERO AGPL.

It is also not about what APGL said, or what you think APGL said, or what the court and lawyer thinks AGPL said. They dont want AGPL. Full Stop.

Re:Mold may switch to non-commercial-only license by poulpy123 on Sunday November 13, 2022 @03:27PM (#33586992)
He is specifically explaining that big companies are using his code. They are not afraid of AGPL but they just don't want to pay him
Re:Mold may switch to non-commercial-only license by josephcsible on Sunday November 13, 2022 @07:13PM (#33588774)
Didn't the author already sell exceptions to the AGPL? If companies that refused to use AGPL wouldn't just buy one of them, why would they pay him under his new scheme?
Re:Mold may switch to non-commercial-only license by josephcsible on Sunday November 13, 2022 @07:11PM (#33588758)
> First of all, the usual suspects who rip off high quality open source projects have been known to just create a fork if the license changes (see Amazon and Elasticsearch).

Your moral connotations are backwards. Elastic did a bad thing by changing their product from a FOSS license to a proprietary license. Amazon did a good thing by forking the last FOSS version and maintaining that one. (Yes, it's weird to think of Amazon as the good guy, but even a stopped clock is right twice a day.)

Re:Mold may switch to non-commercial-only license by wbond on Monday November 14, 2022 @07:58AM (#33593288)
I know various companies have been looking into sponsoring his work for iOS, since it can make a big difference in the edit/build/run cycle since linking times can be fairly high. I was even personally supporting it for those reasons for a number of months.

From what I understand, it is part way there to fully supporting what is needed on macOS/iOS, but then it is hard to throw money at it when it isn’t a replacement yet, especially since sponsorship isn’t guaranteeing work goes into your needs.

So sort of a chicken and egg situation. Recently it seems work has been focused on some mainframe architectures, and I wasn’t actually using it at all, so I stopped sponsoring.

All this to say is that it isn’t specific to mold, but open source projects in general. If the source is available and it works, there is no incentive to sponsor, and if it doesn’t yet do what you want, there isn’t a guarantee that your sponsorship will move the needle.