From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5614 invoked by uid 1002); 4 May 2003 16:15:30 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 11250 invoked from network); 4 May 2003 16:15:30 -0000 From: Wesley Leggette To: azarah@gentoo.org Cc: Gentoo-Dev In-Reply-To: <1051956324.4516.21.camel@nosferatu.lan> References: <1051956324.4516.21.camel@nosferatu.lan> Content-Type: text/plain Organization: Message-Id: <1052064323.1707.7.camel@cyr.kaylix.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1- Date: 04 May 2003 11:05:23 -0500 Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] Init replacement X-Archives-Salt: 29801cbc-c579-4d8b-867b-d5de9cb4465e X-Archives-Hash: 36057e9d99d1e7715f42196f9396692b On Sat, 2003-05-03 at 05:05, Martin Schlemmer wrote: > On Sat, 2003-05-03 at 11:08, Wouter van Kleunen wrote: > > > Yes. I have thought of adding a script-service. But i removed it, because > > i do not like scripts. I agree that they are convenient for executing a > > collection of commands, but bash is a very weak programming language. > > > > I will think about adding scripts. Maybe just to lower the difference > > between my init and sysvinit. But rather not bash, bash is ugly :-( > > > > it would be nice if people wrote more scripts using functional languages. > > (haskell, miranda, etc...) > > > > Point is, where say 80% people can code in sh/bash, much less can do > that in python, haskell, whatever. Thus dropping the 'user' interface > to the init system being in bash/sh, will make it unusable for many > users. Oh come on. Like XML is really than difficult. I'm sure 80% know the syntax, and Wouter's keywords are a lot simpler than Bash's. Besides, 80% is completly off for people who know bash (and XML syntax too). Let's face it. Wouter's XML is a lot easier for newbies to learn. It has actual english in it. I don't see why everyone is so defensive about their beloved bash scripts. > > Having the startup scripts/modules binary though, means you cannot > do quick changes, etc as well. > > And like many others did say, python/whatever have too large > dependencies. For example, having python initscripts will make > an initrd/diet_system a PITA to get running. > > Having SVC support build into init, now that is a reason why I would > change init. > > Another question that bothers me ... if everybody is so against bash > being slow, why don't they spent time to get bash's IO more optimised? > For example, getting bash to read the whole script, and then executing > it, and not reading line by line should already add much improvement. > > > Anyhow, just a few quick thoughts, -- Wesley Leggette -- gentoo-dev@gentoo.org mailing list