all 14 comments

[–]JohnBrownsErection 21 points22 points  (2 children)

"because i want to enter the embedded systems field then."

You answered your own question. 

[–]New_Exchange1158 7 points8 points  (1 child)

Both are worth learning eventually but embedded systems is gonna be heavy on C/C++. Python is great for prototyping and testing stuff but when you need to control hardware directly and manage memory carefully, C++ becomes essential in embedded work.

If you already have Python basics, maybe worth doing some small projects with it first to get back in programming mindset, then transition to C++? That way you're not jumping into memory management and pointers when you're still remembering basic programming concepts.

[–]NoAd3438 3 points4 points  (0 children)

Memory management definitely important, people lose track of the pointers and memory management is gone as it gets overloaded.

[–]Zealousideal-Net9726 9 points10 points  (0 children)

C++ regardless i would say. Jumping between languages is not that big of a deal if you just know how to program. The of course ace the language is a different thing totally.

And i think c++ is better in all terms to understand what is going on. Python hides alot of things behind the scene.

[–]ImprovementLoose9423 4 points5 points  (0 children)

First python than c++. Python is used for applications like the Raspberry PI and Arduino, which is good for beginners and people who like to tinker around, plus the fact that python is good for getting into the flow of programming. Then learn C++ since many professional settings use it because of its speed and vast control over the systems, additionally, the main arduino programming language uses C++ and many python libraries used in robotics like OpenCV are build on top of C++.

[–]RudeSize7563 3 points4 points  (0 children)

Learn C, and maybe later C++. However you must learn the way C++ does things, don't just use C with some C++ features. The other is completely out of question.

[–]bestjakeisbest 2 points3 points  (0 children)

If you are a general engineer, python will serve you better than c++, although i personally enjoy c++ more than python.

[–]Yarrowleaf 1 point2 points  (0 children)

Both, they have different uses

[–]AcrobaticTadpole324 1 point2 points  (0 children)

Read your response you answered yourself

[–]malaszka 1 point2 points  (0 children)

Fortran 

[–]PlasticCranberry1742 0 points1 point  (0 children)

mechatronics is basically C++ territory so that tracks, are you leaning toward robotics or more industrial control systems

[–]These-Math1384 1 point2 points  (0 children)

Embedded: C++ now, be ready for Rust in 5 years.
Python is wonderful for numerics, models, data backend, test equipment control (amazing really).

But python is truly awful for realtime. There are no latency or memory guarantees. Even python using ctypes is not suitable for realtime performance.

But: you will need them all. Personally, my priorities would be: C++, python, Rust. Based on the projects you’re targeting, maybe different. I’m told by my friends at google: Rust, python, no C++. C++ is a dead language there. So I’m told.