Linked by Eugenia Loli-Queru on Fri 14th Sep 2007 23:08 UTC
General Development As a system administrator, you run across numerous challenges and problems. Managing users, disk space, processes, devices, and backups can cause many system administrators to lose their hair, good humor, or sanity. Shell scripts can help, but they often have frustrating limitations. This is where a full-featured scripting language, such as Python, can turn a tedious task into an easy one. Python is a scripting language that looks like it was made for system administrators.
Thread beginning with comment 271549
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: in some ways, I hate python
by bnolsen on Sat 15th Sep 2007 14:31 UTC in reply to "in some ways, I hate python"
bnolsen
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.

Reply Parent Bookmark Score: 1

abraxas Member since:
2005-07-07

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.

Reply Parent Bookmark Score: 2

sanctus Member since:
2005-08-31

I think it is exacly the point of bnolsen

> IMHO show exactly why scripting languages shouldn't be used too ambitiously for things. They just don't scale well.


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.

Reply Parent Bookmark Score: 2

dagw Member since:
2005-07-06

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.

Reply Parent Bookmark Score: 3