Perfect forwarding and universal references in C++ -- Eli Bendersky

plusprofilephoto.pngA nice tutorial on a feature that leads to convenient and safe calling code:

Perfect forwarding and universal references in C++

by Eli Bendersky

From the article:

One of the new features in C++11 aimed at increased code efficiency is the emplace family of methods in containers. std::vector, for example, has an emplace_back method to parallel push_back, and emplace to parallel insert.

Here's a short demonstration of the benefits these new methods bring: ...

HPX version 0.9.9 released -- STE||AR Group

The STE||AR Group has released V0.9.9 of HPX -- A general purpose parallel C++ runtime system for applications of any scale.

HPX V0.9.9 Released

The newest version of HPX (V0.9.9) is now available for download! Please see here for the release notes.

HPX now exposes an API fully conforming to the concurrency related parts of the C++11 and C++14 standards, extended and applied to distributed computing.

From the announcement:

  • We completed the refactoring of hpx::future to be properly C++11 standards conforming.
  • We overhauled our build system to support newer CMake features to make it more robust and more portable.
  • We implemented a large part of the parallel algorithms and other parallel facilities proposed by C++ Technical Specifications N4104, N4088, and N4107.
  • We added many examples such as the 1D Stencil and the Matrix Transpose series.
  • We significantly improved the performance of the library and the existing documentation

28 C++ User Group Meetings in November!

The monthly listing of the upcoming C++ User Group meetings brings a new record in November: 28 User Groups are meeting so far:

C++ User Group meetings in November

by Jens Weller

From the article:

Meetings in November

    4.11 C++ UG OC Qt - Qt Developer Days 2014 San Francisco
    4.11 C++ UG Warsaw - "Co nowego w C++14"
    5.11 C++ UG Saint Louis - First official meeting for our group
    5.11 C++ UG Austin - Austin C/C++ Boost Double Feature
    6.11 C++ UG Malmö/c++ folk - LLVM/Clang on Windows
    8.11 C++ UG C++ Italy - Italian C++ Community Meetup Bologna
    8.11 C++ UG Pune, India - C++11 Move Semantics and STL optimizations + A look at LibreOffic
    12.11 C++ UG Utah - Efficient Parsing with Boost.Spirit
    12.11 C++ UG San Francisco/ Bay area - Presentation and Q&A
    13.11 C++ UG NRW/Aachen - C++ User Gruppe (November)
    13.11 C++ UG Dresden - TDD
    13.11 C++ UG New York - Experience with C++11 in ArangoDB
    17.11 C++ UG Juce - JUCE Meetup Helsinki
    17.11 C++ UG Denver - Denver Tech Center C++ Developers
    17.11 C++ UG Austin - North Austin Monthly C/C++ Pub Social
    18.11 C++ UG Chicago - Highlights of the Standards Committee Meeting
    19.11 C++ UG Düsseldorf - Treffen der C++ User Gruppe NRW
    19.11 C++ UG Santa Barbara - Brett Hall will give a talk on Transactional Memory and C++
    19.11 C++ UG Seattle/NorthWest - Debugging, Profiling, and Diagnostics for C++ in Visual Studio vNext
    19.11 C++ UG Hamburg - C++14
    20.11 C++ UG Juce - JUCE Meetup Paris
    20.11 C++ UG Bristol - Save the date
    25.11 C++ UG Montpellier - Meetup C++ novembre
    26.11 C++ UG San Francisco/ Bay area - Workshop and Discussion Group
    26.11 C++ UG London - monthly MeetUp
    27.11 C++ UG Rhein-Neckar - C++ Usergroup Meeting
    28.11 C++ UG Istanbul - Debugging with GDB
    29.11 C++ UG Russia - Novosibirsk Meeting

Looking for C++17 - Urbana Proposals for Core, Modules, Networking, Reflection and UB

The second part of my series on the C++ Proposals for the next Committee meeting in Urbana:

Looking for C++17 - Urbana Proposals for Core, Modules, Networking, Reflection and UB

by Jens Weller

From the Article:

The second part of my series about the proposals for Urbana, where the next C++ committee meeting will be held. The papers grand us a first view on a distant future - C++17...

C++ and Zombies: a moving question

One of the issues I was thinking about since C++Now: move and move-destruction

C++ and Zombies: a moving question

by Jens Weller

From the article:

This has been on my things to think about since C++Now. At C++Now, I realized, that we've might got zombies in the C++ standard. And that there are two fractions, one of them stating, that it is ok to have well defined zombies, while some people think that you'd better kill them.

