On 03/05/2015 00:00, Geoffrey Knauth wrote:

On Friday, May 1, 2015 at 5:53:04 PM UTC-4, Greg Trzeciak wrote:
It's an old thread but just in case someone is looking for the answer Julia has 
(now?) C API:
http://julia.readthedocs.org/en/latest/manual/embedding/

I hesitate to mention connecting Racket to Fortran some day but I wonder if 
that's ever been done.  Nine years ago when I worked on parallel programming 
enhancements to Octave, the free MATLAB-workalike written in C++, Octave leaned 
heavily on Fortran scientific libraries that had been highly optimized over 
decades.  Julia is also speedy doing math.

If it's old Fortran 77 code (BLAS, LAPACK, etc.), C interfacing techniques work quite well in practice. You have to know how the Fortran compiler's API maps to a C API, but there are only two or three conventions around, which differ in trivial things like underscores added to subroutine names. Fortran 95 and later are a different story.

Konrad.

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to