News

Twitter for C++ Programmers—Andrey Karpov

This small post is for those programmers who use Twitter or are just about to start doing this. I'm sure developers will find some useful information here.

Twitter for C++ Programmers

by Andrey Karpov

From the article:

So, you are a C++ programmer. If you are wondering if you can find something interesting for yourself on Twitter, I have a few tips for you.

CppCon 2014 The Canonical Class—Michael Caisse

While we wait for CppCon 2015 in September, we’re featuring videos of some of the 100+ talks from CppCon 2014. Here is today’s feature:

The Canonical Class

by Michael Caisse

(watch on YouTube) (watch on Channel 9)

Summary of the talk:

It was a simpler time. A period in which every college student and learn-C++-in-a-weekend duffer could write a class with the assuredness that it would behave as desired when assigned and copied. There was a check list. Complete the checklist, add some domain specific behaviour, bake in the regression oven, and you were done.

Enter C++11 with its fancy new use of the delete keyword, additional applications of explicit, rvalue references, and some perfect forwarding. How are you to write a "simple" class? Should you include a swap? What does movable mean and are there expected semantics? When is the noexcept specifier used?

During this session we will explore the boilerplate of a C++11 class. The session will touch on rvalue references, move semantics, perfect forwarding, explicit, noexcept, initializer lists, and more as it applies to producing the desired semantics for our classes and structs.

Generic Parallel Programming

A new video from Meeting C++ 2014:

Generic parallel programming for scientific and technical applications

by Guntram Berti

From the talk description:

Technical and scientific applications dealing with a high computational load today face the challenge to match the increasingly parallel nature of current and future hardware. The talk shows how the increased complexity of software can be controlled by using generic programming technologies. The process and its advantages are introduced using many concrete examples...

A Casting Show—Arne Metz

In this next article Arne Mertz describes different type casts.

A Casting Show

by Arne Mertz

From the article:

In C++ there are two ways of type conversions: implicit and explicit type conversions. The latter are called type casts and they are what this post is about.

Today: Community Planning Session at 17:00 CET

In just 2 and a half hours the Community Planning Session starts:

Community Planning Session

by Jens Weller

From the article:

The Community Planning Session will be at the #meetingcpp channel in Freenode! Join us from 17:00 CET for the discussion on how to get started & run your own C++ User Group! It does not matter if you are already active in a user group or want to get started, there will be plenty of room for discussions!

The session is one hour long, but you can join the chat anytime later in the evening, usually we'll hang out till late night in EU.

Testdriven C++ with Catch

A new video from Meeting C++ 2014:

Testdriven C++ with Catch

by Phil Nash

From the talk description:

C++ has been notorious for being a second class citizen when it comes to test frameworks. There are plenty of them but they tend to be fiddly to set-up and ceremonious to use. Many of them attempt to follow the xUnit template without respect for the language environment they are written for. Catch is an attempt to cut through all of that...

Bjarne Stroustrup Awarded Dahl-Nygaard Prize for C++

The title says it all.

Bjarne Stroustrup Awarded Dahl-Nygaard Prize for C++ Language

Bjarne Stroustrup has been awarded the 2015 Senior Dahl-Nygaard Prize by AITO, the Association Internationale pour les Technologies Objets[1]  for the design, implementation and evolution of the C++ programming language. This prize is considered the most prestigious in object-oriented computer science.

 

Visual C++ 2015 Brings Modern C++ to the Windows API—Kenny Kerr

Kenny Kerr's article in MSDN Magazine describes how Modern C++ can be used with Windows API to develop efficient and elegant libraries:

Visual C++ 2015 Brings Modern C++ to the Windows API

by Kenny Kerr

From the article:

It’s somewhat ironic that C++ is finally modern enough for COM. Yes, I’m talking about the Component Object Model that has been the foundation for much of the Windows API for years, and continues as the foundation for the Windows Runtime. While COM is undeniably tied to C++ in terms of its original design, borrowing much from C++ in terms of binary and semantic conventions, it has never been entirely elegant. Parts of C++ that were not deemed portable enough, such as dynamic_cast, had to be eschewed in favor of portable solutions that made C++ implementations more challenging to develop. Many solutions have been provided over the years to make COM more palatable for C++ developers. The C++/CX language extension is perhaps the most ambitious thus far by the Visual C++ team. Ironically, these efforts to improve Standard C++ support have left C++/CX in the dust and really make a language extension redundant.