From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32397 invoked by uid 1002); 4 May 2003 18:13:51 -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 14480 invoked from network); 4 May 2003 18:13:49 -0000 From: Martin Schlemmer Reply-To: azarah@gentoo.org To: Wesley Leggette Cc: Gentoo-Dev In-Reply-To: <1052064323.1707.7.camel@cyr.kaylix.net> References: <1051956324.4516.21.camel@nosferatu.lan> <1052064323.1707.7.camel@cyr.kaylix.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-vXp8fnZZ+Ef4OxL8mVd3" Organization: Message-Id: <1052071932.4478.7.camel@nosferatu.lan> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4- Date: 04 May 2003 20:12:12 +0200 Subject: Re: [gentoo-dev] Init replacement X-Archives-Salt: b86756d2-6229-494c-9c8c-a59080667ddf X-Archives-Hash: 9df0655d32dcb43cdbeeac0bcb5090ea --=-vXp8fnZZ+Ef4OxL8mVd3 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2003-05-04 at 18:05, Wesley Leggette wrote: > On Sat, 2003-05-03 at 05:05, Martin Schlemmer wrote: > > On Sat, 2003-05-03 at 11:08, Wouter van Kleunen wrote: > >=20 > > > Yes. I have thought of adding a script-service. But i removed it, bec= ause > > > 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. > > >=20 > > > I will think about adding scripts. Maybe just to lower the difference > > > between my init and sysvinit. But rather not bash, bash is ugly :-( > > >=20 > > > it would be nice if people wrote more scripts using functional langua= ges. > > > (haskell, miranda, etc...) > > >=20 > >=20 > > 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. >=20 > 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.=20 >=20 Why are you so defensive about XML ? Anyhow, you missed the point totally, as I have not even talked about XML. > >=20 > > Having the startup scripts/modules binary though, means you cannot > > do quick changes, etc as well. > >=20 > > 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. > >=20 > > Having SVC support build into init, now that is a reason why I would > > change init. > >=20 > > 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. > >=20 > >=20 > > Anyhow, just a few quick thoughts, --=20 Martin Schlemmer Gentoo Linux Developer, Desktop/System Team Developer Cape Town, South Africa --=-vXp8fnZZ+Ef4OxL8mVd3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+tVf8qburzKaJYLYRAujmAJ43ThfGWWGAniS5K6oDSe/3G41bRACfclKZ z7uAaOcJR8qq779AAJb2vuM= =8WPb -----END PGP SIGNATURE----- --=-vXp8fnZZ+Ef4OxL8mVd3--