Question

I have some questions about C++:

  1. Is C++ an open-source project like Linux, Qt, ... or not?
  2. Which community maintains C++ and develops new versions?
  3. If it is open-source where can one access the source code for C++ implementations?
Was it helpful?

Solution

C++ itself is only a description what the language should be,
without a definite implementation.
Anyone can make his own implementations (compiler etc, runtime library, ...)
and call it C++ if it fits to the description.

http://www.open-std.org/jtc1/sc22/wg21/

And if a implementation is open source depends on the creator.

Examples of implementation (parts):
GCC/G++, libc/libc++, clang (++ too), Visual studio and MS´ runtime...

OTHER TIPS

C++ is developed by an ISO standard committee. There's also a C++ foundation that runs a web site you might want to read.

C++ itself is a language, not a specific implementation, so there's no source code available for the standard/language itself.

Some C++ implementations are open source (e.g., Gnu and Clang).

  1. C++ is a code standard defined by the International Organization of Standardization (ISO). There are many different implementations of the language, but they all tend to conform to C++11. Unlike Linux or Qt, C++ is just a standard, and to use any code written in the language you'll need a compiler. The major compilers (list from Wikipedia) are LLVM Clang, GCC, Microsoft Visual C++, and the Intel C++ Compiler.
  2. C++ revisions are dealt with by ISO, and are influenced primarily by the maintainers of the above four implementations.
  3. Clang and GCC are both open-source, I'm sure if you poke around you can find other conforming compilers but those are the two most used.

C++ is an ISO standard. There are many implementation of compilers (and linkers). GCC is an open source project of many compilers one of which is the C++ compiler, g++:

http://gcc.gnu.org/projects/cxx0x.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top