From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16921 invoked by uid 1002); 16 Apr 2003 20:54:52 -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 6780 invoked from network); 16 Apr 2003 20:54:52 -0000 From: Justin Whitney To: gentoo-dev@gentoo.org In-Reply-To: <20030416085248.GD1795@Daikan.pandora.be> References: <3E9D168C.10392.73F5440@localhost> <200304161019.31869.gentoo-user@devrieze.net> <20030416085248.GD1795@Daikan.pandora.be> Content-Type: text/plain Organization: Message-Id: <1050526455.25760.100.camel@osiris.ripple.be> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4- Date: 16 Apr 2003 16:54:15 -0400 Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] initscripts in python X-Archives-Salt: d4b749fc-bef9-4a78-945c-b5ee44ecce53 X-Archives-Hash: a434b5395afbed74115c11bd0c84bf37 Thanks for the arguments thus far. So added to the cons list is: *addition of newer less-tested interpreter could add instability *very small/short scripts incur overhead Here are two mitigating arguments to counter the first statement. First - a separate, stable build of python could be used as the system-boot interpreter. it might make sense to statically link it and so forth to lower dependencies... perhaps even to optimize it in some respects, for its task. Second, a shell script like the runscript.sh that is already used could be used to launch the interpreter and check for a runtime failure. On failure it could launch the .sh version of the bootscript. This means keeping two copies of the shellscripts obviously (which wouldn't be a bad idea anyway...) this would at least have the benefit of salvaging the boot... As for the overhead problem with very small scripts, I don't see that going away... in fact converting such scripts would be a waste of time in the first place, because it doesn't make use of any of the advantages proposed by the change. It would make more sense to set up the boot process to be able to run both kinds so you don't waste your time. --Justin -- gentoo-dev@gentoo.org mailing list