Re: [ROOT] root as extension language

From: Brett Viren (bv@bnl.gov)
Date: Mon Mar 24 2003 - 16:15:45 MET


Rüdiger Berlich writes:
 > The obvious idea is now to use root as an extension language,
 > i.e, to start the execution of a root script performing such an
 > analysis in each individual of the Evolutionary Algorithms' population.
 > I'm therefore looking for a possibility to embed root (i.e. cint +
 > all standard root libraries) into my code.

Do you actually need all of the ROOT features or are you just looking
for an extension language?  

If your goal is to *just* provide an extension language, frankly, I
wouldn't consider ROOT/CINT.  If you need to use, specifically, C++ as
the extention language or you need object I/O, histograms, drawing,
and all the good stuff ROOT provides then ROOT/CINT is an okay choice,
but if you simply want to provide users a way to write scripts for
your main compiled app I'd suggest using SWIG (www.swig.org) to
generate the necessary wrappers for whatever your favorite interpreted
language is (Scheme, Perl, Python, etc).


-Brett.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET