To view parent comment, click here.
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.
I think it is exacly the point of bnolsen
When portage was getting more complex, python wasn't the language to do the job anymore. A static typing, compiled language would be better. more error checking and compiled validation.
If you tried to use python application for more than scripting (music player, IDE, etc.) you'll see that as it become more complex, side effect make application unstable (they crash alot). Debuging start to make development no more productive than using compiled language (without pointer).
I develop mainly in python, but sometimes one need to face reality.
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.







Member since:
2006-01-06
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.