Not exactly true, in some use cases this is correct but in others it doesn't hold. A virtual machine with a garbage collector has some advantages for the optimisation of memory allocation and can actually outperform pure C/C++.
It's not as fast as C/C++ but it's probably the next best thing.
Examples of common gotchas:
- Forgetting to use var for a variable creates a global variable (can have difficult to debug side effects).
- The foreach can have un-expected values unless an appropriate guard is used.
Edited by SledgY, 16 May 2013 - 11:03 AM.