Re: [Numpy-discussion] Modern Fortran vs NumPy syntax

2013-02-09 Thread Sylwester Arabas
Hi All, On 08/02/13 00:57, Ondřej Čertík wrote: > On Thu, Feb 7, 2013 at 11:31 AM, Frédéric Bastien wrote: >> ... >> Maybe you can check that article to find more case to compare. > > Yes, I know about this article --- I've been in touch with Sylwester about it, > as I found his code on github a

Re: [Numpy-discussion] Modern Fortran vs NumPy syntax

2013-02-08 Thread Gökhan Sever
Hi Ondřej, Any ideas that your manual syntax mapping would evolve to an automatic translation tool like i2py [http://code.google.com/p/i2py/] Thanks. On Thu, Feb 7, 2013 at 12:22 PM, Ondřej Čertík wrote: > Hi, > > I have recently setup a page about modern Fortran: > > http://fortran90.org/ > >

Re: [Numpy-discussion] Modern Fortran vs NumPy syntax

2013-02-07 Thread klo uo
Thanks for providing this. Reference is excellent, especially as I was collecting Fortran and f2py resources, some month ago, and I found nothing similar to answers you expose. Side by side syntax is just great and intuitive And rest is... Thanks On Thu, Feb 7, 2013 at 8:22 PM, Ondřej Čertík wr

Re: [Numpy-discussion] Modern Fortran vs NumPy syntax

2013-02-07 Thread Ondřej Čertík
Frédéric, On Thu, Feb 7, 2013 at 11:31 AM, Frédéric Bastien wrote: > Hi, > > I just read a paper[1] that compare python with numpy or pypy vs c++ and > fortran from a code, memory and speed point of view. The python code was > still better as you can't have list of ndarray in fortran and some oth

Re: [Numpy-discussion] Modern Fortran vs NumPy syntax

2013-02-07 Thread Frédéric Bastien
Hi, I just read a paper[1] that compare python with numpy or pypy vs c++ and fortran from a code, memory and speed point of view. The python code was still better as you can't have list of ndarray in fortran and some other stuff was harder to do. The fastest was fortran, then C++, but pypy around

[Numpy-discussion] Modern Fortran vs NumPy syntax

2013-02-07 Thread Ondřej Čertík
Hi, I have recently setup a page about modern Fortran: http://fortran90.org/ and in particular, it has a long section with side by side syntax examples of Python/NumPy vs Fortran: http://fortran90.org/src/rosetta.html I would be very interested if some NumPy gurus would provide me feedback. I