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/tastygames_official Oct 19 '26
I once rewrote a core API endpoint for a client that was causing some problems. They were using some framework and had all this "magic" dependency injection stuff going on and the guy who made it was super proud about how clever it was and easily extensible it was (it wasn't - it was only extensible if you had to do add another use case that already uses the same exact data format).
Anyway, it was very slow so I was brought in to consult, and for shits and giggles I rewrote the most complex use case as just a single, straight-shot program with no OOP, no framework - just literally data in -> process -> data out. I didn't even to any kind of optimization (paralellization, caching, more performant data structures) and got a 175x speed boost. I asked if this would be a direction they would like to go in, and the guy who made the system (CTO or head of tech or whatever) told me "that's not really programming!" He was as just as old as I was, and had a degree in something software-related, but seriously thought that unless you use some kind of hyper-abstraction paradigm it's "not really programming". Absolutely blew my mind.
Since then I've encountered more and more "software architechts" who seem to think that you need it to be complex and abstract in order to be "real". My guess is that it has to do with how they were taught - probably skipped the basics and went right to learning the frameworks/paradigms. The worst part? companies (and customers) seem to not care about performance or simplicity anymore. Sofware is continuously rolled out now so anything that doesn't work today can be fixed tomorrow and people are just OK with it.