this post was submitted on 15 Jan 2025
559 points (97.9% liked)

Linux

8486 readers
86 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

Love to see upgrades with a negative net size lmao. Software should get more optimized with time, not more bloated. Oop, just got the gnome console popup notification saying that my install command finished running, sweet -- it took as long as making this post

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 13 points 6 days ago (1 children)

Thanks for the reminder to update

[–] [email protected] 1 points 6 days ago

Good luck, soldier!

[–] [email protected] 6 points 6 days ago (1 children)

Wow I've never had an update with so few packages.

[–] [email protected] 5 points 6 days ago (3 children)

Out of all the comments here hahaha this is the one that gets me lmao

You haven't had an update with less than 52 packages?? Ever??

[–] [email protected] 4 points 6 days ago

@lung @AnUnusualRelic eh, had 4, 2, 1 and 0, on EndeavourOS when you yay right after you yay, or you yay after an hour

[–] [email protected] 2 points 6 days ago

I rarely update more than once a week at most. It's more like twice a month usually.

[–] [email protected] 1 points 6 days ago

It's Linux, normally it's just a wall of packages you have to trust with root access :)

[–] [email protected] 0 points 6 days ago
[–] [email protected] 91 points 1 week ago (1 children)

I'm so used to it I never realized it's unusual.

[–] [email protected] 54 points 1 week ago (1 children)

Exactly. Same here. The fact that „linux“ isnt a product that has to have the shiny new thing after every update and has no deadlines to hold and no manager to keep happy makes it a fundamentally different thing which actually is very much in line with efficiency ideas, the idea of progress and evolution as a whole. At least thats how I view it.

[–] [email protected] 23 points 1 week ago (2 children)

The shiny new thing can be better code to do the same thing.

[–] [email protected] 18 points 1 week ago

IMO, that's the shiniest thing

[–] [email protected] 5 points 1 week ago

If you‘re a cave dweller like me that stares at code for pleasure, yes.

[–] [email protected] 72 points 1 week ago* (last edited 1 week ago) (3 children)

Back in the day there was a Mac OS update (Snow Leopard) that took gigabytes off. They dropped support for PowerPC CPUs. So the compiled binaries basically got slashed in half.

The goals of Snow Leopard were improved performance, greater efficiency and the reduction of its overall memory footprint, unlike previous versions of Mac OS X which focused more on new features. Apple famously marketed Snow Leopard as having "zero new features".[13] Its name signified its goal to be a refinement of the previous OS X version, Leopard.

https://en.m.wikipedia.org/wiki/Mac_OS_X_Snow_Leopard

[–] [email protected] 22 points 1 week ago (4 children)

Might happen again one day if they decide to drop x86 support. Which they likely will.

load more comments (4 replies)
[–] [email protected] 15 points 1 week ago (2 children)

God, Snow Leopard was peak Apple.

[–] [email protected] 6 points 1 week ago (1 children)

As an avid apple disliker, they really got a lot of things right with 10.x, with snow leopard hitting it out of the park. Everything from them around that era was slick. If I wasn't a poor college kid running a 5 year old eBay Thinkpad I would have been sucked into their oppressive ecosystem in a heartbeat.

[–] [email protected] 1 points 6 days ago

There's a different timeline where the board also brought back Wozniak, OS X has linux under the hood and all third party software was cross compatible.

I wouldn't imagine iTunes on Ubuntu, but think if all that annoying office software that keeps workplace from switching to linux was suddenly available?

load more comments (1 replies)
[–] [email protected] 15 points 1 week ago (8 children)

Wait they pushed binaries for both architectures to everyone?

[–] [email protected] 22 points 1 week ago

Yes. Thats how they made everything seem magical to the end user.

Two architectures, and two binaries in the single package.

All those programs that only had binaries in the old architecture ran through the emulator Rosetta.

Once the old architecture had been deprecated long enough, they dropped the PPC compilation in the binaries.

There was the technique to regain disk space by deleting the unused architecture binaries from the bundles.

[–] [email protected] 7 points 1 week ago (1 children)

