News for hackers. Stuff that matters.
Re:Rule of Zero (C++) by pjmlp on Saturday November 24, 2012 @03:09AM (#4824870)
In what planet have you been leaving?

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++?

Re:Rule of Zero (C++) by bostonpete on Saturday November 24, 2012 @09:57AM (#4825406)
Qt provides most or all of the things in your list -- just to name one.
Re:Rule of Zero (C++) by pjmlp on Saturday November 24, 2012 @02:00PM (#4826093)
You forgot my requirement, in addition to the list:

> 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

Re:Rule of Zero (C++) by bostonpete on Saturday November 24, 2012 @02:08PM (#4826121)
I didn't forget it, I ignored it b/c it seemed unrelated to your original complaint about a lack of quality libraries. Linux/Windows/Mac support is plenty for many people.

Out of curiosity, what platforms do you need to use which are unsupported by Qt but work well with other languages...?

Re:Rule of Zero (C++) by pjmlp on Saturday November 24, 2012 @02:22PM (#4826168)
All the UNIX systems used in Fortune 500 companies, mainframe systems and embedded devices.

The consulting world is much more than just Linux/Windows/Mac.

Re:Rule of Zero (C++) by bostonpete on Saturday November 24, 2012 @02:47PM (#4826237)
Who said anything about consulting? Your complaint was the lack of quality libraries, not the lack of quality libraries which can be used in every possible computing environment.

Which languages/libraries work well in all environments?

Re:Rule of Zero (C++) by pjmlp on Saturday November 24, 2012 @03:58PM (#4826429)
Java for one, as strange as it might seem.

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.