
On 03/23/2010 07:54 PM, David Bergman wrote:
I never understood this idea that some libraries were not possible to build in C++. And, specifically, what graphics hardware acceleration has to do with C++(-specific) constructs. Are there intrinsic inefficiencies of C++ constructs (beside one indirection by virtual functions where they are used)? Is it something else? Yes, most low-level API's require a pointer to a memory area in the end, but does that force us to constantly send that raw pointer around?
You are quite right. I'm working myself on a library that uses CUDA for GPU-accelerated computation, and we make *heavy* use of C++. Can we please put that old myth to rest that high-performance code needs to be done in C ? Thank you. Stefan -- ...ich hab' noch einen Koffer in Berlin...