Introduction to Modern C++ -- Olve Maudal

A few days ago in Norway, well-known C++ expert Olve Maudal presented the following slides. We hope you enjoy them too.

Introduction to Modern C++ (PDF)

by Olve Maudal

From the presentation:

C++ has evolved a lot since it was first introduced as "C with classes" with primitive support for object-oriented programming. In particular during the last 10-15 years the common use of the language has changed "dramatically" and the language itself has evolved accordingly. Modern C++ (C++11/14) is still very suitable for object-oriented programming, but now the language also provides good support for generic programming and functional programming. All of this while C++ is still a low-level language that can be used to create programs that compete with programs written in assembler both in terms of speed and size.

We start with a brief history of C++ before focusing on new features in C++11/14 and a demonstration of some typical modern programming techniques.

Stroustrup highlights next C++ goals: Parallelism, concurrency -- Paul Krill

infoworld2.PNGToday in Infoworld, perhaps the first article about C++17:

Stroustrup highlights next C++ goals: Parallelism, concurrency

Language founder Bjarne Stroustrup gives early indicators of what to expect in C++17

by Paul Krill

Note: C++14 is just being published and C++17 may sound far away. But it's not -- some compilers, such as Clang 3.5 and Visual C++ "14" CTP, already go beyond C++14 and support draft-C++17 features like the new for(e:v) syntax.

From the article:

... Other major proposals for C++17 include faster compilation (championed mostly by Apple, Google, and Microsoft), contracts, and better type-checking. A meeting about the future of C++ is to be held by the standards committee at the University of Illinois, Urbana-Champa[ign], next week, Stroustrup says.

Second Edition of "The Boost C++ Libraries" Now in Print and Online

boost-schaeling.jpgThe second edition of Boris Schäling's "The Boost C++ Libraries" is now available in print form and (free) online. The print edition is available at Amazon and the online version is here

This edition covers 72 Boost libraries, almost twice as many as the previous edition and uses 430 complete, but as short as possible code examples.

For Boost libraries that were incorporated into the C++11 standard library, differences between Boost and the standard library are highlighted.

The goal of this book is to increase your efficiency as a C++ developer and to simplify software development with C++. The Boost libraries introduced in this book will help you write less code with fewer bugs and finish projects faster. Your code will be more concise and self-explanatory and more easily adapted when requirements change.

 

A very special Sponsorship: CppCon and the Standard C++ Foundation -- Jens Weller

Jens Weller has been doing an awesome job in Europe for the past several years, both in helping to found new C++ user groups and in putting on the really great Meeting C++ conference.

Such good work deserves to be supported, and so we're pleased to report that CppCon and the Standard C++ Foundation have agreed to be an ongoing sponsor of Meeting C++ -- in 2014 and beyond:

A very special Sponsorship: CppCon and the Standard C++ Foundation

by Jens Weller

From the article:

Today I can announce a very special sponsorship: CppCon and the Standard C++ Foundation has joined Meeting C++ as a long time sponsor! The Standard C++ Foundation is for this and the coming years the keynote sponsor for Meeting C++, last year this was BlackBerry.

Back in 2012, Meeting C++ and isocpp.org, the Standard C++ Foundation's website, got started. Both share a common goal: to support C++ and its community. Meeting C++ has helped the founding of a European network for C++, growing from 2 user groups in 2011 to 25 user groups in 2014. With isocpp.org, CppCon and Meeting C++ we want to bring this now to a global level.

Which brings me to what role CppCon has in this sponsorship. The CppCon is the official conference of the Standard C++ Foundation, and similar to Meeting C++ it is a great, community driven C++ Conference. Both share to have their roots in C++Now. While I was at CppCon, people already recognized Meeting C++ as its European counter part. But Europe has a very versatile C++ conference scene, with usingstdcpp in Madrid, Accu in Bristol, ADC in Bavaria, NDC next year in London, and Meeting C++ in Berlin. So Europe has a vivid and growing scene of C++ conferences!

So CppCon and the Standard C++ Foundation is now a long time Keynote & Platinum Sponsor of Meeting C++!

I also asked Herb Sutter about a statement why the Standard C++ Foundation and CppCon is sponsoring Meeting C++, so here is Herb's statement:

CppCon and the Standard C++ Foundation want to support Meeting C++’s great work of fostering C++ in Europe, from the Meeting C++ conference itself to its with incubating and encouraging a growing number of C++ user groups all across Europe.