HPX and C++ Dataflow(await) -- Hartmut Kaiser

Uses/Implementation/Discussion about await feature in modern C++.

HPX and C++ Dataflow

by Hartmut Kaiser

From the article:

We have done some experiments with a preliminary implementation of await in Visual Studio 2015RC. We were able to integrate it well with the futures in HPX and the results are very promising. Unfortunately, the await keyword (and resumable functions) will only be available in all mainstream compilers years from today. So for now we will have to make do with our poor-man’s-await –dataflow.

In any case, if you want to try things out (including dataflow), please fork HPX from our Github site and tell us what you think.

Trip Report: C++ Standards Meeting in Lenexa, May 2015 -- Jason Merrill, Red Hat

With a Core language perspective, with extensive notes about modules discussions:

Lenexa C++ Meeting Report (Core Language)

by Jason Merrill

From the report:

Red Hat sent four engineers to the spring C++ meeting this year, in Lenexa, Kansas, a suburb of Kansas City.  It was hosted by Perceptive Software, a division of Lexmark.  The meeting went very smoothly overall; while there were some disagreements they were pretty cordial...

Bloomberg C++ Challenge for Chance to Attend CppCon

Announced by Bloomberg this week, starts June 22:

Got What it Takes? Enter C++ Challenge for Chance to Attend CppCon

From the press release:

This summer, Bloomberg is hosting a weekly coding competition in partnership with the Standard C++ Foundation and CppCon, the flagship C++ conference. Part of Bloomberg’s overall CodeCon program, this contest will award seven problem solvers with a trip to Bellevue, Washington to attend CppCon in September 2015. The competition will be opened only to students currently enrolled in a university or college. Bloomberg CodeCon is a browser-based eLearning platform used by universities in their curricula, and powers coding challenges for college students in the US and Europe.

The series of seven weekly challenges will kick off on June 22, 2015, and each week contestants will be provided a different set of problems to solve via Bloomberg’s cloud-based CodeCon platform. Each week’s winner will earn a trip to CppCon in September. The list of seven winners will be announced and notified via email on August 5.

Additional coding contests will take place at the CppCon event in September for those who attend.

“We are excited to expand the types of competitions we can create and the opportunities CodeCon can provide to contestants,” said Rangan Prabhakaran, Bloomberg R&D developer and creator of CodeCon. “Focusing the competition to C++ and partnering with an industry leading conference like CppCon allows us to open greater opportunities for the programmer community at all skill levels.”

Keep an eye out for further contest details by following us on Twitter @BloombergLabs where we will be announcing the beginning of challenges – and make sure you are checking out the Bloomberg CodeCon site: http://codecon.bloomberg.com/.

CppCon 2014 Founding C++ User Groups--Jon Kalb & Jens Weller

Have you registered for CppCon 2015 in September? Don’t delay – Early Bird registration is open now.

While we wait for this year’s event, we’re featuring videos of some of the 100+ talks from CppCon 2014 for you to enjoy. Here is today’s feature:

Founding C++ User Groups

by Jon Kalb & Jens Weller

(watch on YouTube) (watch on Channel 9)

Summary of the talk:

Jens and Jon will share their experiences starting and working with local user groups and C++ conferences. They share some history and pointers on what has worked for them.

If you'd like to start or be active in a local tech group this session will be a good place to start.

CppCast Episode 15: C++ 11/14 Library Best Practices with Niall Douglas

Episode 15 of CppCast the only podcast by C++ developers for C++ developers. In this episode Rob and Jason are joined by Niall Douglas to discuss best practices for C++ 11/14 libraries.

CppCast Episode 15: C++ 11/14 Library Best Practices with Niall Douglas

by Rob Irving and Jason Turner

About the interviewee:

