r/ECE • • Sep 22 '20

C/C++ or Assembly for Embedded Systems? Which one leads to more optimized code?

https://www.youtube.com/watch?v=8LplMSFnBNY&list=PLeAb9_hv082weQ10WcvFfLBlNcCYXlQ4q&index=6
0 Upvotes

1 comment sorted by

1

u/fabytm Sep 22 '20

Hi everyone, In this episode of my educational series on Embedded Systems we are discussing the advantages and disadvantages of C/C++ and Assembly when writing code for Embedded Systems.

With Embedded Systems, it's always important to keep optimization in mind. Because of this, today we are taking a look at how choosing C/C++ or Assembly can impact how optimized your project will be.

No matter how easy or complex your project is, this choice is one of the first choices you have to make when starting from scratch and it's important to understand the differences between these 2 approaches.

C/C++ or Assembly Episode: https://www.youtube.com/watch?v=8LplMSFnBNY&list=PLeAb9_hv082weQ10WcvFfLBlNcCYXlQ4q&index=6

If you're interested in this series, I’ve already explained GPIO, Interrupts, Timers, ADCs, UART, I2C, SPI, CAN Bus, Microcontroller Registers and Memory Addressing Modes in previous videos, here's the playlist: https://www.youtube.com/playlist?list=PLeAb9_hv082weQ10WcvFfLBlNcCYXlQ4q

I hope this will be helpful!