[EMAIL PROTECTED] writes:
>Since I'm quite into Python these days, I wonder: while we all know that
>Python is slower than C/C++, where do you think can we get real-world
>numbers to tell us just how much slower it is, and for what types of
>applications?

May be a perl scipt can help. :-)

use Benchmark;
my $r=Benchmark::cmpthese(1000,
{
  clang => sub {

    # place your c program here
    system(c_prog);
  },
  python => sub {

    # place your python program here
    system(python_prog);
  }
});



sherwin

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to