r/C_Programming • u/Ok_Reserve996 • 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.
View all comments
Show parent comment
2
u/Kriemhilt Oct 19 '26
Nah, only if they use virtuals or RTTI.
People writing performant and/or embedded C++ just don't use those language features where it matters, and don't suffer any overhead.
Admittedly, having a list of language features that you have to learn, and then also learn when & why not to use, is a lot of extra stuff for C++ learners.
Preferring C is still perfectly reasonable, but there's room to use C++ as "just" C with better type safety, type-safe generics, compile-time metaprogramming, and possibly newer features like reflection and stackless coroutines.
The more Java-like object-oriented C++ that you're arguing against hasn't been idiomatic since maybe 2011, even though it's still widespread in enterprise settings.