News for hackers. Stuff that matters.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by superb_dev on Friday March 21, 2025 @07:24PM (#43441784)
Which freedoms are being attacked?
Re:Oxidizing Ubuntu: adopting Rust utilities by default by endgame on Friday March 21, 2025 @07:33PM (#43441837)
Remember when Red Hat tried to lock away the source code to subscribers only? I think they would have preferred not to provide source at all, but the enormous base of GPL code entangled with everything make that impractical.

I think we're really going to miss having the fundamental parts of the system available under strong copyleft, and it will be very hard to go back.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by stouset on Friday March 21, 2025 @08:01PM (#43442004)
Everything in uutils is under the MIT license. The only thing you're missing is the "viral" nature of the GPL. Nobody in the BSD world seems to be particularly suffering under the thumb of unreleased forks of `chown` and `mkdir`.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by desumeku on Friday March 21, 2025 @08:14PM (#43442075)
Yes, and if BSD was what everyone used for servers instead of Linux, then there would be nothing stopping Oracle from selling you Oracle BSD for a nice subscription price. Of course, they and red hat are already doing this in their own way that gets around the GPL, but a more permissive license would just allow them to do it even more.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by jzb on Friday March 21, 2025 @09:32PM (#43442481)
Of all the things that constitute a value ad that might allow Oracle or any other company to sell a premium operating system and do away with reciprocal licensing, the core utilities aren’t it. There are already permissively, licensed versions of most of those tools. If people want to champion the GPL and so forth, this is not the hill to die on it’s not really even a hill. It’s a mole hill. That’s not to say that I undervalue the worth of these utilities, but they are not something that people are going to pay premium prices for.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by stouset on Saturday March 22, 2025 @01:27AM (#43443781)
You don’t need to imagine. Apple ships macOS with a BSD user space. The sky has not fallen.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by immibis on Saturday March 22, 2025 @06:57AM (#43444905)
If Linux was the way macOS is, nobody would use it. They'd use macOS, to Apple's great benefit.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by stouset on Saturday March 22, 2025 @01:17PM (#43447197)
I genuinely don't follow your point.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by superb_dev on Sunday March 23, 2025 @03:46PM (#43455350)
I already prefer macOS over Linux for my desktop, to Apple’s great benefit
Re:Oxidizing Ubuntu: adopting Rust utilities by default by CamouflagedKiwi on Saturday March 22, 2025 @03:53AM (#43444255)
There's nothing stopping Oracle from selling us Oracle Linux for a nice subscription price either. The GPL is explicitly not meant to prevent commercialisation of software.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by WD-42 on Saturday March 22, 2025 @12:33AM (#43443563)
What exactly is this BSD world that you speak of? The one that was mined by corporations for years and whom never gave back anything (except value to Apple shareholders). Compare with Linux which was adopted by corporations and were legally forced to give back. Which made more progress?
Re:Oxidizing Ubuntu: adopting Rust utilities by default by IshKebab on Saturday March 22, 2025 @07:43AM (#43445087)
> never gave back anything

Apart from Clang/LLVM and WebKit you mean?

Ok in fairness the LGPL license of KHTML was a huge reason the WebKit source was available (for ages it was just reluctant tarball dumps) but I don't think that's the case for LLVM.

I don't think the GPL has really meant corporation's have given back significantly to Linux. There are still plenty of closed source drivers. The main motivation to give back is the extremely high cost of maintaining out-of-tree modifications (e.g. Android's binder).

Re:Oxidizing Ubuntu: adopting Rust utilities by default by bfrog on Saturday March 22, 2025 @08:48AM (#43445361)
LLVM has spawned probably a dozen vendor supplied toolchains that you never see the source for, best of luck figuring out why your program didn't compile correctly, or adding support for something other than the tools/languages provided.

The compiler and toolchain really are going the wrong direction with LLVM in terms of open source.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by cozzyd on Saturday March 22, 2025 @07:01PM (#43449373)
Yes Apple's clang weird ass versioning causes all sorts of problems too
Re:Oxidizing Ubuntu: adopting Rust utilities by default by dzaima on Friday March 28, 2025 @12:44AM (#43501627)
Some proprietary-friendly compiler would've appeared in one way or another at some point. I'd rather such at least have some amount of openness. Better than many crappy from-scratch completely-proprietary vendor compilers at least.

And hey some of the work does get upstreamed, which is probably a good choice for the vendor anyway if the target in question isn't intended to be immediately thrown in the thrash and forgotten.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by codeguro on Sunday March 23, 2025 @01:30PM (#43454369)
>Ok in fairness the LGPL license of KHTML was a huge reason the WebKit source was available (for ages it was just reluctant tarball dumps) but I don't think that's the case for LLVM.

It was originally supposed to. https://lists.gnu.org/archive/html/emacs-devel/2015-02/msg00...

Re:Oxidizing Ubuntu: adopting Rust utilities by default by ddulaney on Friday March 21, 2025 @08:04PM (#43442022)
The last 2 paragraphs of this interview with David Chisnall really made me think differently about that: https://lobste.rs/s/ttr8op/lobsters_interview_with_david_chi...

In particular:

> I think the GPL has led to fairly noticeable increase in the amount of proprietary software in the world as companies that would happily adopt a BSDL component decide to create an in-house proprietary version rather than adopt a GPL’d component.

It also aligns with my experience: my company couldn’t find an LZO compression library that wasn’t GPL’d, so the decision was between implementing one in-house or cutting the feature. We ended up restricting use of the feature to in-house use only, but opening up our core source code was never an option.

If there had been a permissive license option available, we would’ve likely donated (as we do to several other dependencies), and would’ve contributed any fixes back (because that’s easier to explain to customers than “here’s our patched version”).

Re:Oxidizing Ubuntu: adopting Rust utilities by default by spankalee on Friday March 21, 2025 @08:19PM (#43442105)
I've seen this personally. Google does not allow GPL code to imported into the massive monorepo. If I needed a library and the only good OSS option was GPL, I'd write it from scratch instead. I'd also usually not open source those things if this wasn't part of an already open source project, because it wasn't worth the effort.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by PaulDavisThe1st on Friday March 21, 2025 @08:32PM (#43442191)
So, the company wants us to trust them - trust that they will not take advantage off the BSDL to do things the GPL would prohibit them from doing. And we're supposed to trust them because doing so means that there would be more "hands on deck" (e.g. working on the now-canonical LZO compression library that everyone uses because it is BSDL).

Sorry, trust has been broken too often in these scenarios, and the benefits of lots more people working on the same library are not entirely clear.

I understand that many companies don't want to be a part of the pool of software licensed under the GPL - that is their right. But don't try to spin this "if only BSDL was the common one, there'd be a much bigger utilization of a different pool of software". That might even be true, but it would come with the caveat that tivoization would always be an option, which for some of us is something more significant.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by Barrin92 on Friday March 21, 2025 @11:30PM (#43443167)
It's not about trust, it's about the fact that 10% of something, or even the chance of 10% of something, is better than guaranteed 100% of nothing. You're not being taken advantage of if someone uses a BSD license the way it's supposed to be used.

If I put two choices in front of someone, the binary option of copyleft vs proprietary and they'll always go proprietary, or I give them something permissive and there's at least the chance they contribute back, the second option is strictly better. It's sort of the equivalent of having a wealth tax that raises no revenue, I'd rather have you here contribute something than move abroad and get nothing, even if the benefit is more indirect

Re:Oxidizing Ubuntu: adopting Rust utilities by default by WD-42 on Saturday March 22, 2025 @12:36AM (#43443576)
It's not 100% of nothing. If the choice is proprietary because they legally can't freeload off FOSS due to it being GPL, the company in question still needs to pay a developer to write the alternative. That's still a positive, and nothing lost. Permissive licenses just grant to freedom to freeload, nothing more.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by ddulaney on Saturday March 22, 2025 @12:44AM (#43443634)
I don’t think it would’ve in our case, at least. I actually quite like our OSS policy: basically, we don’t want to be in the business of maintaining forks, so all changes should try to get upstreamed if at all possible. It‘s good client service as well: when our clients ask about the libraries we use, we’d much rather be able to tell them “the latest public version” than “here’s our fork”.

We also want to engage with and donate to the projects we use, mostly out of risk management: if they go unmaintained that’s bad for us.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by WD-42 on Saturday March 22, 2025 @07:26AM (#43445021)
If you truly want to upstream changes to libraries then I don’t see why lgpl code isn’t a choice for you. Use it in your proprietary code if you want, no changes no foul. If you make changes you just need to upstream or make the source available.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by jcranmer on Saturday March 22, 2025 @08:15AM (#43445222)
> If you truly want to upstream changes to libraries then I don’t see why lgpl code isn’t a choice for you.

Read LGPL a little more carefully. LGPL requires you to use it in a particular manner that lets any user swap out your version for their version, which basically means you're only allowed to dynamically link it as a shared library. Even if you make no changes to the library!

Re:Oxidizing Ubuntu: adopting Rust utilities by default by joshuaissac on Saturday March 22, 2025 @04:12PM (#43448277)
> that lets any user swap out your version for their version, which basically means you're only allowed to dynamically link it as a shared library

I had thought that the dynamic linking requirement was the only option according to the licence, but apparently not. According to 6.a. of v2 and 4.d.0. of v3 of the LGPL, it would be enough to give the user access to the source/object code of the main application and the compilation scripts under non-open-source terms, so that they can recompile and statically link it against their own version of the library.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by nindalf on Saturday March 22, 2025 @03:43AM (#43444219)
I think the wealth tax analogy is fantastic because some people genuinely hate rich people so much that they’d rather they left the country.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by bauruine on Friday March 21, 2025 @08:39PM (#43442242)
Yes there exists now more proprietary software but you wanted to create proprietary software with it anyway so this kind of is what parent was talking about that some people don't want.

Partly related. Would you have paid if the project had offered a paid non GPL licence?

Re:Oxidizing Ubuntu: adopting Rust utilities by default by ddulaney on Saturday March 22, 2025 @12:38AM (#43443585)
We (engineers) actually wanted to for another GPL’d project! But because they didn’t have a CLA, the lawyers wouldn’t sign off on it — they decided that the main/current maintainer didn’t have the rights to relicense it for us.

We probably would’ve for LZO too; not sure why that fell through.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by yawaramin on Saturday March 22, 2025 @05:00PM (#43448582)
> because they didn’t have a CLA, the lawyers wouldn’t sign off on it — they decided that the main/current maintainer didn’t have the rights to relicense it for us.

How would the legal argument be any different for MIT/etc. licensed software in that case? Would the lawyers sign off on using MIT-licensed software without a CLA? Wouldn't they make the argument that the provenance of the software and therefore its licensing is not solid? Seems like the only thing that matters is who has the right to offer a license to the software, not what the license is.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by ddulaney on Sunday March 23, 2025 @01:29PM (#43454361)
They just wanted the CLA to support the (paid) relicensing.

I think the reasoning (as it was explained to me) was that when people made their original contributions, they were agreeing to the license at that time (in this case GPL, but for other projects MIT). But the other contributors never agreed that the main maintainer could relicense their contributions for a fee.

The upshot was that we went with an in-house fully-proprietary alternative. More expensive, probably lower quality.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by jcranmer on Friday March 21, 2025 @11:07PM (#43442995)
I quite agree here, but to go a step further here:

Lots of people express this fear that BSD-licensing of components will lead to a world where all the big proprietary software just locks everything down. But if you actually work with large software, you end up finding out that it's actually a lot of work to maintain your own fork, and so you start pushing to get more things upstreamed. Because, after all, if your code is private, it's your task to fix it if somebody breaks it, but if it's upstreamed, it's their task to do it.

An interesting datapoint is LLVM/Clang, where, yes, lots of companies have their own proprietary forks of Clang. But for the most part, those companies still upstream gobs of stuff: most of the biggest contributors to the project are the people with the proprietary forks. Furthermore, as I understand it, basically everybody relying on EDG has, or is in the process of, worked to move off of it into Clang. Which, if EDG dies, means that the permissively-license Clang has done more to kill off proprietary compilers than copyleft-licensed GCC has.

The best defense against proprietary software is to make it too expensive for proprietary software to compete, and using a permissive license means you can trick the companies making proprietary software into helping you do that.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by favorited on Saturday March 22, 2025 @03:03AM (#43444093)
> An interesting datapoint is LLVM/Clang

It's also an example of the GPL not preventing corporations from building (and releasing under a more permissive license) non-GPL software.

Before Apple built Clang, they made a GCC plugin[0] which dumped the AST from the GCC frontend, and fed it into the LLVM backend. Sure, they published the source of their GCC modifications under the GPL, but that was nothing compared to the entirely novel backend, which was released under a far more permissive license.

Meanwhile, Stallman handcuffed GNU projects like Emacs for years[1] by refusing to expose GCC's AST in an effort to prevent something like this from happening.

[0]https://dragonegg.llvm.org

[1]https://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00...

Re:Oxidizing Ubuntu: adopting Rust utilities by default by jcranmer on Saturday March 22, 2025 @07:53AM (#43445142)
> Before Apple built Clang, they made a GCC plugin[0] which dumped the AST from the GCC frontend, and fed it into the LLVM backend.

But they didn't! Dragonegg is a GCC plugin, which didn't exist when work started on Clang--GCC plugins date to GCC 4.5, released in 2010, which is the same year that Clang became self-hosting.

The timeline is rather like this: LLVM originally relied on a hacked-up version of gcc 4.2 called llvm-gcc to create LLVM IR from source code. When GCC added support for plugins, there was the attempt to move that frontend to a more reliable framework, and that was Dragonegg. As far as I'm aware, Apple never contributed to the Dragonegg project itself. Dragonegg didn't last that long; by 2014, the project was completely dead. And for most of its life, the biggest interest in Dragonegg was to have some modicum of support for Fortran.

> Meanwhile, Stallman handcuffed GNU projects like Emacs for years[1] by refusing to expose GCC's AST in an effort to prevent something like this from happening.

By the time of that message, RMS's worst nightmare had come true with Dragonegg... only for Dragonegg to have already died due to a lack of demand for it.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by favorited on Saturday March 22, 2025 @05:25PM (#43448766)
You're right, I got Dragonegg mixed up with llvm-gcc. But my point stands – the GPL was completely ineffective at preventing someone from using it to bootstrap a new compiler infrastructure under a more permissive license.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by yawaramin on Saturday March 22, 2025 @11:49AM (#43446610)
What he said:

> the GPL has led to fairly noticeable increase in the amount of proprietary software in the world

What he did:

> opening up our core source code was never an option.

It's companies that decide that open sourcing their software is 'never an option'–even the LZO compression part of it–that lead to a 'noticeable increase in the amount of proprietary software in the world'. They are just using the GPL bogeyman as a thin excuse for their own decisions.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by WD-42 on Saturday March 22, 2025 @03:21PM (#43447949)
His insinuation that if you just MIT your code so that big tech companies can use it, and if they end up needing help with it they might even hire you, seems super sleazy and borderline exploitive especially in the current job market.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by LeFantome on Friday March 21, 2025 @08:27PM (#43442156)
Red Hat is probably the biggest single provider of GPL software in the world. They consistently choose the GPL for software they author and release. They founded and fund the Fedora Project themselves explicitly to be a community driven distro independent of their commercial efforts. They provide the full source to their products even though a huge percentage of the code is MIT, BSD, or Apache and does not require them to. They provide everything required to produce the "aggregate" full product even though the GPL does not require them to.

I will go on record now with the prediction that, if uutils catches on, Red Hat will be one of the last companies to move away from GNU. They are probably the largest contributor to glibc and GCC.

What evidence do you have that they would have "preferred not to provide source at all"? Because their is a mountain of evidence otherwise.

As an individual user, Red Hat will give you a free license to their flagship product. Then they will tell you how to download every line of code for it. I don't have a license. I do not use Red Hat (other than occasionally using the also totally free RHEL9 container).

"Remember when Red Hat tried to lock away the source code to subscribers only?"

I do not remember them changing the policy you are talking about. If you think they did, it highlights how overblown the response was at the time. The biggest impact of the Red Hat change is that Alma Linux is now a better project that can actually innovate and contribute.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by fragmede on Friday March 21, 2025 @11:15PM (#43443062)
Two things stick out for me.

Red hat provided the source to their kernel with the letter but not the spirit of the law, to impeed Oracle Linux. We'd (Ksplice) get the changes from Redhat version to version as one giant patch file, with all the changes mixed together. There's no chance in hell their internal kernel developers worked that way, but the source was there, so the letter of the GPL was satisfied.

The other thing they did was close the source repos. First you had to be a subscriber to get the binaries, and thus by the GPL, you could get the source. However, if you shared that source code with anyone else and they caught you, they wouldn't let you renew your license the next year, so you couldn't get the newer version, binaries OR source. This also isn't technically against the rules of the GPL, but it's hard to see that as being in line with the spirit of it.

It's hard to see Redhat as the benevolent GPL open source hug supplier with real world business practices like that. Not that I fault them for it, it's just business.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by sroussey on Saturday March 22, 2025 @12:04AM (#43443393)
Oracle Linux — that was the bugfree no exploit version they touted?

Unbreakable Kernel.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by mixmastamyk on Friday March 21, 2025 @08:35PM (#43442215)
You defended Red Hat, but it's Blue Hat now. They may not have damaged their legacy yet, but we're on the lookout.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by yawaramin on Saturday March 22, 2025 @11:42AM (#43446560)
IBM is one of the biggest open source contributors in the world. What are you looking out for exactly?
Re:Oxidizing Ubuntu: adopting Rust utilities by default by mixmastamyk on Saturday March 22, 2025 @02:16PM (#43447526)
Did you miss this one?

https://arstechnica.com/information-technology/2023/06/red-h...

Again, be careful not to attribute past RH actions with IBM. Yes, IBM was very helpful in the 90s and later, but you can't fully trust a corporation past the next financial statement, and certainly not past a leadership change or three.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by yawaramin on Saturday March 22, 2025 @02:57PM (#43447773)
Did I miss Red Hat applying the license of their software with the rights given to them by said license? No, I did not, I supported it. The GPL is perfectly compatible with commerce and a profitable business model and this example shows exactly why. What would you prefer–companies that open source software bleed money and get taken advantage of by others? I don't. I want to see a healthy open source ecosystem that preserves user freedoms while balancing that with profitability. The GPL perfectly embodies this ideal.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by mixmastamyk on Saturday March 22, 2025 @04:47PM (#43448482)
Fragmede above describes the details on why we keep a healthy distance from IBM.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by yawaramin on Monday March 24, 2025 @02:31PM (#43464023)
Provide the link please! Don't make me hunt through the thread to figure out what you're talking about lol
Re:Oxidizing Ubuntu: adopting Rust utilities by default by mixmastamyk on Monday March 24, 2025 @04:10PM (#43464922)
https://news.ycombinator.com/item?id=43443062

As he says, it's just business. And IBM isn't near the top on my list of big tech companies to avoid. However they are subject to the same enshittification pressures as the rest. Their history is not all rosy either.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by bigstrat2003 on Friday March 21, 2025 @09:00PM (#43442350)
That isn't something Canonical could do just because the software has a permissive license instead of a copyleft license. They can do that if they own the copyright (which I can't imagine they do), but if they own the copyright they can do anything they want and nobody has a say in it. So again it has nothing to do with license.

The absolute most that Canonical can do is start making a fork of the software where they don't distribute the source code. But in that case, the original code is still right there. No freedom is lost at any point.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by Brian_K_White on Friday March 21, 2025 @09:16PM (#43442418)
The original code does not matter. What matters is the code for the binaries you are running. That is the entire point, and that specific garantee has far reaching consequences, even if you apparently can't imagine them.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by zifpanachr23 on Friday March 21, 2025 @11:14PM (#43443050)
Red Hat has been more consistently pro GPL and pro open source and invests more money into it than any other company.

Them putting the downloads of their enterprise OS behind a login screen (student and solo developer licenses can STILL be got for free) is something I 100% understand and am kind of sympathetic about.

I know that's out of like with how some people define free software, but I've always had ethical issues with the way people would redistribute Red Hats work for free. Just because it's legal doesn't make it ethical.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by Kbelicius on Saturday March 22, 2025 @03:32AM (#43444182)
User freedoms. Those don't exist under the so called "more permissive" licenses.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by globular-toast on Saturday March 22, 2025 @04:07AM (#43444308)
The GPL ensures the software will always be free. "Permissive" licences don't. Permissive licences permit anyone to create a derivative version that isn't free. No source code, and it will be under copyright.

If there's one thing people need to understand it's that corporations will always strive to take as much as they can and give back as little as they can. It's incredibly naive to think they won't do it again after that's exactly what every corporation has done for the past several centuries. Give an inch and they'll take a mile. You can't seriously think companies like Microsoft and Oracle aren't already salivating at the thought of the community rewriting GNU/Linux in a permissive licence?

It's not that this particular case is "freedoms being attacked". It's that freedoms are constantly and relentlessly under attack and we can't let our guard down for one moment. GPL is our protection and voluntarily stepping out of it would be suicide.

Re:Oxidizing Ubuntu: adopting Rust utilities by default by viraptor on Saturday March 22, 2025 @10:43AM (#43445967)
You mean the Microsoft which not that long ago releases the proprietary .Net code under mit? It's not all going one way, even in large corps. Windows also ships with wsl now - what would they even gain now from non-gnu Linux?
Re:Oxidizing Ubuntu: adopting Rust utilities by default by WD-42 on Saturday March 22, 2025 @03:44PM (#43448097)
They did both those things because it’s the only way they can compete. You really think they would open source any of that stuff if developers weren’t leaving their platform in droves? WSL is them just exploiting foss to make up for their own shortcomings.
Re:Oxidizing Ubuntu: adopting Rust utilities by default by neonsunset on Saturday March 22, 2025 @05:47PM (#43448898)
.NET case was mostly a rewrite, many components were rewritten from scratch (sooner or later). Roslyn was a compiler-rewrite to make C# self-hosted with, what I understand, intention to make it OSS from the beginning. .NET (then Core) started with RyuJIT. AFAIK RyuJIT also mainly exists for .NET only, where-as .NET Framework uses older, different compiler codebase.

But yes, there were additional licensing assurances provided so as to not create problems for Novell/Mono - it was always treated positively.