comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: C-->IDL / FORTRAN-->IDL searched
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: C-->IDL / FORTRAN-->IDL searched [message #6761] Thu, 15 August 1996 00:00 Go to previous message
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
In article <32127A95.41C6@raptor.lpl.arizona.edu>, Tim Patterson <tim@raptor.lpl.arizona.edu> writes:
|>
|> Going from C -> IDL might be impossible unles somebody wanted
|> to handle pointers anbd pinters to pointers etc.
|> But Fortran -> IDL should be easier. At least, i can think of
|> anything in F77 that can't be done in IDL. Optimizing the
|> IDL code would be the hard part if you wanted to make an efficient
|> translation.
|>

Yes, you're right about that. I guess you could *almost* convert
an f77 program to IDL through some simple search-and-replace
macros/functions in emacs, but then you'd essentially have a
slow f77 program, with f77 programming style but with IDL
syntax/semantics. Much better then, to either use call_external
fortran subroutines, or to use IDL as an RPC server from f77. Both
methods allow mixing of f77 for speed and IDL for e.g., plotting.

I don't program in Fortran so don't take the above statement
about f77->IDL by search-and-replace statements too seriously.

Stein Vidar
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: labeling time series with dates
Next Topic: Multiple plots on a page (was: Color PS (was:IDL resources))

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 00:59:47 PDT 2025

Total time taken to generate the page: 1.43994 seconds