On Wed, 2012-12-26 at 10:54 +0530, Chandrashekar Babu wrote: > Most modern Linux distros however use systemd or upstart > instead of old rc-style shell scripts for performance and > scalability reasons.
I differ, If you consider Gentoo is a modern distro, then your statement is wrong. Gentoo as well as its childs still use openRC, not systemd/upstart. > That was back in the '90s. Today, shell scripting is a *very* bad idea > if portability, maintainability and performance are concerned. Shell > scripting is not recommended for anything greater than a 10 line > script. For anything bigger and complex than that - you should > use Python, Ruby or any other modern scripting language instead. I still differ, People who want performance don't consider Python/Ruby. A careful design can make scalability easier by writing it in C and do a glue-scripting, rather than Ruby/Python. I'm not an architect who can talk about scalability/performance of a big or enterprise level application, just an amateur programmer, but in my opinion, whatever complex the problem, a well defined split-up and writing tools for each split can scale whatever level we want. Want a proof? just look at git. It doesn't suck!! because it was not written in Python/Ruby, its a bunch of C programs which can be used as commands in bash (as well as in any language). what you say about this? with your so called Python/Ruby scalability? Just my opinion, it doesn't mean, all applications in the world should be written in C. but, I'm saying beautiful applications are all written in C. Thanks, Mohan R _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
