To read all comments associated with this story, please click here.
gentoo is probably the worst advertisement for python. On anything but a very modern fast machine the portage operations are painfully, painfully slow and IMHO show exactly why scripting languages shouldn't be used too ambitiously for things. They just don't scale well.
I don't think python is the real issue. Portage used to be very fast. Over the years though it has gotten bloated and inefficient. Extending it has been difficult and not without loss of efficiency. It really is time for a rewrite. People seem to be leaning towards a C++ solution but I would rather have Python so we can easily extend it and add new modules.
The problems with portage are more due to design than language. If you where to re-write portage in C using exactly the same design, algorithms and architecture it's currently using, it wouldn't be much faster. Conversly I you where to redesign it from the ground up, and still use python, it would be significantly faster.
the first time i ran across python as system scripts was in a fresh gentoo install. it crashed each time i tried to proceed....
You must have had a foobarred installation. I had an issue with python on Gentoo exactly once in the 4 years I have been using Gentoo. Otherwise it is a solid language and other than the slow syncs and slow dependency checking it works fine for portage.
Edited 2007-09-15 14:52





Member since:
2007-09-14
the first time i ran across python as system scripts was in a fresh gentoo install. it crashed each time i tried to proceed....