Skip to main content

Nearly a quarter-century later, why is C++ still so popular?

Despite C++’s downward trend on the TIOBE Programming Community index since 2001, the language’s fall from the coveted top two slots in 2020, vociferous and persistent claims that C++ is “dead like COBOL,” and the inroads the Rust is making in developer circles – C++ is still as viable, vital and relevant as ever. 

There’s no arguing with the language’s ongoing popularity. The numbers are clear in the June 2021 TIOBE index – C++ is the fourth most popular programming language on the planet, grabbing almost 7.5% on the index, and nipping at the heels of C, Java and Python. While it’s true that this is a drop from the language’s TIOBE peak of nearly 18% in 2003, C++’s popularity remains undeniable.

How and why can a programming language standardized nearly a decade before the first iPhone was released remain relevant in the age of cloud and high-performance computing? Let’s take a look…

Still popular, still relevant

What are the core reasons behind C++’s continuing mass-market relevance? Performance, speed, maturity, and more:

  • Performance – C++ remains the gold standard for high-performance software. Adobe uses it, the Unreal Engine is based on it, and so are Chrome and Firefox.
  • Speed – At a time when processing speed remains a bottleneck, C++ is still used to create some of the fastest software on the market.
  • Maturity – Although this may seem obvious, the fact that C++ has been around for nearly 40 years means that most software problems have already been addressed.
  • Ecosystem – C++ is a core part of most programming curricula, and boasts a huge collection of dev tools, third party components, libraries, manuals, and more.
  • Embedded – Most embedded systems, not to mention IoT devices, are powered by firmware written in C/C++.
Not just legacy

It’s true that there is also a strong element of legacy usage powering the continued relevance of C++. Many C++ projects that started decades ago (or projects that started in C++ precursors like C) are still running today. And we’re not talking about trivial stuff. For example, UNIX, Oracle’s MySQL, the Linux Kernel, Microsoft Office, Microsoft Visual Studio, and even some of Apple’s OS X – all were written in C++.

Yet beyond legacy projects, C++ dominates much of today’s greenfields (new development projects), as well. 

C++ is the predominant language of gaming – powering the Unreal Engine and many of today’s biggest and most popular games. C++ also dominates IoT, defense software, and manufacturing applications – pretty much everything that’s considered real time is in C++.

C++ is also still used for new development in performance-intensive workstation applications like CAD/CAM software or compute-intensive server-based applications like high-frequency trading. It’s used for virtual machines, device drivers, runtime interpreters and tooling. C++ also does the heavy lifting in developments of AI-driven applications, and remains a core part of Google’s Android OS. And the list goes on…

The bottom line

C++ in its fourth decade is only gaining in popularity. Newer languages like C# and Java will continue to lead the market in the years to come, yet C++ will remain right alongside. 

C++ is a powerful and continuously-evolving language that helped and continues to help create the foundations of computing as we know it. With its next update set for 2023, a massive developer community, and huge knowledge base – not to mention best practices, external libraries, components and tools that would take decades to mature in newer languages – C++ is too entrenched in modern computing to fade away.

 

The post Nearly a quarter-century later, why is C++ still so popular? appeared first on SD Times.



from SD Times https://ift.tt/3kYdE7S

Comments

Popular posts from this blog

Difference between Web Designer and Web Developer Neeraj Mishra The Crazy Programmer

Have you ever wondered about the distinctions between web developers’ and web designers’ duties and obligations? You’re not alone! Many people have trouble distinguishing between these two. Although they collaborate to publish new websites on the internet, web developers and web designers play very different roles. To put these job possibilities into perspective, consider the construction of a house. To create a vision for the house, including the visual components, the space planning and layout, the materials, and the overall appearance and sense of the space, you need an architect. That said, to translate an idea into a building, you need construction professionals to take those architectural drawings and put them into practice. Image Source In a similar vein, web development and design work together to create websites. Let’s examine the major responsibilities and distinctions between web developers and web designers. Let’s get going, shall we? What Does a Web Designer Do?

A guide to data integration tools

CData Software is a leader in data access and connectivity solutions. It specializes in the development of data drivers and data access technologies for real-time access to online or on-premise applications, databases and web APIs. The company is focused on bringing data connectivity capabilities natively into tools organizations already use. It also features ETL/ELT solutions, enterprise connectors, and data visualization. Matillion ’s data transformation software empowers customers to extract data from a wide number of sources, load it into their chosen cloud data warehouse (CDW) and transform that data from its siloed source state, into analytics-ready insights – prepared for advanced analytics, machine learning, and artificial intelligence use cases. Only Matillion is purpose-built for Snowflake, Amazon Redshift, Google BigQuery, and Microsoft Azure, enabling businesses to achieve new levels of simplicity, speed, scale, and savings. Trusted by companies of all sizes to meet

2022: The year of hybrid work

Remote work was once considered a luxury to many, but in 2020, it became a necessity for a large portion of the workforce, as the scary and unknown COVID-19 virus sickened and even took the lives of so many people around the world.  Some workers were able to thrive in a remote setting, while others felt isolated and struggled to keep up a balance between their work and home lives. Last year saw the availability of life-saving vaccines, so companies were able to start having the conversation about what to do next. Should they keep everyone remote? Should they go back to working in the office full time? Or should they do something in between? Enter hybrid work, which offers a mix of the two. A Fall 2021 study conducted by Google revealed that over 75% of survey respondents expect hybrid work to become a standard practice within their organization within the next three years.  Thus, two years after the world abruptly shifted to widespread adoption of remote work, we are declaring 20