>Have you looked at f2py?
>There is also fortran magic for Jupyter notebooks
>f90wrap extends f2py to support modern Fortran
f2py and others are great to use static Fortran code, like LAPACK or BLAS.
By static, I mean that no change is necessary to the Fortran code.
Fython can do that too, and als
On Sunday, October 2, 2016 at 10:57:57 AM UTC-5, nicolases...@gmail.com wrote:
> >One problem with using very similar syntax for distinct languages is that it
> >can get confusing.
>
> The first inspiration for Fython was to be close to Fortran, while improving
> the syntax. The project is in th
>One problem with using very similar syntax for distinct languages is that it
>can get confusing.
The first inspiration for Fython was to be close to Fortran, while improving
the syntax. The project is in the early days, so all suggestions are welcome.
Some difference to the Python language are
On 02/10/2016 14:43, nicolasessisbre...@gmail.com wrote:
**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?
It's something in between. Fython is a programming langugage with its own
synt
**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?
It's something in between. Fython is a programming langugage with its own
syntax. For example
def mean:
int in
On 2016-10-02, nicolasessisbre...@gmail.com :
> **How does this compare to Python+Numpy?
> **How much faster is Fython, and what are the restrictions on the
> **Python code?
>
> Python+Numpy allows easy processing of vector, but there is a limit to
> how much user-defined logic can be used with N
On 10/01/2016 09:06 PM, Chris Angelico wrote:
> On Sun, Oct 2, 2016 at 1:58 PM, 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 program
On Sun, Oct 2, 2016 at 1:58 PM, 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
**How does this compare to Python+Numpy?
**How much faster is Fython, and what are the restrictions on the Python code?
Python+Numpy allows easy processing of vector, but there is a limit to how much
user-defined logic can be used with Numpy.
For example, operating on three different arrays to d
On Sun, 2 Oct 2016 11:18 am, Raoul Fleckman wrote:
> Interested to hear the answers to those questions, and whether Fython is
> pass by reference (Fortran) or value (python, unless passing a list, for
> example);
That's not how Python works. Ints and lists are passed exactly the same way,
neithe
On Sun, Oct 2, 2016 at 11:18 AM, Raoul Fleckman
wrote:
> Interested to hear the answers to those questions, and whether Fython is
> pass by reference (Fortran) or value (python, unless passing a list, for
> example); and then there's the 'little' matter of one-based (Fortran) or
> zero-based (pyth
On 2016-10-01, Chris Angelico wrote:
> On Sat, Oct 1, 2016 at 11:41 PM, wrote:
>> Fython permits to write numerical code with the same syntax then Python.
>> Under the hood, the code is transpiled to Fortran and run at top speed.
>
> How does this compare to Python+Numpy? How much faster is Fyth
On Sat, Oct 1, 2016 at 11:41 PM, wrote:
> Fython permits to write numerical code with the same syntax then Python.
> Under the hood, the code is transpiled to Fortran and run at top speed.
How does this compare to Python+Numpy? How much faster is Fython, and
what are the restrictions on the Pyth
13 matches
Mail list logo