Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: Gentoo-Dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] Init replacement
Date: Sat, 03 May 2003 10:07:28
Message-Id: 1051956324.4516.21.camel@nosferatu.lan
In Reply to: Re: [gentoo-dev] Init replacement by Wouter van Kleunen
1 On Sat, 2003-05-03 at 11:08, Wouter van Kleunen wrote:
2
3 > Yes. I have thought of adding a script-service. But i removed it, because
4 > i do not like scripts. I agree that they are convenient for executing a
5 > collection of commands, but bash is a very weak programming language.
6 >
7 > I will think about adding scripts. Maybe just to lower the difference
8 > between my init and sysvinit. But rather not bash, bash is ugly :-(
9 >
10 > it would be nice if people wrote more scripts using functional languages.
11 > (haskell, miranda, etc...)
12 >
13
14 Point is, where say 80% people can code in sh/bash, much less can do
15 that in python, haskell, whatever. Thus dropping the 'user' interface
16 to the init system being in bash/sh, will make it unusable for many
17 users.
18
19 Having the startup scripts/modules binary though, means you cannot
20 do quick changes, etc as well.
21
22 And like many others did say, python/whatever have too large
23 dependencies. For example, having python initscripts will make
24 an initrd/diet_system a PITA to get running.
25
26 Having SVC support build into init, now that is a reason why I would
27 change init.
28
29 Another question that bothers me ... if everybody is so against bash
30 being slow, why don't they spent time to get bash's IO more optimised?
31 For example, getting bash to read the whole script, and then executing
32 it, and not reading line by line should already add much improvement.
33
34
35 Anyhow, just a few quick thoughts,
36
37 --
38
39 Martin Schlemmer
40 Gentoo Linux Developer, Desktop/System Team Developer
41 Cape Town, South Africa

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Init replacement Wesley Leggette <wleggette@××××.net>