Quote:
Originally Posted by eagle33199
... C++ can be slower than Java (Pointers are time consuming to handle for C++, malloc sucks, performance wise. You don't have those problems with Java).
|
Can you please provide an authoritative reference, or experimental data, to support the claims that:
1) properly-written code using pointers in C++ runs slower than functionally equivalent code written in Java
and
2) properly-written code using malloc in C++ runs slower than functionally equivalent code written in Java
Thanks!