Re: Perl2ROOT

From: Subir sarkar <sarkar_at_mail.cern.ch>
Date: Wed, 15 Jun 2005 18:22:31 +0200 (CEST)


Hi Fons,

I'm a Perl afficionado myself:-), but I think PyROOT is one example where Python shines.

The performance is not comparable to ROOT/PyROOT when it comes to loops. The ROOT benchmark is dominated by histogram filling. However, as I understood, even PyROOT needed clever optimisation for loops, so there is still hope. At present Perl2ROOT is about 3.5 times slower than PyROOT.

Cheers,
- Subir

On Wed, 15 Jun 2005, Fons Rademakers wrote:

> Hi Subir,
>
> that sounds like a nice approach. The pure Perl afficionado's might not
> be so happy that there language is interfaced via Python :-)
> What is the performance? I hope that the inline::python does not
> interpret the code too but is just a simple pass through.
>
> Cheers, Fons.
>
>
> On Wed, Jun 15, 2005 at 05:18:57PM +0200, Subir sarkar wrote:
> > Dear ROOT users,
> >
> > I've created a Perl binding to ROOT which uses the highly efficient PyROOT
> > binding instead of creating a native interface. This is not a SWIG based
> > approach which we already know about. The present binding uses a Perl
> > module, Inline::Python which binds any Python code from Perl seemlessly.
> > Since PyROOT is officially a part of ROOT and will always be in
> > synchronisation with the ROOT development, the present Perl binding, once
> > conceptually complete, should not hoefully require any substantial
> > maintenance effort.
> >
> > The interface is a just a beginning and I'll have to learn more about both
> > PyROOT as well as Inline::Python. However, I've already managed to run the
> > ROOT benchmark and convert a large number of ROOT tutorial examples.
> >
> > Please look at http://sarkar.home.cern.ch/sarkar/PerlRoot/ for detail.
> > I've so far managed to put together only minimal documentation.
> >
> > Regards,
> > - Subir
> >
> > --
> > /----------------------------------------------
> > | Subir Sarkar
> > |
> > | Phone: +39-333-4832629
> > \---------------------------------------------
>
>

-- 
/----------------------------------------------
|  Subir Sarkar
| 
|  Phone: +39-333-4832629  
\---------------------------------------------
Received on Wed Jun 15 2005 - 18:23:30 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:09 MET