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

Home » Public Forums » archive » Re: C/C++ conversion to IDL
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/C++ conversion to IDL [message #44212 is a reply to message #44203] Mon, 30 May 2005 01:18 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
nasalmon@onetel.net.uk writes:
> Would anybody know if there is there software available to convert
> programs in C into IDL (i know you can link in C programs to running
> under IDL)? However, i am more interested in getting shorter, more
> transparent code which is easier to work with. I obviously want the
> minimum of hassel in converting the C code into IDL, so i dont want to
> trawl through this myself converting it.

I've always done it painstakingly, by hand. Usually I do a as direct
a translation as possible, word for word, line for line. FORTRAN is
the best for this since FORTRAN and IDL are more similar (than say, C
and IDL). After that, I look for optimization opportunities.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: delete variable name from memory
Next Topic: NEAREST LOCATION _ ARRAY VALUE PROBLEM

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

Current Time: Sat Oct 11 02:33:47 PDT 2025

Total time taken to generate the page: 0.08228 seconds