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

Home » Public Forums » archive » Re: Compiling IDL code with a C compiler
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: Compiling IDL code with a C compiler [message #40145] Mon, 19 July 2004 06:05 Go to previous message
cedricl is currently offline  cedricl
Messages: 8
Registered: July 2004
Junior Member
David Fanning <davidf@dfanning.com> wrote
> I guess my point is that if you restrict the user to
> "essentially writing C with IDL syntax" the user might
> as well write the C code. That way, he would know for
> *sure* that it will compile. :-)

Well, I'm writing it first and foremost for myself. Advantages:

- As I've said, I would have a testable IDL version to ensure code
correctness _in case_ I have doubts about my IDL-to-C compiler.

- It would be much more integrated into the IDL code, much faster for
debugging, or small modifications. More portable, too.

- Nothing prevents me from supporting more of IDL's syntax, like the
[:] notation, so that I can write more natural IDL.

Personally, I'd be much more tempted to optimize a routine if I only
had to make a few loops explicit and a few type declarations, than if
I have to start a separate .c file, compile it, debug it, and make an
IDL wrapper.

Perhaps I'm more lazy than your are. They say that it's a quality for
a programmer ;-)

Anyway, you've sown the seeds of doubt in my soul, so I'll meditate it
some more. Thank you!

C�dric
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: call_external on windows - compaq
Next Topic: Subsetting an array with user defined values

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

Current Time: Sun Oct 12 11:14:36 PDT 2025

Total time taken to generate the page: 2.24548 seconds