Dag Sverre Seljebotn wrote:
> Is it OK to have nice and convenient wrapping of Fortran libraries as an
> additional feature of core Cython?
>
>  [ ] Yes, that would be grand
>  [ ] No, that would bloat the language and/or the compiler/project too
> much, I'd prefer to see this in a standalone tool/plugin

  [X] It depends on how it's done.

Cython is about generating fast C code from Python code. Interfacing with
Fortran code is a worthy goal (even beyond the GCC world), but letting
users write Fortran code in Cython is not quite within the project scope,
IMHO.

If the core feature is like "well, we have all those Fortran types, so we
should make them first class types in Cython, like fint and ffloat, and
then overload all operators for them, do all the coercion from and to C
types under the hood, and then we need an 'fdef' keyword to define Fortran
functions, and maybe some other stuff, too", then I would consider that
akin to language bloat.

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to