Java speeds have caught up to C/C++ and sometimes passes them
I was researching a bit on how efficient is Java really since I love C
and I see more and more devs going on to Java. I wanted to know what
sort of improvements could Java have on C or rather C++ (to be fair)
I read this and this, and what I understood from these two sites is that Java
is faster because it doesn't use pointers and it has a garbage collector for automatic
memory allocation and freeing.
So I was thinking if these things are true, if I changed my coding style to use less
pointers or even went a step further and coded my own garbage collector, would it
increase the speed of my C or C++ program to that of Java?