RSS
Логотип
Баннер в шапке 1
Баннер в шапке 2
2020/09/10 17:06:09

C++

The programming language of the high level developed by Byarn Straustrup in 1983. C ++ - the improved version of language C in which object-oriented expansions are added. For C ++ it is rather difficult for studying and understanding, however, it is widespread, is used by professional programmers in system and application programming.

Content

History

2020: Approval of standard C ++ 20

In September, 2020 International Organization for Standardization approved standard C ++ 20. The new version of a programming language appears every three years. C ++ 20 — the unofficial name of the ISO/IEC standard which goes after C ++ 17.

New standard C ++ 20 is submitted

Main innovations following:

  • Modules. The source code which is compiled once and then is reused in the form of the binary file. They are faster alternative to heading files, isolate the code and improve compilation time. Bjarne Stroustrup, the creator of C ++, said that modules should improve compilation time at 5-10 times.

  • Concepts. According to Straustrup, it is compilation time predicates which allow to eliminate need for a large number of metaprogramming. From the technical point of view it is not absolutely new thing, concepts (Concepts) turned from experimental function into a full-fledged part of the language standard. It allows to add semantic restrictions to templates and eventually does the general tooltip balloons when programming by more specific.

  • Library of ranges. Dependent on concepts, ranges of abstract collections.

  • Coroutines, functions which can suspend accomplishment to be renewed later. Are used for asynchronous programming.

Until the end of 2020 the approved specification C ++ 20 will be at a stage of preparation of the document for the publication at which work on editorial editing of spelling errors and typos will be carried out.

At the beginning of November, 2020 the resulting version of the document will be sent to ISO for the publication under the formal name ISO/IEC 14882:2020. Meanwhile, the committee already got to work on the following standard C ++ 23 (C ++ 2b) and at the next virtual meeting will consider possible innovations.[1]

Programming languages

You See Also

Notes