Re: [racket-users] Re: [racket] How to call a Julia function from DrRacket?
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 racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[racket-users] Re: [racket] How to call a Julia function from DrRacket?
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. [ Neil: Your Racket math code works great for me. ] -- 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 racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] Re: [racket] How to call a Julia function from DrRacket?
On Sat, May 2, 2015 at 4:00 PM, Geoffrey Knauth ge...@knauth.org 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. I wrapped a bit of Fortran recently: https://github.com/jkominek/lbfgsb/ I had to learn more about the Fortran ABI than I cared to, but it's doable. If you needed to do a lot of it, it would be worth creating something like ffi/fortran/unsafe with FFI types that map a bit more directly to Fortran's types, and wrapping _fun with something that know's about Fortran's quirks. -- Jay Kominek -- 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 racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[racket-users] Re: [racket] How to call a Julia function from DrRacket?
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/ On Thursday, January 30, 2014 at 1:58:29 AM UTC+1, E Comer wrote: Hi Racket developers, programmers and users: Is there a way to call a Julia function from DrRacket? [I'm trying to integrate the number crunching capabilities of Julia with the nice graphics of the Plot module in Racket, to study some properties of particular dynamical systems] Thank you very much for your support. Enrique -- 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 racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.