|
Posted by NC on 12/01/07 16:16
On Dec 1, 6:20 am, Osiris <e...@hotmail.com> wrote:
>
> I wish PHP would do array and matrix stuff like Fortran or C, btw.
> Something for PHP 6 ?
Highly unlikely... Given the PHP team's obsession with OOP, expecting
anything quant-friendly is an unrealistic hope. OOP and numerical
computing don't mix too well...
At the same time, we have to keep in mind that Fortran has been around
for 50 years now, so the code base created over all that time is
incredibly rich, especially when it comes to numerical stuff. At
some point, I needed a couple of statistical routines in PHP, so I
ended up porting them from Fortran code written circa 1970...
A possible way out would be to take "Numerical Recipes in C" (which is
a C clone of "Numerical Recipes in Fortran") and wrap those C
functions into a PHP extension, but it still wouldn't solve the
problem of availability on shared hosting...
Cheers,
NC
Navigation:
[Reply to this message]
|