Niall Douglas is a consultant for hire, is one of the authors of proposed Boost.AFIO and is currently the primary Google Summer of Code administrator for Boost. He is an Affiliate Researcher with the Waterloo Research Institute for Complexity and Innovation at the University of Waterloo, Canada, and holds postgraduate qualifications in Business Information Systems and Educational and Social Research as well as a second undergraduate degree double majoring in Economics and Management. He has been using Boost since 2002 and was the ISO SC22 (Programming Languages) mirror convenor for the Republic of Ireland 2011-2012. He formerly worked for BlackBerry 2012-2013 in their Platform Development group, and was formerly the Chief Software Architect of the Fuel and Hydraulic Test Benches of the EuroFighter defence aircraft. He is a published author in the field of Economics and Power Relations, is the Social Media Coordinator for the World Economics Association and his particular interest lies in productivity, the causes of productivity and the organisational scaling constraints which inhibit productivity.

Dive into C++14 - [2] - `for_each_argument` explained and expanded -- Vittorio Romeo

Vittorio Romeo covers in his second tutorial a very interesting code snippet originally posted on Twitter by Sean Parent `for_each_argument`.

Dive into C++14 - Part 2

by Vittorio Romeo

About the tutorial:

It shows and explains the usage of C++14 compile-time integer sequences, and analyzes a very interesting iterative implementation of an alternative version of Sean's function that takes the desired arity as a template parameter.

This tutorial video is a reviewed and improved version of my C++Now 2015 lightning talk ("`for_each_arg` explained and expanded").

Some possible use cases for the implemented functions are also shown and analyzed:

  • `make_vector(...)`
  • `forTuple` - iteration over tuple elements
  • `make_unordered_map(...)`

The target audience is people with knowledge of C++11 features and some C++14 experience.

Previous episodes are here: Playlist

CppCon 2014 A Deep Dive into 2 Cross-Platform Mobile Apps Written in C++--T. Grue & S. Kabbes

Have you registered for CppCon 2015 in September? Don’t delay – Early Bird registration is open now.

While we wait for this year’s event, we’re featuring videos of some of the 100+ talks from CppCon 2014 for you to enjoy. Here is today’s feature:

A Deep Dive into 2 Cross-Platform Mobile Apps Written in C++

by T. Grue & S. Kabbes

(watch on YouTube) (watch on Channel 9)

Summary of the talk:

At Dropbox we’ve spent the last year and a half building two cross platform mobile apps: the email client, Mailbox, and the photo gallery, Carousel. We started with the goal of a native look and feel with seamless performance but also needed to leverage a small team to build these apps on multiple platforms. We ultimately accomplished this by using C++ to share significant amounts of code in each app.

We’ll cover what portions of our apps we built in C++ and why we left some portions in the platform languages of Java and Objective-C, deep diving into some of the most important components. We’ll also discuss some unexpected benefits, areas we faced technical and human challenges, and some tips and tricks that you can use to leverage C++ to build very high performance apps.

10 tips to be productive in CLion, cross-platform C/C++ IDE -- Anastasia Kazakova

An article on how to improve your productivity when using CLion IDE.

10 tips to be productive in CLion

by Anastasia Kazakova

From the article:

Judging from my own experience as a developer, many C/C++ developers dismiss the idea that an IDE can make them more productive. Because what could be better than the simple and quick Vim or Emacs? Well, let me show you. These 10 CLion tips can take you to a new level of productivity, by letting you focus on the important and complicated tasks while the IDE handles routine jobs for you.

From Smart Code Completion to Inline Variables View...

CppCon 2014 Attendee Video -- CppCon.org

Registration is open for CppCon 2015 this September. If you're considering going, but aren't sure what to expect, check out the two-minute video below to get a feel for the event:

CppCon 2014 Attendee Video

Also in the announcement, more good ammunition for telling your manager why you and your colleagues need to attend this year:

If you are thinking about attending CppCon 2015, but you are still on the fence because you didn’t attend last year’s conference here are some tips to help you decide.

  • You can check out the program from last year to see what kind of sessions we’ll likely have this year.
  • You can check out last year’s speakers to see the type of speakers who you likely get to meet this year.
  • You can watch last year’s sessions on YouTube or Channel 9.
  • You can watch this video [above] with comments from some of last year’s attendees.