From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20175 invoked by alias); 14 Feb 2007 15:56:44 -0000 Received: (qmail 20127 invoked by uid 22791); 14 Feb 2007 15:56:41 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 14 Feb 2007 15:56:26 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HHMUX-0002Yt-5y; Wed, 14 Feb 2007 10:56:21 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HHMUW-0001u0-TV; Wed, 14 Feb 2007 10:56:20 -0500 Date: Wed, 14 Feb 2007 16:06:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: Jim Blandy , gdb@sourceware.org Subject: Re: GDB and scripting languages - which Message-ID: <20070214155620.GA7098@caradoc.them.org> Mail-Followup-To: Eli Zaretskii , Jim Blandy , gdb@sourceware.org References: <20070108222005.GA27451@nevyn.them.org> <20070210203307.GA27502@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00128.txt.bz2 On Wed, Feb 14, 2007 at 05:41:06PM +0200, Eli Zaretskii wrote: > > Even if the exception issue is worked out, though, I'm still concerned > > that Lua doesn't have as much momentum as Python. Python's wealth of > > other libraries available (gui; graphing; networking) brings a lot of > > potential with it. And there are a lot of programmers out there who > > could just start scripting GDB the day Python support is committed. > > Python is a full-fledged programming language, not a language created > for extending other programs. Do you really think we need networking, > graphics, and GUI in GDB scripts? That sounds like an awful overhead. None of that's in the core of Python, you'll notice. It's all in modules. Some of those for networking are standard modules, but none of it would be linked in to GDB. But in any case those aren't the ones I had in mind: I was thinking of things like XML, text processing, and high-performance numerics. And Python is widely used as an extension language nowadays - which may not be true when the paper you reference was written, eleven years ago. Based on this discussion, I think we probably won't convince you that Python is the best choice. Do you think that Python would be a bad choice with serious negative consequences? -- Daniel Jacobowitz CodeSourcery