3 ms·
First, portage and ports are OS-supplied mechanism for installing software. They are nothing like pip or gems or npm, which only can install things written in t
by dozzie 10y ago
First, portage and ports are OS-supplied mechanism for installing software.
They are nothing like pip or gems or npm, which only can install things
written in their respective languages of choice and fail miserably for modules
touching any library external to them (unless you manually ensure the
library's and compiler toolchain's presence, that is).
Second, ports and portage have support for and networks of mirror servers that
keep copies of software available through these packaging systems. It's
trivial to switch if one of the mirrors goes down. For pip, gems, or npm you
need to plan ahead for the problems and deploy your own package cache, from
what I know.
Third, I was using Gentoo with one of these "battle tested systems that work
well in production" for several years. It was doable, but it wasn't pretty,
could lead to breaking software after updating some random deep dependency
(if it was recompiled with different flags), and generally required more work
and attention than APT would, all that for very little gain (if any gain at
all). Oh, and it ended up working with binary packages, after all, I just
needed to compile them myself instead of having a half an hour downtime of
production MySQL because it needed to get compiled (which could fail, leaving
me with no working database installed).
- sqeaky 10y agoGems can be used to installing anything. It often build java, go, C, C++ and I think I heard it could do rust once, but generally anything in faster languages to create faster versions of the implementation of the functionality for a given gem. I bring that up to highlight some of the wrong assumptions you make. You make several needless assumptions and use those to draw funny distinctions between things. I am not even sure of the point anymore. likely any of these systems could be used in a variety of environments for a variety of purposes.
- steveklabnik 10y agoYou can do anything, including Rust, yeah. You can also distribute pre compiled stuff.