Re: quick question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes it does, but it makes things easier for people who use C.

Also, I've seen a few tests where the same app compiled in both C &
C++ ran faster in C, even though the source was identical. While this
will loose some of that speed in that it has to calculate the offsets,
it will help with the C users in easier programming. Also, it can be
used to reduce the need for mallocs and strlen() functions (linear as
opposed to constant, isn't it?), which may even show a speed
improvement, in many cases.

-Jim

On 2/16/06, Perry Smith <pedz@xxxxxxxxxxxxxxxx> wrote:
> But... all of this flies in the face of C++.  You are doing the work
> that the C++ compiler would gladly do for you .


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux