Disclaimer: These views are based on my experience using python in embedded systems.
Python popularity is increasing due to simplicity and ease of use compared to other programming languages but it has it’s trade off which usually many novice programmers aren’t aware.
Python comes under interpreted programs. Interpreter translates just one statement of the program at a time into machine code and hence the time taken to run the code is much more than the compiled code.But in case of a compiled programming language. Compiler scans the entire program at once and generates the machine code so it takes less time to run.
The Spacing and the Indentation are often difficult in python to use but thanks to lint check tools which will auto indent the code making easier compared to C which has no such issues .
CPython will address performance issues in embedded systems in the years ahead until that we have to live with the performance issues as there’s limited support on boards and there are issues due to it’s budding phase and can’t be used to write code for time based critical applications.
