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/LordRybec Oct 19 '26
Sure, let's use a language with a bunch of advanced features but not use them, because of performance and memory issues, instead of using a language that is well suited to the application.
I'm not saying C++ doesn't have places where it works and sometimes even well, but if your application requires cutting out a significant portion of the language, you are probably using the wrong tool for the job.
And yes, part of the problem with C++ is that the number of features it has make it a lot harder to learn (and a lot harder to remember all of them even once you have learned them). Yeah, you don't need to know them all to program well in C++, but again, if you aren't going to learn and take advantage of the features, maybe you'd be more comfortable with a different tool.
As far as things like type safety, my specific use cases would be hindered by increased type safety. Type manipulation stuff is often quite necessary in embedded systems and low level programming in general, so stricter type safety means more unnecessary hoops to jump through. That said, increased type safety when you don't need heavy type manipulation can be really nice. Haskell has incredibly strong type safety, which often means that if you can get your program to compile, it has very few or maybe even no bugs. (Which is a bit disconcerting, to be honest.)