Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why should I use Apache C++ Standard Library rather than any other STL implementation along with Boost?

Tags:

c++

apache

stl

What benefits do I get from Apache C++ standard library that I don't get from STL implementations that come with the compiler and from Boost libraries?

like image 383
Murali VP Avatar asked Oct 19 '09 23:10

Murali VP


People also ask

What are the 3 main libraries of C++?

The Diagnostics Library. The General Utilities Library.

How many libraries are in C++?

C++ comes with two standard libraries: the old C library (libc. lib), and the new C++ library (libcp. lib), which is logically divided into the stream library, and STL, the standard template library.

What is the C++ runtime library?

The C++ runtime library includes classes required by the ISO C++ standard, including std::ostream and std::vector. There is only one C++ runtime library in widespread use with the GNU toolchain. The GNU C++ Library (also called libstdc++) is provided in the same source package as the GNU C and C++ compilers.

Where are C++ libraries located?

Usually, there is '/lib' folder on Windows or '/usr/lib' folder on Linux that contains all the libraries. Once the library is installed, the compiler and the linker know the path of the library to use, and the library is ready for use.


1 Answers

The Apache C++ Standard Library project is a complete implementation of the ISO/IEC 14882 C++ Standard Library.

The most distinguishing characteristic of this implementation of the C++ Standard Library is its portability to a large number of C++ compilers, operating systems, and hardware architectures.

Sounds like if you value extreme portability this is for you. If you don't, most everyone defaults to their compiler's default implementation, so if you ever have trouble, the community will be bigger. If you don't run into implementation issues I don't see why it should make much of a difference.

I typically get flamed for this opinion but I like the idea of having a company I can pay to fix problems, my developers (and I) aren't smart enough (or don't have the time) to dive into internals and fix bugs.

like image 136
Dustin Getz Avatar answered Oct 12 '22 23:10

Dustin Getz