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

Home » Public Forums » archive » C++ in 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++ in IDL [message #44296 is a reply to message #44202] Wed, 01 June 2005 05:33 Go to previous messageGo to previous message
Tim-Oliver Husser is currently offline  Tim-Oliver Husser
Messages: 2
Registered: May 2005
Junior Member
Rick Towler wrote:
>> I assume, that the code would be much faster in C/C++,
>> wouldn't it?
>
>
> It depends, but most likely yes. I would write a dlm, not use call
> external.

I've just converted the fitness function to C and it was faster than the
IDL version about the factor 100. I think IDL hasn't really been
designed for number crunching... ;)

> Sure. I wasn't sure I could write a C++ dlm so I wrote a simple test
> program, got that to work, and went from there. I can't comment on your
> linux particulars, but I can offer up this simple example which may or
> may not be of help. At any rate, this can be done so push on. The
> example files:
>
> http://www.acoustics.washington.edu/~towler/programs/Mgc_vec tor.zip

Thanks, I'll have a look at it.

> Also, since I wrote this Ronn Kling has updated his book "Calling C from
> IDL" to include a chapter on calling C++. I would highly recommend
> picking this book up from his website http://www.kilvarock.com.

Hmm, looks nice, I hope my boss will buy this for me... ;)


Tim-Oliver
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Job announcement
Next Topic: Re: LIDAR .las format

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

Current Time: Sun Oct 12 05:58:01 PDT 2025

Total time taken to generate the page: 0.24173 seconds