News for hackers. Stuff that matters.
Re:OpenMandriva, the first Clang-built Linux distribution by somatic on Sunday June 16, 2019 @11:00AM (#20195769)
APT is written in C++ and YUM is written in Python.

Besides the Python2->3 thing, are there actually any practical advantages to using a lower-level language for managing packages?

Re:OpenMandriva, the first Clang-built Linux distribution by pletnes on Sunday June 16, 2019 @11:39AM (#20195986)
Pacman is, subjectively, the fastest package manager I’ve ever used. Not sure if it’s C vs python though, apt is also much slower on many tasks.
Re:OpenMandriva, the first Clang-built Linux distribution by massysett on Sunday June 16, 2019 @12:40PM (#20196388)
This could easily be simply because Pacman doesn’t do as much as apt. For instance apt tracks symbols exported by shared libraries. Pacman doesn't.
Re:OpenMandriva, the first Clang-built Linux distribution by viraptor on Sunday June 16, 2019 @01:35PM (#20196755)
I've never heard of that. In what situations is that tracking used?
Re:OpenMandriva, the first Clang-built Linux distribution by Conan_Kudo on Sunday June 16, 2019 @02:11PM (#20196960)
As far as I know, only RPM-based package managers do symbol tracking at dependency resolution time. Neither Debian nor Arch package managers do this.
Re:OpenMandriva, the first Clang-built Linux distribution by meruru on Sunday June 16, 2019 @03:37PM (#20197452)
I think Void's is faster. Less ergonomic though.

Would be fun to see some benchmarks.

Re:OpenMandriva, the first Clang-built Linux distribution by 0xFFFE on Sunday June 16, 2019 @12:15PM (#20196216)
Agreed, so is "apk" from Alpine Linux.
Re:OpenMandriva, the first Clang-built Linux distribution by vkaku on Sunday June 16, 2019 @01:42PM (#20196795)
Yes, there is:

A smaller binary and no external dependencies is more audit-able, has fewer dependencies for bootstrapping itself on a server or a container image.

When you multiply this by the total number of images, this makes a big difference.

Re:OpenMandriva, the first Clang-built Linux distribution by Operyl on Sunday June 16, 2019 @11:11AM (#20195843)
I wasn't saying there was a disadvantage, I'm just giving a potential look into why it took longer than, say, Arch. Yum is a huge Python project, and it took a while to comb through it all.
Re:OpenMandriva, the first Clang-built Linux distribution by Conan_Kudo on Sunday June 16, 2019 @12:50PM (#20196442)
It wasn't YUM that held back OpenMandriva's switch (OpenMandriva never used YUM), but some of the build infrastructure tools that wound up being replaced as part of the migration from urpmi to DNF.

Those legacy tools never were updated for Python 3 because they had no maintainers or developers. When the distribution switched to DNF, they were able to adopt actively maintained software that replaced those that were ported to Python 3.