Re: [Fwd: Re: Wikipedia criticism about root]

From: Julius Hrivnac <Julius.Hrivnac_at_cern.ch>
Date: Wed, 05 Jul 2006 13:43:17 +0200

Valeri Onuchin wrote:
> Hi,
> I'd like to add a small comment to support Valeri's arguments for
> right choice of CINT instead of "other interpreted languages", in context
> of future perspectives.
> In my opinion, many modern interpreted languages like Python, Perl, PHP etc.
> might dissapear in the neareast future when processor speed will
> be increased by a factor of 10.
> At the present, it takes few seconds to compile 100s lines of C++ script with ACLiC
> on an average machine. When, with having faster processors,
> this time will be decreased to a fraction of second - the difference between
> interpreted and "non-interpreted" language might dissapear.
> To run interpreted script, it will be passed through compilation step,
> and then compiled code will be executed.

That is exactly what is happening already now with Java, for example in JAS. The Java compilation is already several orders of magnitude faster than C++. For example to compile > 2000 class of FreeHEP takes in general < 2 minutes. The are basically two reasons for that: 1) Compiler has much easier task with well defined Java that with

    fussy C++.
2) Most of Java optimization happens at a run time (which allows

    to optimize the code according to actual usage pattern).

          Julius

-- 
########################################################################
# E-mail: Julius.Hrivnac_at_cern.ch                                       #
# WWW:    http://home.cern.ch/~hrivnac/                                #
# S-mail: LAL, BP 34, F - 91898 Orsay cedex, France                    #
# phone: (F)-(0)1-64-46-82-51; private: (F)-(0)8-71-19-31-70           #
# mobil: (F)-622-741-151; (CZ)-607-918-415                             #
# ICQ: 10804323                                                        #
# AIM: jhrivnac                                                        #
########################################################################
Received on Wed Jul 05 2006 - 13:44:14 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET