Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Paul Koning <pkoning@equallogic.com>
To: drow@false.org
Cc: bauerman@br.ibm.com,     gdb@sourceware.org
Subject: Re: plugin interface for GDB
Date: Fri, 20 Apr 2007 22:01:00 -0000	[thread overview]
Message-ID: <17961.14337.688989.413158@gargle.gargle.HOWL> (raw)
In-Reply-To: <20070420215513.GA1434@caradoc.them.org>

>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:

 Daniel> On Fri, Apr 20, 2007 at 06:21:11PM -0300, Thiago Jung
 Daniel> Bauermann wrote:
 >> I agree that a plugin interface and a scripting language overlap a
 >> lot in terms of functionality. I'm not sure it would cut it in my
 >> specific case... I'm looking at something which will potentially
 >> need to examine 10's of GB of inferior memory in some cases and
 >> I'm a bit worried about the performance. If there was already
 >> scripting language support in GDB, I could do some
 >> benchmarks. It's quite possible that the overhead of the scripting
 >> language would be low or acceptable. But right now I don't want to
 >> work (probably a lot) on developing such support only to find out
 >> it won't meet my performance needs... :-)

 Daniel> Well, it's going to get developed eventually in either case.
 Daniel> If you can't write things fast enough in Python, Python
 Daniel> itself lets you load C modules to do the real work; the
 Daniel> question is how fast GDB can provide memory access to the
 Daniel> Python layer.  And I think the answer is roughly as fast as
 Daniel> GDB could get at it directly.

Very likely.  "Scripting language" often makes people expect low
performance, and for some that may be true (shell scripts?  Tcl
perhaps).

Python is very fast.  It compiles to bytecode, and the execution
machinery seems to work quite well.  I have an application that runs
through very large files, doing some simple string matching.  It runs
at 50 MB/s or better, on a PC.

So I don't think speed will be a concern.

   paul


  reply	other threads:[~2007-04-20 22:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-20 19:44 Thiago Jung Bauermann
2007-04-20 19:57 ` Brian Dessent
2007-04-20 21:39   ` Thiago Jung Bauermann
2007-04-20 20:00 ` Daniel Jacobowitz
2007-04-20 21:21   ` Thiago Jung Bauermann
2007-04-20 21:55     ` Daniel Jacobowitz
2007-04-20 22:01       ` Paul Koning [this message]
2007-04-20 23:00         ` Robert Dewar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17961.14337.688989.413158@gargle.gargle.HOWL \
    --to=pkoning@equallogic.com \
    --cc=bauerman@br.ibm.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox