From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5417 invoked by uid 1002); 13 Aug 2003 19:29: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 10367 invoked from network); 13 Aug 2003 19:29:28 -0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@gentoo.org From: thomas weidner Date: Wed, 13 Aug 2003 21:19:39 +0200 Message-ID: References: <200308131844.24013.lanius@gentoo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Sender: news Subject: [gentoo-dev] Re: Gentoo Menu - Bash vs. Python Rule files X-Archives-Salt: f26f8db4-f9c9-4a2e-9189-aad4064b9e3c X-Archives-Hash: d8ca75ef68bec4db0f62b1f9ecb0c5b6 On Wed, 13 Aug 2003 18:44:24 +0200, Heinrich Wendel wrote: > Hi, > > Svyatogor and me are working on a menu system (like debian ones) for gentoo. > Now we have come to the part where we have to decide whether to use python or > bash scripts for the rule files of the window managers. > > The Python scripts are 2 times as fast as a bash script and in my opinion > would make live easier, are easier to handle. But svyatogor votes for bash > scripts, as more people know how to write bash scripts than python scripts, > here an example of both: > > Python: > http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/gentoo-menu/examples/fluxbox.py?rev=1.3&cvsroot=gentoo-src&content-type=text/plain > > Bash: > http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/gentoo-menu/examples/fluxbox.wm?rev=1.3&cvsroot=gentoo-src&content-type=text/plain > > What would you prefer? Why not implement it natively in language A (Python for instance or even C/C++) and write bindings for language B (Bash,Perl,Scheme,...) ? -- gentoo-dev@gentoo.org mailing list