Ondrej Certik wrote: > On Fri, Jan 16, 2009 at 11:43 AM, Robert Bradshaw > <[email protected]> wrote: >> On Jan 16, 2009, at 1:36 AM, Dag Sverre Seljebotn wrote: >> >>> As I have to interface a lot with some Fortran code these days, and a >>> full-fledged Cython<->Fortran-binding *may* come out of it (if I >>> continue to manage using Cython for this task it would be a likely >>> result in about a year, at least I structure my hacky scripts in that >>> direction), >> I know virtually nothing about Fortran, but this sure sounds cool and >> I'm sure the number-crunching communities would really like it. > > I was just thinking about this too. So far I use f2py, but I would > much prefer the Cython approach. > > Could you make your scripts public?
I'm afraid I ended up postponing it and wrapped only the Fortran parts I really needed right away manually instead (by writing Cython wrappers which pass the arguments by address and does the necesarry NumPy things; and by creating an f90 wrapper for calling functions with assumed-shape array arguments). So there's nothing usable in the sense of code, I've mostly been thinking about how to do it. So if it is me who's doing it, my wild guess is that this will happen either in summer or during autumn (so within the end of 2009, but perhaps not very much before). -- Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
