What are some key differences between C++, Java, and Python in terms of memory management and execution speed?