r/C_Programming • • Oct 18 '26

C limitations

Hi all,

I am currently learning c++. Its okay. Not sexy but also not as bad as some say.

The reason I am learning c++ is that I have read that C has limitations as soon as a project gets more complicated. For example, if you make a scientific calculator with many features like graphs etc.

Trading engines/tools are also not recommended to programm in C.

Since I have not learned C and have only read from some old forum posts etc, I cannot confirm/deny these facts.

I am aware that "everything" is possible and that C++ comes with QoL improvements especially with Classes. But I assume that doesn't mean that someone has to use C only for kernel work. Embedded is also possible with C++ right?

I would appreciate your thoughts and opinions.

The goal of this post is to understand how and if C could fit me more with my goals and what real advantages or disadvantages C has.

51 Upvotes

114 comments sorted by

View all comments

4

u/InevitablyCyclic Oct 19 '26

On your last point, yes embedded is possible in c++. But embedded covers a huge range, from an 8 bit micro with a few k of memory to a full Linux system with masses of memory and an SSD.

Arduino is c++, that shows that even the low end can be c++ if you want to and aren't at the point of counting every single bytes and clock cycle. But for microcontrollers you tend then to use a very limited subset of the c++ features. Most (if possible all) memory allocation and object creation is done on startup and forget about using exceptions. It's more c with objects than desktop c++.