You are viewing a single thread.
View all comments
75 points

Man updating packages by compiling them is so stupid

Oh look 15 updated packages from AUR

permalink
report
reply
27 points

I always go with the binary version if it’s available in the AUR, ain’t nobody got time for that.

permalink
report
parent
reply
10 points

Chaotic-aur gang has joined the chat…

permalink
report
parent
reply
8 points

Oh you mean the [package]-git gang

permalink
report
parent
reply
2 points

*-git is a good last resort, for when everything else is broken.

permalink
report
parent
reply
5 points

I mean yes if time is an issue, but compiled code on your own hardware is specifically tuned to your machine, some people want that tiny tweak of performance and stability.

permalink
report
parent
reply
12 points

The point being most AUR packages are compiled on each update

permalink
report
parent
reply
-6 points

But compiled on some other machine. Compiling on your own hardware optimizes it for that specific hardware and what that chip supports etc.

permalink
report
parent
reply
3 points

I use both for different purposes. Gentoo’s feature flags are the reason I wait for compiles, but only for computers a touch the keyboard with. Everything else gets Arch.

permalink
report
parent
reply
1 point

would you mind elaborating on the benefits? like what does one actually gain in a real-world scenario by having the software tuned to a specific machine?

disk space aside, given the sheer amount of packages that come with a distro, are we talking about 30% less CPU and RAM usage (give or take), or is it more like squeezing out the last 5% of possible optimization?

permalink
report
parent
reply
4 points

Closer to thr 5% . Between the intermediate code and final code writing there is an optimization stage. The compiler can reduce redundant code and adjust based on machine. i.e. my understanding is an old 4700 can have different instruction sets available than the latest intel.gen chip features. Rather than compile for generic x86 the optimization phase can tailor to the machine’s hardware. The benefits are like car tuning, at some point you only get marginal gains. But if squeezing out every drop of performance and reducing bytes is your thing then the wasted compiling time may not been seen as waste.

permalink
report
parent
reply
4 points

It’s nice to have the option though!

permalink
report
parent
reply
4 points

That’s why Gentoo now has binary repos!

permalink
report
parent
reply
0 points

oh, i should check it out then!

permalink
report
parent
reply
3 points

is so stupid

Until you learn about compile flags. It’s mostly about customizability.

permalink
report
parent
reply
8 points

Clearly I shouldn’t have missed the /s

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

I use Arch btw


Sister communities:
Community rules
  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

Community stats

  • 7.5K

    Monthly active users

  • 1.2K

    Posts

  • 66K

    Comments