by bcoates · 14y ago · 0 comments
C# and Java can produce very efficient programs, and for a lot of CPU-bound problems the obvious solution in either of those will be faster, particularly stuff that needs to perform lots of little allocations or where the obvious C++ program does too much accidental copying.
However with C++ it's easy to work around that by using pointers or (const) references. Or even one step further one can use a memory pooler or GC.