K
K
Kamil2016-02-03 16:54:14
C++ / C#
Kamil, 2016-02-03 16:54:14

Microcontroller Programming - C or C++?

Hello!
Please tell me, is C++ used in embedded or only pure C?
For example, programming microcontrollers Atmel, Cortex.
Of course, there are translators even with Python, but what is usually used - pure C plus some kind of headers for the selected microcontroller, or is C ++ also used?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Moseychuk, 2016-02-03
@kamil86

It all depends on the resources available. If every byte and every tick counts, then C/ASM. If there are resources with a margin, then at least Python. In the production of real devices, they save on everything, including controllers. Accordingly, C is mainly used to fit all the code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question