C++ Weekly Episode 12: C+17's std::any -- Jason Turner
Episode 12 of C++ Weekly.
C++17's std::any
by Jason Turner
About the show:
In this episode Jason introduces std::any from the upcoming proposed C++17 standard.
June 16-21, Sofia, Bulgaria
September 13-19, Aurora, CO, USA
October 25, Pavia, Italy
November 6-8, Berlin, Germany
November 16-21, Kona, HI, USA
By Jason Turner | May 23, 2016 05:24 AM | Tags: c++17
Episode 12 of C++ Weekly.
C++17's std::any
by Jason Turner
About the show:
In this episode Jason introduces std::any from the upcoming proposed C++17 standard.
By Marco Arena | May 23, 2016 12:09 AM | Tags: community
The talks James McNellis gave at the Italian C++ Conference 2016 are now online:
An Introduction to C++ Coroutines
One of the most interesting new features being proposed for C++ standardization is coroutines, formerly known as “resumable functions.” C++ coroutines are designed to be highly scalable, highly efficient (no overhead), and highly extensible, while still interacting seamlessly with the rest of the C++ language.
This session will consist of an in-depth introduction to C++ coroutines. We will begin by looking at the rationale for adding coroutines to the C++ language and then look at several examples that show [1] how to write a coroutine, [2] how to use the extensibility model to adapt existing libraries to work with C++ coroutines, and [3] how coroutines really work “under the hood,” using the Visual C++ implementation as a reference. Finally, we will look briefly at the status of the C++ coroutines proposal and some of the competing ideas.
Adventures in a Legacy Codebase
Three years ago, the Visual C++ team undertook a project to substantially modernize and redesign the Microsoft C Runtime (CRT) with the goals of improving long-term maintainability, performance, and usability. This work culminated with the release of the Universal CRT with Windows 10 and Visual Studio 2015.
In this session, I will discuss our team’s experiences from this project. We’ll look at some of the techniques we used in modernizing a decades-old codebase and look at some of the challenges that we faced, lessons that we learned, and best practices that we developed during the course of the project.
By Adrien Hamelin | May 20, 2016 02:51 PM | Tags: None
Some deadlines are close!
Conference Submission Deadlines
by Jon Kalb
By Adrien Hamelin | May 20, 2016 02:42 PM | Tags: community
Which static tools do you use?
An Overview of Static Analyzers for C/C++ Code
by Aleksandr Alekseev
From the article:
C and C++ programmers tend to make mistakes when writing code.
Many of these mistakes can be found using -Wall, asserts, tests, meticulous code review, IDE warnings, building with different compilers for different operating systems running on different hardware configurations, and the like. But even all these means combined often fail to reveal all the bugs. Static code analysis helps improve the situation a little. In this post, we will take a look at some static analysis tools. [The author of this article is not an employee of our company, and his opinion may be different from ours.]...
By Adrien Hamelin | May 20, 2016 02:39 PM | Tags: performance c++11
Have you registered for CppCon 2016 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 2015 for you to enjoy. Here is today’s feature:
Faster Complex Numbers
by André Bergner
Summary of the talk:
Complex numbers are an important tool from mathematics enabling many problems to be written in a more generic form. The C++ standard library comes with an implementation to work with complex numbers in a natural way.
Motivated by useful real world examples from theoretical physics and audio dsp I will discuss benchmarks of std::complex and demonstrate how alternative implementations, naïve or advanced ones based on expression templates, outperform std::complex and can compete with hand-crafted C code (depending on compiler and std lib). A quick introduction to expression templates will be provided.
By Marco Arena | May 20, 2016 01:34 AM | Tags: community
A brief article on the first edition of:
Italian C++ Conference 2016
by Marco Arena
From the article:
After two years of meetups and participations in Italy, last Saturday we had more than 100 people attending (130+ registered people – ~22% drop) the first edition of the Italian C++ Conference, in Milan, our new free event fully focused on C++. Hosted by “Bicocca” University and sponsored by RogueWave Software, we delivered 5×60′ technical sessions, 1×30′ sponsor demo session and 1×40′ Q/A panel. It has been a great day!...
By Adrien Hamelin | May 19, 2016 01:36 PM | Tags: None
A new version is out!
What’s New in ReSharper C++ 2016.1
by Dmitri Nesteruk
From the article:
Apart from the change in version numbers, ReSharper C++ comes with plenty of new features as well as improvements to existing functionality. Here’s what we’ve got in store for you with this release.
By Adrien Hamelin | May 19, 2016 01:33 PM | Tags: c++14 advanced
Do you want to know what happened at the last C++Now?
C++Now 2016 trip report
by Vittorio Romeo
From the article:
I am very happy to have been part of the C++Now conference for another year, and I hope that I'll be able to come back in the future.
This year, I participated both as a speaker and as a Student/Volunteer.
The experience was, again, simply fantastic: I spent four days in a beautiful location, attended some of the most technically advanced and innovative C++ talks and, most importantly, had the occasion to meet a lot of amazing people.
As a Student/Volunteer, my tasks included: recording the talks, helping during the lunch break/picnic, assisting speakers during sessions and generally helping attendees when possible.
I'd like to thank Jon Kalb, Bryce Lelbach, and the rest of conference staff for making my participation possible.
In this trip report, I'll briefly describe some of my favorite talks and what I have learned from them, then introduce my sessions...
By Adrien Hamelin | May 19, 2016 01:30 PM | Tags: experimental
Here are the latest news about the future of C++:
Jacksonville C++ Core Language Meeting Report
by Jason Merrill
From the article:
There were three of us from Red Hat at the C++ meeting in Jacksonville, FL back in February, and it seems I never posted my trip report. So here it is now.
This was a fairly eventful meeting, as we’re rapidly approaching C++17 and so the big question on everyone’s minds was “What’s going to make it in?” In the end, many things did, but not Concepts, which some had been hoping for as a headline item.
We started and finished the week looking at the list of Technical Specifications that we were considering incorporating into C++17...
By Blog Staff | May 19, 2016 10:48 AM | Tags: None
A new WG21 paper is available. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N4591
Date: 2016-05-19
WG21 telecon meeting: Pre-Oulu
by Herb Sutter