Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why developers use c/c++ for embedded systems rather than high level language like python compared to c? [closed]

can we access memory via python like we do in c/c++? Have been programming in c for a while and came across this question? I see that over 90 percent of the code is written in c/c++ for embedded systems

like image 508
Lokesh Waran Avatar asked Jun 08 '26 07:06

Lokesh Waran


1 Answers

Languages like Python are run through interpretation, which means that you would need another software in between your hardware and your program to read it.

On the other hand, languages like C or C++ are compiled into machine codes, so that the machine can read them directly.

And since you asked about memory management, Python does not give you precise memory management, where as C or C++ does.

like image 54
Ranoiaetep Avatar answered Jun 10 '26 04:06

Ranoiaetep



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!