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

3

u/Cats_and_Shit Oct 19 '26

In terms of a final executable, there is little to no difference in what you can produce between the two languages.

However if you're talking about libraries then there absolutely is. You can reasonably create complex, reusable data structures with C++ templates that can't reasonably be created in C; and you can write abstract code using things like OOP features and operator overloading that you couldn't in C.

How much any of this matters depends a lot on what you are building. In practice it seems like UI libraries benefit a lot from this kind of thing, but for most other's it's a wash if actually helps or not.