announcing fython

Michael Torrie torriem at gmail.com
Sat Oct 1 23:20:41 EDT 2016


On 10/01/2016 09:06 PM, Chris Angelico wrote:
> On Sun, Oct 2, 2016 at 1:58 PM,  <nicolasessisbreton at gmail.com> wrote:
>> Fython speed is the same as Fortran speed.
>>
>> There is no restriction on the Python code.
>> Once a Fython program is avalaible, Python can throw any scalar or Numpy array at it.
>>
>> For the programmer convenience, like Fortran, Fython allows the choice between
>> one-based and zero-based indexing at array declaration.
> 
> This is where I'm a little confused. Is Fython a full-featured Python
> implementation that compiles to Fortran, or a thin wrapper around
> Fortran that uses Python syntax, or something in between?

>From the web page, it's appears to be just Fortran with a Python-ish
syntax, but with a special Python module ("import fython") to more
easily allow the use of Fortran or Fython constructs (compiled fortran
code) from within actual Python.  Seems to allow the blending of
Fortran, Python, and Numpy.  Sounds pretty useful.  A transpiler and
also a Python bridge.



More information about the Python-list mailing list