Re: Intensive numerical calculations

*To*: mathgroup at smc.vnet.net*Subject*: [mg80192] Re: Intensive numerical calculations*From*: Bill Rowe <readnewsciv at sbcglobal.net>*Date*: Tue, 14 Aug 2007 07:12:45 -0400 (EDT)

On 8/13/07 at 4:33 AM, LumisrobTogliquesto at yahoo.com (Cristian) wrote: >How much is it distant Mathematica from the speed of the c++ >language compiled ? A well written program in a compiled language like C++ will always execute much faster than a similar program written in Mathematica code. But I strongly believe this type of comparison isn't useful. The execution speed advantage of C++ is more than offset by the development time for the program. =46or any non-trivial program written in Mathematica code, you will be making use of Mathematica function that would have to be re-written in C++ code. And even if this is not the case, things that take several lines of C++ code tend to take much fewer lines of code in Mathematica. This is an inherent advantage of using a higher level functions available in Mathematica and not available in C++. -- To reply via email subtract one hundred and four