no benchmarks. what gives ?
Yeah, and no mention about boost::async, which is in Boost, ie almost standard.
Writing high-performance servers in modern C++
11–20 of 77 posts
Re: Writing high-performance servers in modern C++
#12A lot of people state that Python/PHP/Ruby/Javascript on the dynamic language side and Java and other JVM languages on the statically typed side and much quicker to develop than C++, but being a very experienced Java programmer and a decent Javascript programmer I find that I can program just as fast with C++ as long as you use the right choices of libraries and use C++11 or greater. With libraries like Boost, fbfoll…
Do you have any pointers to learn modern C++?
The Definitive C++ Book Guide and List : http://stackoverflow.com/questions/388242/the-definitive-c-b...
I like the breakdown of books by their goals in this FAQ : https://isocpp.org/wiki/faq/how-to-learn-cpp
I would say 'C++ Primer 5th Edition' and 'The C++ Programming Language 4th Edition' are good.
And of course, Effective Modern C++, although the other Effective series books from Meyers are a must read.
http://www.informit.com/store/c-plus-plus-primer-97803217141...
http://shop.oreilly.com/product/0636920033707.do
http://www.informit.com/store/c-plus-plus-programming-langua...
http://www.informit.com/store/effective-c-plus-plus-55-speci...
Re: Writing high-performance servers in modern C++
#13Re: Writing high-performance servers in modern C++
#14A lot of people state that Python/PHP/Ruby/Javascript on the dynamic language side and Java and other JVM languages on the statically typed side and much quicker to develop than C++, but being a very experienced Java programmer and a decent Javascript programmer I find that I can program just as fast with C++ as long as you use the right choices of libraries and use C++11 or greater. With libraries like Boost, fbfoll…
Re: Writing high-performance servers in modern C++
#15A lot of people state that Python/PHP/Ruby/Javascript on the dynamic language side and Java and other JVM languages on the statically typed side and much quicker to develop than C++, but being a very experienced Java programmer and a decent Javascript programmer I find that I can program just as fast with C++ as long as you use the right choices of libraries and use C++11 or greater. With libraries like Boost, fbfoll…
Modern C++ is indeed pretty productive. It's the tooling and compile times that hold it back.
What I mean by physical design is, if a particular function is prone to be edited constantly, keep that function definition in it's own .cpp file.
of course I'll agree that in this day and age, we shouldn't worry about those sorts of things.
Re: Writing high-performance servers in modern C++
#16Re: Writing high-performance servers in modern C++
#17Earlier quoted context omitted.
Yeah, and no mention about boost::async, which is in Boost, ie almost standard.
Folly, the library underneath wangle, is running on top of boost::asio, so this is basically an abstraction on asio two layers up.
Re: Writing high-performance servers in modern C++
#18Important info for some folks (i.e. myself).
Re: Writing high-performance servers in modern C++
#19Earlier quoted context omitted.
Modern C++ is indeed pretty productive. It's the tooling and compile times that hold it back.
Perhaps you mean link time? If you're spending a lot of time compiling you are probably suffering from other problems. Most of C++'s issues with compilation come from needing to re-compile entire .cpp files because of a change in a depending .h file. If you properly forward your class declarations instead of including a header in a .h file, don't do template meta meta magic, and think about physical design a bit, you…
Re: Writing high-performance servers in modern C++
#20A lot of people state that Python/PHP/Ruby/Javascript on the dynamic language side and Java and other JVM languages on the statically typed side and much quicker to develop than C++, but being a very experienced Java programmer and a decent Javascript programmer I find that I can program just as fast with C++ as long as you use the right choices of libraries and use C++11 or greater. With libraries like Boost, fbfoll…
You highlight the daunting prospect of moving to C++. You need to pick half a dozen separate libraries and glue them together. Sure, once you've done that a few times it's pretty quick, but it's a scary prospect for a Django dev who can program in C.