Python is really the main language of machine learning and deep learning. However, a lot of autonomous vehicle companies require engineers to be proficient in C++, because usually the code that goes on the vehicle is C++. As a compiled, high-performance language, it’s just much faster than Python. However, the training of machine learning models usually takes place outside of the vehicle, so it’s less important to know C++ for these roles. Unfortunately, some employers still list C++ as a requirement, even for machine learning roles.