4 ms·
Main reason: C/C++ is compiled and can be faster than Java, basically because you control the memory, object lifetimes and there's no garbage collection. If C/
by gjulianm 7y ago
Main reason: C/C++ is compiled and can be faster than Java, basically because you control the memory, object lifetimes and there's no garbage collection.
If C/C++ speed/low-level management is not required, I'd rather go to Python or, if want static typing, C#, than Java. Python gives easy development and broad library support, and C# has more features than Java (one being way better metaprogramming support).