Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: Wesley Leggette <wleggette@××××.net>
Cc: Gentoo-Dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] Init replacement
Date: Sun, 04 May 2003 18:13:51
Message-Id: 1052071932.4478.7.camel@nosferatu.lan
In Reply to: Re: [gentoo-dev] Init replacement by Wesley Leggette
1 On Sun, 2003-05-04 at 18:05, Wesley Leggette wrote:
2 > On Sat, 2003-05-03 at 05:05, Martin Schlemmer wrote:
3 > > On Sat, 2003-05-03 at 11:08, Wouter van Kleunen wrote:
4 > >
5 > > > Yes. I have thought of adding a script-service. But i removed it, because
6 > > > i do not like scripts. I agree that they are convenient for executing a
7 > > > collection of commands, but bash is a very weak programming language.
8 > > >
9 > > > I will think about adding scripts. Maybe just to lower the difference
10 > > > between my init and sysvinit. But rather not bash, bash is ugly :-(
11 > > >
12 > > > it would be nice if people wrote more scripts using functional languages.
13 > > > (haskell, miranda, etc...)
14 > > >
15 > >
16 > > Point is, where say 80% people can code in sh/bash, much less can do
17 > > that in python, haskell, whatever. Thus dropping the 'user' interface
18 > > to the init system being in bash/sh, will make it unusable for many
19 > > users.
20 >
21 > Oh come on. Like XML is really than difficult. I'm sure 80% know the
22 > syntax, and Wouter's keywords are a lot simpler than Bash's. Besides,
23 > 80% is completly off for people who know bash (and XML syntax too).
24 > Let's face it. Wouter's XML is a lot easier for newbies to learn. It has
25 > actual english in it. I don't see why everyone is so defensive about
26 > their beloved bash scripts.
27 >
28
29 Why are you so defensive about XML ? Anyhow, you missed the point
30 totally, as I have not even talked about XML.
31
32 > >
33 > > Having the startup scripts/modules binary though, means you cannot
34 > > do quick changes, etc as well.
35 > >
36 > > And like many others did say, python/whatever have too large
37 > > dependencies. For example, having python initscripts will make
38 > > an initrd/diet_system a PITA to get running.
39 > >
40 > > Having SVC support build into init, now that is a reason why I would
41 > > change init.
42 > >
43 > > Another question that bothers me ... if everybody is so against bash
44 > > being slow, why don't they spent time to get bash's IO more optimised?
45 > > For example, getting bash to read the whole script, and then executing
46 > > it, and not reading line by line should already add much improvement.
47 > >
48 > >
49 > > Anyhow, just a few quick thoughts,
50 --
51
52 Martin Schlemmer
53 Gentoo Linux Developer, Desktop/System Team Developer
54 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>