News for hackers. Stuff that matters.
Re:Stroustrup on next-gen C++: I didn't want to let go of my... by wslh on Friday December 14, 2012 @05:35AM (#4920324)
Beyond the complexity of C++ I think one of the biggest problems with it is the lack of self sufficient standard libraries. There was always something extra that needs to be done. For example, simple things like converting a string to a number involves more thinking and knowledge (using string streams) that what is really necessary.
Re:Stroustrup on next-gen C++: I didn't want to let go of my... by CJefferson on Friday December 14, 2012 @06:41AM (#4920487)
I agree entirely. The one thing which is pushing me from C++ to Haskell is cabal, and a large selection of easy-to-install libraries.

One thing that makes this hard in C++ of course is people tend to get annoyed if libraries don't work with clang, g++ and a recent visual studio. Even then you have the problem of older g++ and old visual studio, and then esoteric compilers. In Haskell on the other hand people tend to always be running a recent version of ghc.

Re:Stroustrup on next-gen C++: I didn't want to let go of my... by ksherlock on Friday December 14, 2012 @09:30AM (#4921038)
c++11 includes std::string/number conversion.

eg:

int stoi(const std::string& str, size_t *pos = 0, int base = 10); std::string to_string(int value);

http://en.cppreference.com/w/cpp/string/basic_string

Re:Stroustrup on next-gen C++: I didn't want to let go of my... by wslh on Saturday December 15, 2012 @01:28PM (#4925879)
But it's 2012! it's late.