Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #8358
| From | computer45 <computer45@cyber.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | C++ is getting better , read this |
| Date | 2018-02-15 20:11 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <p64pgk$tv8$8@dont-email.me> (permalink) |
Hello.... C++ is getting better , read this: --- According to C++ modules proposal: 1 Introduction Modules are a mechanism to package libraries and encapsulate their implementations. They differ from the traditional approach of translation units and header files primarily in that all entities are defined in just one place (even classes, templates, etc.). This paper proposes a module mechanism (somewhat similar to that of Modula-2) with three primary goals: Significantly improve build times of large projects Enable a better separation between interface and implementation Provide a viable transition path for existing libraries While these are the driving goals, the proposal also resolves a number of other longstanding practical C++ issues (initialization ordering, run-time performance, etc.). Since header files are typically included in many other files, the growth in build cycles is generally superlinear with respect to the total amount of source code. If the issue is not addressed, it is likely to become worse as the use of templates increases and more powerful declarative facilities (like concepts, contract programming, etc.) are added to the language. Modules address this issue by replacing the textual inclusion mechanism (whose processing time is roughly proportional to the amount of code included) by a precompiled module attachment mechanism (whose processing time—when properly implemented— is roughly proportional to the number of imported declarations). The property that client translation units need not be recompiled when private module definitions change can be retained. --- Thank you, Amine Moulay Ramdane.
Back to comp.programming | Previous | Next | Find similar | Unroll thread
C++ is getting better , read this computer45 <computer45@cyber.com> - 2018-02-15 20:11 -0500
csiph-web