they really chose to write this shit in python?
Why wouldn't they? Python is the patrician's choice.
It works, doesn't it?
>>108553290even though its slow, not minimal, and their foundation still does DEI
>>108553281how much performance do you really need from a a package manager?why do you think some of it is written in C?
>>108553290Yes, reserved only for Brahmin.
>>108553420>how much performance do you really need from a a package manager?i want a lot ideallythey wrote pacman in mostly C>why do you think some of it is written in C?theres literally only one C file in the repo (its for checksums)
>>108553281It just works
>>108553281>theyif you don't like it, do it yourself freeloader
>>108553281
>>108553455It's a source-based package manager. All it does is run git clone and make for you.
>>108553281>they really chose to write this shit in python?they had no choice, it was hard to write C++ without AI, so people who couldn't afford to hire a C++ engineer had to use primitive human-centric languages
Gentoo is such a scam it's not even funny, imagine how much time it has wasted distributing code compile when the other distros figured out how to do it once and just distribute the results.
>>108553982This, they don't have to rewrite Portage in C++, if it works, it works and it does its job well.They could do so, but it's pointless because you are not getting any marginal improvements since you are already using other toolchains for whatever package you want to compile anyways, and binhosts can be used with no issues either, so OP is pretty much making a nothingburger point, if OP doesn't like it, they could just use anything that's not Portage e.g. the Exherbo Linux project, or switch to Alpine, Chimera or Void.
>>108554033>>108553982It still has to parse build recipes to figure out how to build each package and doing it in Python means it's probably slow as fuck. Gentoo is a joke and only idiots would fall for it.
>>108553398>even though its slow, not minimalIt's a package manager. You run it once, maybe twice a month.
>>108554056Multiplied by however many people who got tricked into using Gentoo. I do concede that even if portage is slow it's probably only a fraction of the time wasted compiling bloated monstrosity like Chromium and Firefox.
>>108554046Oh no text processing, how resource intensive! Python has it's use cases and this is a justifiable one for it. Python is only slow when trying to do something really low level like applying filters to images.Python is actually particularly good at text processing. The functions used for string and buffer manipulation are translated directly to the C standard counterpart. That's why so many websites are written in Python.This is a non-issue.
>>108554106If you are using Gentoo you don't care about wasting your time. >oh let me compile this package for 4 hours to I can apply my custom CFLAGS and save 30ms of runtime efficiency over the next 20 years.you were always just doing it for fuh.
*fun
funny how all the bloatlords come out of the woodwork with excuses to defend inefficient software on a distro that prides itself on performancr and machine specific optimization
>>108554108>This is a non-issue.Maybe for jobless NEETs like you whose time is worthless.
>>108554141The only other distro capable of this is Cachy so have fun with that ig.
>>108553281Rust rewrite when?
>>108553281A bare bones package manager is naturally a shell language.Using Python as glue isn't really much different.
>>108553905skill issue desu
>>108553281recompiling package manager takes time
>package managerbloatThere is no use case for dependency management
>>108553281>pacman: isnt written in brainfuckliterally unusable
>>108553420>>108553455xbps is written in C.
honestly, package managers should be written in scripting languagesif you want to bootstrap your distro you can just fire up the interpreter and run your package manager and call it a day
>>108554153the difference in speed between package managers is like 2 seconds, wow such a lot of time
>>108554141you're so shit at logicbloat means size, not speedslow does NOT equal bloat
>>108554141performance for the compiled packages, not the tool itself
>>108553398The python interpreter is not even close to being the bottleneck in the performance of a package manager.
>>108554108>Oh no text processing, how resource intensive!no matter how many resources you have on your computer, pythons overhead will still always make it much slower than C.>Python is actually particularly good at text processing. The functions used for string and buffer manipulation are translated directly to the C standard counterpart.but you are doing this many many times, so the overhead with python will still slow it down>That's why so many websites are written in Python.no, its mainly because python code is easy to write
>>108555285the python interpreter and its standard lib is bloated
>>108555320overhead only happens once for one C function, subsequent calls use the cache
>>108555320>pythons overhead will still always make it much slower than CAnd "much slower" in this case is a few hundredths of a second.
>>108555356/usr/bin/python3 is 15K on my gentoo machine/usr/lib64/libpython.so is 5MB.py files are text files, not part of the interpreter
>>108554153mind your own business and don't interact with neets if you hate them so much, holy shit. you are on 4chan.org, the loser site on the inernet yet you expect some kind ofquality? sorry we re just actually read that's why we are good at predictions sometimes
python is garbage and was an absolute terrible choice to write the package manager. if they just want a dynamically typed language there's probably about 50 that would've been a better choice. python is garbage
>>108553281there is nothing wrong interpreted language, anonlook at SBCL, a Lisp interpreter but it's as fast as CCnile shit rots your brain
>>108555375overhead still happens for each call even with the cache, it just speeds it up a bit
I would prefer my package manager to be written in lua.You can call c function within it, its super small, and its still an interpreted language where you can quickly change things if something goes wrong.It is good if you can change your package manager without needing a compiler to recompile. It's like being able to change service files and init scripts.POSIX shell or lua ftw.
>>108553420i like python but its really fucking slow takes 10+ seconds on shit that should be instantaneous
>>108554153its much longer to write it in C than Python, for very small differences at the end. you are the neet because if you had a job in SE you would know this.
>>108553420for gentoo specifically you do need it to be reasonably quick. been away for 2 weeks, just did a sync and issuing a world update (regular full-system update), it took 59.6 seconds just to resolve what needs to be updated, like before it can even show me what it's going to do, and this is on a ryzen 9 7900x.reason being is that unlike binary distros where it just needs to compare versions installed vs. available, and any changes deps, gentoo also needs to handle things like use flags, updates can affect use flags and libraries which affect other packages which may need to be rebuilt, etc. probably a reason it IS in python is because it's a lot more complex than a binary distro package managerit is true that updates like this which affect many packages will spend most of the time overall actually building the packages, which is not affected by what language portage is written in, so it's likely not a high priority issue, it would still be nice to save a couple minutes each update
>>108555406how about in 2002 when it started?
There is Paludis, a Portage fork written in C++.But I don't think it's much faster.
>>108555285>bloat means size, not speed1. wrong: https://en.wiktionary.org/wiki/bloatware>(computing, informal) Software that is packed with too many features and therefore slow or unwieldy; software that is inefficiently designed and occupies an excessive amount of memory or disk space.2. 'size' is similarly ambiguous and can refer to different things depending on context, for example binary size or vm size3. for any given program specification, outside of lossless compression schemes, an interpreter always increases the lower bound on program-size complexity. you're introducing an additional unnecessary layer of indirection after all>slow does NOT equal bloateven taking your redifinition word games for granted, they are in many cases related. a greater number of instructions to retire can increase both size and slowness. more code and data can also increase the probability for cache misses and bad speculation.
>>108553281this feels like the kind of you thread you'd make if you just learned about the overall performance of different programming languages from a chart and suddenly decided Python has no use case because idk C and Fortran are faster when you run a loop a million timeslet's just do away with shell too right? why notanyway since it's open software you're free to rewrite the whole thing in C or Lisp/Haskell if you're a functionalfag to maybe save a few seconds on some operations you run at most once every few months
>>108554106>>108554124>what is distcc
pacman is written in C
>>108556251>62.5%You're not white.
>>108554124you make it sound like people have to sit at a tty for 4 hours watching text scroll by or somethingi just let it run in the background... like anyone else doing updates
>>108553281Ah fucking downloaded it right into my recycling bin
>>108553281Yep. I've got it in my OS, and let me tell you, never ever try to make an OS by yourself. The shit they say about being stalked, harasssed, etc, as a private OS developer is true, and in ways that I cannot articulate here. It's happened to me, the grapheneos guy, terry davis,as wellas the Ian Murdock, and also several people from the tor project, whonix, as well. I know this is likely why you made the thread to talk about portage,but just in case it isn't glowie, yes my package works, and no you can't have it, and yes the source is obfuscated
fuck package managers and fuck dynamic linkingeverything should be portable and statickill yourselves
>>108556502Are these stalkers in the room with us right now?
>>108553420This is the exact same cope redhat cucks would say and even they were forced to admit it sucked so much they made dnf5.
>>108553281grim.>>108553999imagine how much time it has wasted in poor limited people's lives that fell for it!>>108555320>>108554141gentoo troons BTFO.
>>108553281i see what you're doing. you don't need our permission. go start your rust version, tranny.
>>108555713the wiki states slowness is the result of bloatware, not the definition itselflearn to use logic
>>108555142>if you want to bootstrap>fire up the interpreter
>>108556921Isn't that basically what stage0 is?
It's a package manager, not a crypto miner
>>108556992>not a crypto miner
>>108553281Unrelated to the topic but Gentoo is the only distro where I NEVER been able to do a luks installation.
>>108556886>the wiki states slowness is the result of bloatware, not the definition itselfare you illiterate? i copy-pasted the definition verbatim. a conditional statement can be part of a definition. this definition is synonymous with neither "slowness" nor "size", which contradicts your original assertion.>learn to use logici suggest you take your own advice
Alpine Package Keeper (APK) is written in 100% C and is fast as h*ll.
>>108556997
>>108557622>Alpine Package Keeper (APK) is written in 100% C and is fast as h*llBut hills aren't fast. They don't move at all.
>>108553999>>108556728>compiling>wasting timeYou wot m8s. Compiling has no role for the user to play - the computer handles it. It's not a bing bing wahoo situation.
>>108556997gentoo sisters...