> Irrespective of what language you actually choose to write your project in, if you want to learn how databases, caching servers, language runtimes, compilers, allocators, message buses, games, rendering engines, browsers, distributed systems, AI runtimes etc are implemented then the cutting edge as it exists right now is mostly written in C++.
First things that come to mind when one hears:
- databases: PostgreSQL (C), MySQL (C), Berkeley DB (C), SQLite (C)
- caching: memcached (C)
- language runtimes: Java (C++), Python (C), Go (Go), Chez Scheme (C + Scheme)
- compilers: GCC (C compiled as C++), Clang (C++), GHC (C + Haskell)
- allocators: glibc malloc (C), jemalloc (C), tcmalloc(C++)
- message buses: DBus (C)
- games: some people write C, some people write C++, some people write C# and some write Swift
- rendering engines: C++ is admittedly popular here, if that's your thing
- distributed systems: this thing is so hyped that it's implemented in every language in existence
- AI runtimes: people here change the language every 2 decades. they started with Lisp, now it's C++ + Python, later it will be JavaScript
- browsers: I pity anyone who has to work on this software (I have to)
Now let's add one obvious category which was suspiciously left out from this list: operating systems: Unix, BSDs, Linux, Plan 9, Illumos, GNU Mach, Windows NT, XNU --- there is almost no C++ here (and any C++ that there is in just the last two).
So personally, if I were to write something new in this area, I would choose neither C, nor C++, but when it comes to learning something, it's clear that C is more than enough.
I've been working a lot with C++. I've seen its horror. No more.