From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2762 invoked by uid 1002); 3 May 2003 10:07:28 -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 17054 invoked from network); 3 May 2003 10:07:15 -0000 From: Martin Schlemmer Reply-To: azarah@gentoo.org To: Gentoo-Dev In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-DpvASYxwQgeCPhSWTO4u" Organization: Message-Id: <1051956324.4516.21.camel@nosferatu.lan> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4- Date: 03 May 2003 12:05:24 +0200 Subject: Re: [gentoo-dev] Init replacement X-Archives-Salt: d0026be5-bf5b-4216-afb7-ea6ee654c281 X-Archives-Hash: 739e77455e5bf228886745300f1b6ed3 --=-DpvASYxwQgeCPhSWTO4u Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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. >=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 languages. > (haskell, miranda, etc...) >=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. 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, --=20 Martin Schlemmer Gentoo Linux Developer, Desktop/System Team Developer Cape Town, South Africa --=-DpvASYxwQgeCPhSWTO4u 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+s5RkqburzKaJYLYRAnK1AJ0VmoegqLNG/Jkhg363YQMU87WZdwCgllFg oEgRYlLrk8wCRm2HZmvfO2I= =f0at -----END PGP SIGNATURE----- --=-DpvASYxwQgeCPhSWTO4u--