this post was submitted on 22 Mar 2024
396 points (99.0% liked)
linuxmemes
22722 readers
2454 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Man updating packages by compiling them is so stupid
Oh look 15 updated packages from AUR
Until you learn about compile flags. It's mostly about customizability.
Clearly I shouldn't have missed the /s
It's nice to have the option though!
That's why Gentoo now has binary repos!
oh, i should check it out then!
Chaotic-aur gang has joined the chat......
Oh you mean the
[package]-git
gang*-git is a good last resort, for when everything else is broken.
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.
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?
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.
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.
The point being most AUR packages are compiled on each update
But compiled on some other machine. Compiling on your own hardware optimizes it for that specific hardware and what that chip supports etc.
No, AUR packages are compiled on your machine.
Not all of them, thatβs why many packages have a
[package]-bin
versionAh, thought you meant in the AUR. I'm used to OBS where you have binaries and source available (OBS meaning OpenBuildService, not the screen recorder)
I always go with the binary version if it's available in the AUR, ain't nobody got time for that.