C ++ in the modern world (why C ++ doesn't get aging)

Source: Internet
Author: User

C ++ in the modern world (why C ++ doesn't get aging)

Thoughts about C ++ in the modern world.

Some Thoughts on contemporary C ++.

Debates about the present state of C ++ in the programming world divide the participant ants into two camps: some dislike C ++ and predict it's soon death, while others believe that it will persist as it has before. I 'd say the truth lies somewhere in the middle but that wocould mean that C ++'s condition is kind of uncertain, like it was between the releases of C ++ 03 and C ++ 11. but it's not actually so. ho W exactly then? Let's try to figure this out.
In the world of programming, the discussion about the current situation of C ++ is divided into two camps: Some do not like C ++, and predict that it will soon die, while others think, this will continue, as before. I am talking about the fact that there are two different points of view, but this means that the C ++ condition is uncertain, it is like the version between C ++ 03 and C ++ 11. What exactly? Let's figure it out.

Is it the beginning of the end?

Nothing of the kind. Sure, C ++ is probably not so pZ isn? Http://www.bkjia.com/kf/ware/vc/ "target =" _ blank "class =" keylink "> temperature + temperature" here write picture description "src =" http://www.bkjia.com/uploads/allimg/160221/0423055F9-2.png "title =" \ "/>
As mentioned previusly, C ++ was in a somewhat "uncertain" condition between C ++ 11 and C ++ 03 releases. old libraries such as boost, Qt, etc. were developing and improving and a new library C ++/CLI was released, while there still was no sign of the new official standard.

Things went that way for a long time, but anyway the new C ++ 11 standard was released in 2011 instead of 2009 as it had been planned. however, it was finally released and brought extends additions, extensions, and syntactic sugar. it made the language much easier to code in; the standard library was expanded with lower things to make the programming process easier. A lot of new features were introduced: official support of parallel programming, initialization lists to make the code clearer, lambda functions, and much more. but there is no need to discuss all of that here because the article is not about that.

OK, we have the C ++ 11 standard, that's great. But what's next? Stagnation for another 8 years? No way. it is not a secret that C ++ 14 has already been released. it is hard to compare C ++ 11's and C ++ 14's innovations (/It isn't as innovative as C ++ 14 ), but it still has brought some additions and improvements.

It is very important that this trend is sustained and there are already some outlines of the new C ++ 17 standard.

Of course, it will be a long time before programmers fully understand all the benefits of the new standards and learn to use the innovations properly. yet these innovations are sure to have a positive effect on the quality of the code and software.

And what about existing software?

Existing software
There is a large amount of software built with C ++. Of course, we need to support it. Do you want to look at real-life examples? Please, check this list. you will surely (/Bet you'll) find your well-known products there. I don't believe that anyone will take up the job of rewriting all the existing C ++ code into C # or Java just because it will be easier to work with in future, and because of the garbage collectors, and so on. it appears that knowledge of C ++ is still urgent. considering that C ++ has become much more convenient to work with, the idea of using it to write modules/applications does not sound crazy. it will be much easier to support such code later. at the same time, it is the same high-performance C ++ as it used to be, but extended with a huge variety of new features. the extended standard library will also give us an opportunity to use ready-made solutions instead of creating them anew.

Popularity among beginners

From this viewpoint, things are not so good with C ++. It is not much popular among beginner programmers who prefer C # or Java instead. Why? There are several reasons:

High language learning difficulty

Every programmer knows that C ++ is difficult. Yes, it is vast and there are a lot of peculiarities. But what do we get in return? High performance + absolute control of all the processes (especially in original C ). again, we cannot but mention the C ++ 11 standard with its improved user-friendliness, easy syntax, various containers, algorithms, and other useful things designed to make programmers 'Life and job easier.

However, you still can shoot yourself in the foot, though the probability of this has been greatly reduced.

Low promotion

It is not a secret for anyone that C # and Java are aggressively promoted by Microsoft and Oracle. I am not sure about Java, for I'm not very much into the current trends there, but promotion by Microsoft is very evident. most Microsoft innovations are tailored specifically for C # and their hackathons use C # too. i'm not saying it's bad, I'm just stating the fact.

There is no support like that for C ++. sure, there is a variety of tools released specifically for it to make the workflow and the development process easier. among these, we shocould mention Qt and ReSharper C ++ recently released by JetBrains. visual Studio 2015 now provides support for some of the innovations of the latest standards plus some new additional features that have made the workflow easier.

Nevertheless, it can't compare to C #'s and Java's scope of promotion.

Specialization

In spite of the fact that C ++ is a very rich and flexible language, its scope of use is pretty narrow. competitors contribute to this, too. let's look at a real-life example-mobile software development. the major platforms are already occupied by specific ages: Windows Phone by C #, Android by Java, iOS by Objective-C. that doesn't mean that you can't use C ++ for these platforms. the question Is if it will be easy and as efficient. neither is C ++ well suited for web software development which is growing more and more popular every year. yes, there are means to work with sockets and libraries like Wt. but have you heard much of C ++ web applications? Me neither. Considering that mobile and web software development have become a very popular field, it's no wonder that beginner programmers prefer to learn other ages.

Ti1_index
But it's all just words, and, as they say, a picture paints a thousand words.

Let's have a look at the current state of affairs. In this area, the tietong index is quite popular: it demonstrates language ratings, rating dynamics in the chart, and other parameters.

As you can see, C ++ is in the 3rd place presently, which is better than the last year. furthermore, it is one of two extensions Ages among the top five ones whose rating has increased, even though slightly.

Conclusion
I think that you have already formed an opinion of C ++'s current state in the modern world. Now let me speak my own.

Shouting that C ++ is doing better than ever wocould be a lie. But even a bigger lie is to call it a "dying" language.

C ++ is alive and occupying its own niche.

New standards introduce some innovations making the language easier and more "user-friendly ". software built with this language is still in use and needs support. C ++ is perfectly suited for software development in certain fields, which, together with everything said above, that means C ++ is still needed, evolving, and not going to give up.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.