logo elektroda
logo elektroda
X
logo elektroda

What’s the best language to learn for embedded systems — C, C++, or Python?

63 13
ADVERTISEMENT
  • #1 21678827
    Max Maxfield
    Anonymous  
  • ADVERTISEMENT
  • #2 21678828
    Elizabeth Simon
    Anonymous  
  • ADVERTISEMENT
  • #3 21678829
    Conrad Mannering
    Anonymous  
  • ADVERTISEMENT
  • #4 21678830
    Justin Spencer Mamaradlo
    Anonymous  
  • #5 21678831
    Max Maxfield
    Anonymous  
  • #6 21678832
    Max Maxfield
    Anonymous  
  • #7 21678833
    Elizabeth Simon
    Anonymous  
  • #8 21678834
    Max Maxfield
    Anonymous  
  • #9 21678835
    PeterTraneus Anderson
    Anonymous  
  • #10 21678836
    Elizabeth Simon
    Anonymous  
  • #11 21678837
    PeterTraneus Anderson
    Anonymous  
  • ADVERTISEMENT
  • #12 21678838
    Conrad Mannering
    Anonymous  
  • #13 21678839
    Mike Hibbett
    Anonymous  
  • #14 21678840
    Mike Hibbett
    Anonymous  

Topic summary

The discussion evaluates the suitability of C, C++, and Python for embedded systems programming. C is favored for producing small, fast, and efficient code with low-level hardware access, though it allows potentially unsafe operations. C++ offers powerful object-oriented features but has a steeper learning curve; some curricula introduce C++ before C to ease learning. Python is praised for ease of use and rapid development but generally lacks the performance and embedded support of C/C++. Alternatives like embedded Pascal and BASIC compilers for AVR chips were mentioned, highlighting strong typing and ease of use but less common adoption. The importance of algorithm design over language choice was emphasized, though practical employment in embedded systems typically requires proficiency in C/C++. Handling 64-bit arithmetic on 32-bit processors was discussed, noting compiler-dependent support for 64-bit types like "long long int" and the use of assembly for precise timing and performance estimation. Overall, C and C++ remain the dominant languages for embedded development due to their efficiency and hardware control capabilities.
Summary generated by the language model.
ADVERTISEMENT