As for quality libraries, I'd almost say that we had too much of them. For every platform and every different C++ methodology/subset (from "C with Classes, ocassionally Structs" to "Post-Modern Template Abuse") had its own set of supporting libraries. Often good enough, but most of the time not the ideal source for your particular project, and very hard to integrate, if every code paragraph follows a different paradigm, depending on what library your calling.
Still don't see a good solution to that. Quite likely that your GUI library won't quite mesh with your collections, data parsing or network support.
I heard it at this year FOSDEM.
Since GNAT availability many universities seem to be making use of it. As for the industry I guess it still constrained to the usual types of systems where Human life is very important.
As for the libraries you're doomed to have that for all libraries that are not part of the standard library. Even the "comes with batteries" languages suffer from this when you need to integrate external libraries.
If Java and .NET didn't happen, maybe there would already be an InteliJ for C++. I am looking forward for the tooling progresses made possible by using the compiler as plugins, as clang shows.
Especially if the rest of the code base was the usual OO class forest.
I knew of Ada use in teaching, it seems to be quite popular for some advanced "software engineering" courses. Then again, I've seen a pretty great amount of Algol-family languages there, out of proportion to the actual practical use. Oberon was quite popular for a while, as it was a very small language to teach and the barriers to running your first programs were basically non-existant (as you can easily call your module function directly, compared to the rather perplexing "public static void main" of introductory Java courses).
Many library authors will choose to make a C interface instead, as that basically makes the library usable by almost any language, but C++ seems near the top when it comes to language-specific library support.
What are the C++ libraries for
- Networking
- XML
- Reflection
- ORM
- Database access
- UI
- Asynchronous programming
- Make use of std::string and STL, instead of providing their own types.
- Web Services
- ...
Don't forget that your list should provide libraries that work across multiple OS (UNIX and Windows are not enough) and multiple compilers (besides gcc, clang, msvc).
The libraries also need to be compatible with the possibility that the developers compile with exceptions, RTTI enabled/disabled.
Did you know that STL was actually developed in Ada and later on adopted to C++?
> Don't forget that your list should provide libraries that work across multiple OS (UNIX and Windows are not enough) and multiple compilers (besides gcc, clang, msvc).
EDIT: typo
Out of curiosity, what platforms do you need to use which are unsupported by Qt but work well with other languages...?
The consulting world is much more than just Linux/Windows/Mac.
Which languages/libraries work well in all environments?
Most of those environments have JVMs available. Although. a few of them, like i/OS, still only have Java 5 or 6 available.
Don't take me wrong I am not against C++ and do use it in some of my employer projects. Then again we need to fill our code with #ifdefs when the need to support multiple environments with different sets of compilers arises.
For example, even Boost with its exhaustible list of compilers and operating systems does not support:
- HP-UX
- i/OS
- QNX
- VxWorks
- Symbian (yes people still develop for them)
This is just one library, it gets worse if we need to take a few proprietary libraries into the equation.
Now, for doing native code programming, C++ is the best currently available language, and I wish that with C++11 and the upcoming revisions, it gets better.
C++ suffered for a long time due to lack of quality libraries.
This now seems to be finally changing, at least until another language is a good enough replacement for it.
I am keeping an eye how D and Rust evolve, additionally Ada seems to be getting some users, at least here in Europe.