C/C++ Is C++ Still Relevant in Today's Corporate World?

  • Thread starter Thread starter AlvisPrabhu
  • Start date Start date
  • Tags Tags
    C++ even
Click For Summary
SUMMARY

C++ remains a critical programming language in today's corporate world, utilized for developing compilers, system tools, operating systems, and high-performance applications such as games and simulators. Despite the rise of higher-level languages like Java and Python, C++ offers unmatched speed and hardware control, making it indispensable for performance-sensitive tasks. Many industry professionals advocate for C++ due to its efficiency and capability to handle low-level programming tasks that other languages cannot. Knowledge of C++ is often a prerequisite for technical positions in software development.

PREREQUISITES
  • Understanding of C++ programming fundamentals
  • Familiarity with system programming concepts
  • Knowledge of performance optimization techniques
  • Basic understanding of compilers and toolchains
NEXT STEPS
  • Explore advanced C++ features such as templates and memory management
  • Learn about C++ in game development using engines like Unreal Engine
  • Research the role of C++ in operating systems and embedded systems
  • Investigate performance benchmarking techniques for C++ applications
USEFUL FOR

Software developers, system programmers, game developers, and anyone interested in high-performance computing or low-level programming will benefit from this discussion.

AlvisPrabhu
Messages
17
Reaction score
2
Is c++ even used nowadays? I'm am currently learning it in school and I wonder if it's used in the corporate world.
 
Technology news on Phys.org
AlvisPrabhu said:
Is c++ even used nowadays? I'm am currently learning it in school and I wonder if it's used in the corporate world.
I'm surprised that you would doubt it.
 
  • Like
Likes QuantumQuest and AlvisPrabhu
phinds said:
I'm surprised that you would doubt it.
Why is it still in use?
 
AlvisPrabhu said:
Why is it still in use?
I don't even know how to begin to answer that. Why would it NOT still be in use?
 
  • Like
Likes AlvisPrabhu
phinds said:
I don't even know how to begin to answer that. Why would it NOT still be in use?
Because there are more higher level languages like Java, Python and etc.
 
AlvisPrabhu said:
Because there are more higher level languages like Java, Python and etc.
In what sense do you think that Java, for example, is "more higher" than C++ ?
 
  • Like
Likes QuantumQuest and AlvisPrabhu
AlvisPrabhu said:
Because there are more higher level languages like Java, Python and etc.
There are things you can access using C/++ that you can't in Java or Python.
 
  • Like
Likes QuantumQuest and AlvisPrabhu
I am not defending C++ (in fact, I do not like it), but its parent language ("C") is the only language to consider when writing device drivers. Of course, you could also do such programming in assembly language (and I have done so).

So. So-called high-level languages are high-level in the sense that looking out from the top of the Eiffel tower gives you a high-level view of Paris. But in order to have that high-level view somebody has to design the tower, and somebody has to build it (using simple parts).
 
  • Like
Likes rbelli1, QuantumQuest, AlvisPrabhu and 2 others
  • #10
Java and Python have some nice features that C++ does not have, but I don't think you could call them "higher level". They also have some disadvantages. I know some very good programmers who would prefer to use those languages whenever they can. They are usually significantly slower and the features that give them advantages are often the same features that are outlawed in some applications (such as self-modifying interpretive code) for security and safety reasons.
 
Last edited:
  • Like
Likes QuantumQuest and AlvisPrabhu
  • #11
AlvisPrabhu said:
Because there are more higher level languages like Java, Python and etc.

While it is usually easier to code something up in a language like Java or Python than in C or C++, there are many cases where the same code in C or C++ can be hundreds of times faster than in Java or Python. Even when you use Python, when you access a "number-crunching" feature like numpy, the real work is done by code written in C or C++.
 
  • Like
Likes FactChecker, QuantumQuest and AlvisPrabhu
  • #12
AlvisPrabhu said:
Is c++ even used nowadays? I'm am currently learning it in school and I wonder if it's used in the corporate world.

What operating system are you using on your computer? Just google to find what the role of C++ is, regarding system tools, toolchains and several utilities in it.
In the real world, C++ is used to develop compilers, system tools / utilities, is an integral part of many operating systems, is used for scripting database systems, is used to develop software for the web (web servers, web browsers as two examples), is used to develop simulators and other advanced software, is used to develop games, game engines and game development tools and the list goes on. In many of the previous cases there are other languages that are also used but C++ is prevalent because it is extremely fast, reliable and gives sufficient control of hardware.

AlvisPrabhu said:
Because there are more higher level languages like Java, Python and etc.

I think that you mean that they are easier for us to use. While this is true in general it has the downside that the added software layers i.e what sums up to the easier for us logical abstraction, takes a lot of control from the hands of the programmer. The price is reduced execution speed compared to C++ and also no direct control in cases that is needed.
 
  • #13
AlvisPrabhu said:
Because there are more higher level languages like Java, Python and etc.

"higher level" does not imply better...

I agree with my colleagues, I consider C++ to be a better language, matter a fact, I wouldn't even consider you for a position if you didn't know C++ and given my requirements, if you knew Fortran also you'd at least be called in for a formal interview.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
69
Views
10K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
81
Views
7K
Replies
18
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K