I don't know if that's what they did for the PowerPC -> Intel switch, but now with the Intel -> ARM switch, Xcode compiler tools spit out dual arch binaries, so you can run the same binary natively on x86 or ARM. Things that aren't compiled that way yet and only have x86 binaries, will be run using Rosetta 2.

Doesn't matter much to the end user though. It's all just pretty seamless if you're on an ARM Mac and idk if there's much or any problems on x86 Macs yet regarding binary compatibility. I actually doubt there is.

[–] [email protected] 6 points 1 week ago

It was exactly the same.

Its why the Intel -> Arm is called Rosetta 2 and not Rosetta.

load more comments (6 replies)
[–] [email protected] 59 points 1 week ago* (last edited 1 week ago) (1 children)

OS is bloat, if you're not shifting CPU registers by hand are you even a Linux user?

spoilerNo, because Linux is a kernel/OS, and OS is bloat

[–] [email protected] 26 points 1 week ago (2 children)

Exactly, you boot the kernel, then get out the electron microscope to twiddle those bits (which is why Linux users are perverts)

[–] [email protected] 17 points 1 week ago

electron microscope

Bloat, why should my microscope be running an entire chromium browser?

[–] [email protected] 5 points 1 week ago* (last edited 1 week ago)

I'd diddle a bit

Ninja Edit: wait...

[–] [email protected] 40 points 1 week ago (1 children)

To be fair Windows also uses less disk space after an update to Linux :p

[–] [email protected] 29 points 1 week ago (1 children)

Of you don't delete your package cache it will still use more disk space, regardless of this output.

[–] [email protected] 12 points 1 week ago* (last edited 1 week ago) (1 children)
[–] [email protected] 4 points 1 week ago

I just got the hook from the AUR, don't even have to think about it lol

[–] [email protected] 23 points 1 week ago (3 children)

I'm not a programmer by any means, but I'm guessing, they are just removing old redundant features and code, but I could be very wrong here.

[–] [email protected] 1 points 6 days ago* (last edited 6 days ago)

I remember one internship in college, I realized that after 4 months of work, the result was 15k lines less code than when I started. I figured out new ways to structure the system so it was much easier to write and maintain, while actually adding features. That felt great

And yeah, there are many ways for it to happen. Ex. someone was shipping the tests with the code and decided to stop, debug symbols being removed, inlined dependencies being externalized, maybe a new version of a UI toolkit has extra icons built in

Efficiency can gently creep in. What blows my mind is that this is averaged out across so many packages at once. And sure, sometimes it goes up too, but nothing like Windows/OSX. It's really cool that you can make a Linux that will fit into ~any space you want, whereas the min requirements for Win11 include 64gb of hd

[–] [email protected] 24 points 1 week ago (1 children)

a new version of a program can also move to a different set of dependencies that is shared with another program, so you don't need to keep both around.

[–] [email protected] 13 points 1 week ago (1 children)

This wouldn't appear like this when upgrading the system with pacman. pacman does not automatically remove orphaned dependencies during upgrades. You have to query for them and remove them explicitly as a separate operation afterwards. So in the OP what we're seeing is the new versions of packages themselves getting smaller.

[–] [email protected] 5 points 1 week ago (1 children)
[–] [email protected] 4 points 1 week ago (1 children)

Good ol' pacman -Rns $(pacman -Qqtd), or as I've aliased it, orphankiller

[–] [email protected] 2 points 6 days ago

saved me a gig ^^

had some old plasma5 stuff lying around from before the upgrade.

[–] [email protected] 6 points 1 week ago

Removing some deprecated old library or just good old optimization.

[–] [email protected] 18 points 1 week ago

Decided to try this out on Tumbleweed. I last updated yesterday. Today I have 4 packages to upgrade and doing so will drop ruby 3.3. Looks like I also have Ruby 3.4 installed so likely I had a package depending on 3.3 and another on 3.4 and now the 3.3 has moved to 3.4. I regained a whopping 30 MB disk space!

[–] [email protected] 18 points 1 week ago

So tired of android eating my carefully set aside free space.

[–] [email protected] 11 points 1 week ago

I keep forgetting to run apt autoremove to save even more space.

[–] [email protected] 11 points 1 week ago

Nix store go: 😭

load more comments
view more: next ›