359
submitted 9 months ago by joojmachine@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] melroy@kbin.melroy.org 18 points 9 months ago
[-] unreachable@lemmy.world 12 points 9 months ago
[-] MonkderZweite@feddit.ch -1 points 9 months ago

Doesn't compile where musl does.

[-] Rustmilian@lemmy.world 4 points 9 months ago* (last edited 9 months ago)

While there may be challenges and specific configurations required, you absolutely can compile Rust on and targeting to a musl-based system.

[-] MonkderZweite@feddit.ch 1 points 9 months ago

I meant, Rust suppports vewer architectures.

[-] Rustmilian@lemmy.world 3 points 9 months ago* (last edited 9 months ago)

Rust actually supports most architectures(SPARC, AMD64/x86-64, ARM, PowerPC, RISC-V, and AMDGPU*). The limitations are from LLVM not supporting some architects(Alpha, SuperH, and VAX) and some instruction sets(sse2, etc.); z/Architecture is a bit of an outlier that has major challenges to overcome for LLVM-Rust. This is not going to be a problem when GCC-Rust is finished.

AMDGPU, *Not 100%, but works well enough to actually use in production and gets better all the time.

[-] MonkderZweite@feddit.ch 2 points 9 months ago
[-] Rustmilian@lemmy.world 3 points 9 months ago* (last edited 9 months ago)

Np. It's a common point of confusion.
You can use rustup target list to see all available architectures and targets.

[-] mariusafa@lemmy.sdf.org 4 points 9 months ago

Yeah Musl is pretty good to learn C libs but the main red flag is the MIT Licence

[-] sxan@midwest.social -1 points 9 months ago

Why? MIT is more liberal than GPL. Why is it a red flag?

[-] Adanisi@lemmy.zip 7 points 9 months ago* (last edited 9 months ago)

At a time where proprietary software is becoming more and more nasty and prevalent, on top of what has always accompanied it, we shouldn't be letting proprietary software developers take advantage of free code only to lock theirs away as proprietary. It advantages nobody except proprietary devs, who don't have the users at heart.

The goal of the GPL is to fight that.

The problem with pushover licenses like MIT in this case is that a lot of this software is designed to displace copylefted code. And when it does, you lose the protection of copyleft in that particular area and all of a sudden proprietary software gets a leg up on us. It's bad for software freedom and the users by extension, and good for proprietary software developers.

[-] sxan@midwest.social -1 points 9 months ago

But the licence is chosen by the software author - unless that right to choose is taken away by a viral licence like the GPL, of course. In any case, I licence everything I write that I can as 3-clause BSD because I don't give a fuck. I wrote the software for me, and it costs me nothing if it's used by a shitty proprietary software stealer, or a noble OSS developer. Neither of them are paying me.

OSS should, is, and eventually will drive for-pay software to extinction, and it should do it through merit, not some legal trickery.

[-] Adanisi@lemmy.zip 3 points 9 months ago* (last edited 9 months ago)

You're missing the point. Yes, the license is chosen by the author, but if that pushover licensed software becomes favoured over copyleft software, then proprietary software has a leg up as I explained. That's it.

GPL is also not a "viral" license, because that would imply that it seeks out and infects anything it can find. But developers choose which code they use, it doesn't just appear in their own code without permission. So a better analogy would be "spiderplant" license, since you're taking part of a GPL program (a spiderplant), and putting it in your own (where the GPLs influence "grows" to). That is completely the software developers decision and not like a virus at all.

It might not cost you anything personally if a proprietary developer usurps your code, but it does cost overall user freedom and increases proprietary dominance, where copyleft licenses would have done the opposite if your code was worth using. For that reason, I like strong copyleft. But by all means, keep using the license you want to, as long as it's not proprietary I won't judge. This is just my thoughts.

The point of free/open source licenses isn't to remove money from software either, it's perfectly possible to sell libre software. It's about what the recipients of that software have the freedom to do with it, and not giving the developer control over their users. We should serve the community, not betray them.

Lastly, although free alternatives are often technically superior to their closed-source competitors, at the end of the day, if you have a slightly faster program which does nasty spying, locking of functionality, etc, and a slightly slower program which does not, I'd be inclined to say that the slower program should be preferred by virtue that it does not do nasty things to it's users, and that then you won't be supporting such behaviour.

[-] sxan@midwest.social 1 points 9 months ago

Lastly, although free alternatives are often technically superior to their closed-source competitors, at the end of the day

I am 100% in agreement with you here. While I'm not by any means a Libertarian, I prefer MIT and BSD licenses because they are truely free. The GPL is not: it removes freedoms. Now, you argue that limiting freedom can be a net good - we limit the freedom to rape and murder, and that's good. I don't agree that the freedoms the GPL removes are equivalent, and can indeed be harmful.

I don't mind others using the GPL, but I won't.

[-] Adanisi@lemmy.zip 3 points 9 months ago

We can agree to disagree on the freedom point. The only "freedom" I see being taken away with the GPL is the removing of the freedom of other people.

I don't mind the MIT/BSD licenses, but I won't use them. We can agree on that.

[-] mariusafa@lemmy.sdf.org 3 points 9 months ago

I get is more liberal which I understand why. But that means that changes to the software do not need to be shared. Which for normal users it really does not matter. But again we are giving to multi corporations so much in exchange of nothing. When again they don't treat their users the same way.

MIT is a good licence as an idea. In reality, multi corporations are evil AF. The idea of free software in a sense is that free software can get so much better than privative one, eventually forcing privative companies to implement it them self on their programs.

If giving and taking was 1:1 in software community then again, MIT license is perfect. In reality it isn't. For major programs that have a lot of implication on new programs I do not recommend MIT and similar. For feature like projects is totally okay IMO.

[-] sxan@midwest.social 4 points 9 months ago

I respect your opinion on this, and will say only one more thing: having worked in the corporate software space for decades, you don't want their software. Most of it is utter crap. It's a consequence of finance having too much indirect influence, high turnover, a lot of really uninspired and mediocre developers, and a lack of the fundamentally evolutionary pressures that exist in OSS. The only thing corporations do better is marketting.

this post was submitted on 31 Jan 2024
359 points (98.6% liked)

Linux

48335 readers
437 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS