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

Linux

8453 readers
43 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
[–] lambalicious@lemmy.sdf.org 39 points 2 days ago (1 children)

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

[–] kryptonidas@lemmings.world 73 points 3 days ago* (last edited 3 days 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

[–] Duamerthrax@lemmy.world 15 points 2 days ago (2 children)

God, Snow Leopard was peak Apple.

[–] Cenzorrll@lemmy.world 6 points 2 days 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.

load more comments (1 replies)
load more comments (1 replies)
[–] boonhet@lemm.ee 21 points 3 days ago (1 children)

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

[–] Estebiu@lemmy.dbzer0.com 2 points 3 days ago (2 children)
[–] boonhet@lemm.ee 14 points 3 days ago (1 children)

Well they haven't made a single x86 machine in what, 4 or 5 years?

The 2024 version of MacOS doesn't support anything older than 2017 and for most models it's more like 2018-2020

I'd say in 2-3 years they'll drop support for all x86 machines, at which point first party binaries can stop shipping with x86 code. Then eventually, several years later, they'll drop support for x86 emulation via Rosetta 2, so that's another thing they can drop from the OS. And once xcode stops giving you those fat dual-arch binaries, other software will also take a bit less space.

[–] Estebiu@lemmy.dbzer0.com 1 points 1 day ago

Oh i though you were talking about discontinuing x86 in general, even for non-apple devices. Yeah I agree, x86 macbook have maybe another 4-5 years max

[–] Irelephant@lemm.ee 6 points 2 days ago

idk, apple is very trigger-happy when it comes to discontinuing things (outside of the iphones, strangely.) i think by 2030 we will be long gone from apple x86 machines.

[–] captain_aggravated@sh.itjust.works 15 points 3 days ago (7 children)

Wait they pushed binaries for both architectures to everyone?

[–] frazorth 21 points 3 days 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.

[–] boonhet@lemm.ee 6 points 3 days 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.

[–] frazorth 6 points 3 days ago

It was exactly the same.

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

[–] kryptonidas@lemmings.world 4 points 3 days ago

That OS was the last of Apple to come on optical media. So, no pushing. Buying physically.

load more comments (4 replies)
[–] observantTrapezium@lemmy.ca 87 points 3 days ago (1 children)

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

[–] haui_lemmy@lemmy.giftedmc.com 53 points 3 days 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.

[–] not_woody_shaw@lemmy.world 22 points 3 days ago (2 children)

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

[–] towerful@programming.dev 17 points 3 days ago

IMO, that's the shiniest thing

[–] haui_lemmy@lemmy.giftedmc.com 4 points 3 days ago

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

[–] Rooty@lemmy.world 58 points 3 days ago* (last edited 3 days 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

[–] sir_pronoun@lemmy.world 26 points 3 days 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)

[–] communism@lemmy.ml 17 points 2 days ago

electron microscope

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

[–] Zidane@programming.dev 5 points 3 days ago* (last edited 3 days ago)

I'd diddle a bit

Ninja Edit: wait...

[–] okamiueru@lemmy.world 13 points 2 days ago (1 children)

Thanks for the reminder to update

Good luck, soldier!

[–] wasabi@feddit.org 29 points 3 days ago (1 children)

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

[–] Hiro8811@lemmy.world 12 points 2 days ago* (last edited 2 days ago) (1 children)
[–] swab148@lemm.ee 4 points 2 days ago

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

[–] postmateDumbass@lemmy.world 18 points 2 days ago

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

[–] Acoustic@lemm.ee 23 points 3 days 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.

[–] lime@feddit.nu 23 points 3 days 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.

[–] patatahooligan@lemmy.world 13 points 3 days 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.

[–] lime@feddit.nu 5 points 3 days ago (1 children)
[–] swab148@lemm.ee 3 points 2 days ago (1 children)

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

[–] lime@feddit.nu 2 points 2 days ago

saved me a gig ^^

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

Removing some deprecated old library or just good old optimization.

[–] lung@lemmy.world 1 points 2 days ago* (last edited 2 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

[–] boonhet@lemm.ee 18 points 3 days 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!

[–] sunstoned@lemmus.org 11 points 2 days ago

Nix store go: 😭

[–] AnUnusualRelic@lemmy.world 6 points 2 days ago (1 children)

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

[–] lung@lemmy.world 5 points 2 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??

[–] frayedpickles@lemmy.cafe 1 points 1 day ago

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

[–] bargo@mastodon.tn 4 points 2 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

[–] AnUnusualRelic@lemmy.world 2 points 2 days ago

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

[–] slazer2au@lemmy.world 11 points 3 days ago

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

load more comments
view more: next ›