[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Numerical Integration
From: 
Francesco Potortì 
Subject: 
Re: Numerical Integration 
Date: 
Sun, 07 Dec 2008 16:07:21 +0100 
>IMHO, there are at least 2 advantages to Fortran over C++:
>1. Speed of array access due to aliasing problems of pointers. In C,
>most of these can be solved using restricted pointers in C99, but in
>C++ there are no restricted pointers so far.
>2. Compiling Fortran in very fast compared to compiling C++. On any
>system I tried, libcruft is usually compiled in a flash.
While trying to understand what Jaroslav wrote, and doing a research on
"restricted pointers", I found out that the gcc manual contains this:
6.2 Restricting Pointer Aliasing

As with the C front end, G++ understands the C99 feature of restricted
pointers, specified with the __restrict__, or __restrict type qualifier.
I don't know yet what's the meaning of the above, but while I am
studying I though that this may be of interest to you :)

Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111)
ISTI  Area della ricerca CNR Fax: +39 050 315 2040
via G. Moruzzi 1, I56124 Pisa Email: address@hidden
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/
 Re: Numerical Integration, (continued)
 Re: Numerical Integration, Ivan Sutoris, 2008/12/07
 Re: Numerical Integration, Søren Hauberg, 2008/12/07
 Re: Numerical Integration, Jaroslav Hajek, 2008/12/07
 Re: Numerical Integration, Søren Hauberg, 2008/12/07
 Re: Numerical Integration, Jaroslav Hajek, 2008/12/07
 Re: Numerical Integration, Carlo de Falco, 2008/12/07
 Re: Numerical Integration, John W. Eaton, 2008/12/10
 Re: Numerical Integration, Jaroslav Hajek, 2008/12/11
 Re: Numerical Integration, John W. Eaton, 2008/12/11
 Re: Numerical Integration, Jaroslav Hajek, 2008/12/11
 Re: Numerical Integration,
Francesco Potortì <=
 Re: Numerical Integration, Jaroslav Hajek, 2008/12/07
 Re: Numerical Integration, Ben Abbott, 2008/12/07
 Re: Numerical Integration, Jordi Gutiérrez Hermoso, 2008/12/07
 Re: Numerical Integration, dbateman, 2008/12/07
 Re: Numerical Integration, Stefano Mandelli, 2008/12/06
 Re: Numerical Integration, Marcin Sleczka, 2008/12/13