this post was submitted on 27 Apr 2024
-27 points (22.4% liked)

linuxmemes

21273 readers
555 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • 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, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 6 points 6 months ago* (last edited 6 months ago) (2 children)

    Somebody has never used opensuse. Zypper is an amazing package manager, one of the best on any distro.

    It can handle flatpacks, native packages, and packages from the opensuse build system, keeping everything updated and organized.

    Pacman is very basic by comparison, and a lot slower too in my experience.

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

    Wait, zypper can handle flatpaks? How?

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

    Same. Might give it another try.

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

    Wait something can be slower than Zypper? Does it have a bunch of sleep(1) scattered around?

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

    I guess I'm smart enough to install opensuse, but dumb enough that I somehow got slow pacman.

    I kid you not, on my hardware zypper is the fastest between ubuntu apt, fedora dnf, and arch pacman. dnf was the second-fastest on my hardware, with apt and pacman being pretty sluggish

    I've also used portage which was even slower, but probably not a fair comparison considering how much more complex it is.

    [–] [email protected] -2 points 6 months ago (2 children)

    'On my machine it works' is not a strong argument, and is highly unlikely, due to the language it was written in.

    Pacman is written in C, APT in C++, DNF in Python, and Zypper in C++ as well.

    So, no. Pacman 'wins'.

    What truly matters is which tool is best suited for your use case.

    [–] [email protected] 3 points 6 months ago

    Trust me my friend, a person can make a c program that's much, much slower than one in python. That's a meaningless point.

    Sure, c allows for more control and thus the possibility for a quicker program but that's just it, a possibility.

    Zipper, though written in c++, can only download one thing at a time. This is why it's so slow

    [–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

    In the grand scheme of things the difference between C, C++, and Python isn't meaningful when operating over a network (edit: for a single-user system). It's very likely that the difference for thread OP is just caused by weaker connections to specific repos.

    We're talking about a package manager, not a game, network server, etc. On a basic level the package manager only needs to download files from a network and install them (OS syscalls for reading/writing files, these are exposed C functions or assembly routines), or delegate to a specific package's build setup (which will also likely be written in a compiled language)