Coroutines in Clang trunk
The future is near!
Coroutines in Clang trunk
From the tweet:
Coroutines are now in Clang Trunk! Working on the Libc++ implementation now. Thanks to @GorNishanov for all the hard work!
March 19-21, Madrid, Spain
April 1-4, Bristol, UK
June 16-21, Sofia, Bulgaria
By Adrien Hamelin | May 31, 2017 12:54 PM | Tags: experimental community
The future is near!
Coroutines in Clang trunk
From the tweet:
Coroutines are now in Clang Trunk! Working on the Libc++ implementation now. Thanks to @GorNishanov for all the hard work!
By Adrien Hamelin | May 25, 2017 11:37 AM | Tags: community
Did you ever use them?
C++ Online Compilers
by Arne Mertz
From the article:
Online compilers can be useful tools to quickly compile a snippet of code without having to install a proper compiler on our computer. They can be especially useful to play with the newest language features, to share code snippets online or to compare different compilers...
By Adrien Hamelin | May 25, 2017 11:35 AM | Tags: experimental community
Interesting library
corsl - Coroutine support library
by Alexander Bessonov
From the article:
corsl
stands for "Coroutine Support Library" and consists of a number of utility classes and functions that simplify asynchronous programming in Windows. It is inspired by an amazingcppwinrt
library, developed by Microsoft.
cppwinrt
was created as a language projection for Windows Runtime, which is supported by Windows 8 or later operating systems. It is impossible to use in prior Windows versions.One of the goals of
corsl
library was being able to use it under Windows Vista or later operating system...
By Adrien Hamelin | May 23, 2017 09:23 AM | Tags: experimental community
Trip report!
C++Now 2017
by Michael Park
From the article:
I just returned from C++Now 2017 in Aspen, CO. This was my second time attending the conference and it was just as amazing as last year. My girlfriend decided to come along this time, since Aspen is such a beautiful place. We flew into Denver, rented a car and took the beautiful 4-hour drive into Aspen. She was very happy . Strongly recommended...
By Felix Petriconi | May 21, 2017 12:10 PM | Tags: community
The recordings of the recent ACCU conference in Bristol are now online.
ACCU 2017 Conference Channel
by the ACCU conference
About the conference:
All the speaker made the this years conference to one of the most successful ones. Below are the speakers listed with C++ sessions.
Day One with Louis Dionne, Anastasia Kazakova, Roger Orr, Marshall Clow, Frank Birbacher, Timur Doumler, Kevlin Henney
Day Two with Hubert Matthews, Arne Metz, Guy Davidson, Peter Sommerlad, John Lakos
Day Three with Atho Truu, Daniel Garcia, Petr Kudriavtsev, Steven Simpson, Sergei Sadovnikov, Dominic Robinson, Bjorn Fahller
Day Four with Vittorio Romeo, Phil Nash, Niall Douglas, Anthony Williams, Odin Holmes
Herb Sutter's closing keynote about C++ meta classes will be released later.
By Adrien Hamelin | May 17, 2017 08:00 AM | Tags: performance community
Have you registered for CppCon 2017 in September? Don’t delay – Registration is open now.
While we wait for this year’s event, we’re featuring videos of some of the 100+ talks from CppCon 2016 for you to enjoy. Here is today’s feature:
The strange details of std::string at Facebook
by Nicholas Ormrod
Summary of the talk:
Standard strings are slowing you down. Strings are everywhere. Changing the performance of std::string has a measurable impact on the speed of real-world C++ programs. But how can you make strings better? In this talk, we'll explore how Facebook optimizes strings, especially with our open-source std::string replacement, fbstring. We'll dive into implementation tradeoffs, especially the storage of data in the struct; examine which standard rules can and cannot be flouted, such as copy-on-write semantics; and share some of the things we've learned along the way, like how hard it is to abolish the null-terminator. War stories will be provided.
By Adrien Hamelin | May 15, 2017 08:00 AM | Tags: intermediate community
Have you registered for CppCon 2017 in September? Don’t delay – Registration is open now.
While we wait for this year’s event, we’re featuring videos of some of the 100+ talks from CppCon 2016 for you to enjoy. Here is today’s feature:
Leak-Freedom in C++... By Default
by Herb Sutter
Summary of the talk:
Lifetime safety means writing code that, by construction, is guaranteed to eliminate two things: (a) use of null/dangling pointers (including pointerlike things such as references, iterators, views, and ranges), and (b) leaks (including the rare 1% case where we’re tempted to admit the possibility of an ownership cycle or need to support lock-free concurrent data structures).
Last year, my CppCon 2015 talk “Writing Good C++14… By Default” focused on (a), null/dangling, because it's the more difficult and usually more serious problem. I gave an overview of a new approach of using static analysis rules to eliminate use of null and dangling in C++. That work continues and we’re in the process of writing down the formal rules for the approach that I showed last year.
This year, the focus will be on (b), leaks: The talk aims to begin with a set of simple rules, the “5-minute talk” to demonstrate that a handful of rules can be taught broadly to programmers of all levels, and results in code that is clean and free of leak bugs by construction.
But, since we’ll still have 85 minutes left, we can use the time to spelunk through a series of “Appendix” code examples, in which we'll demonstrate "why and how" to apply those rules to a series of increasingly complex/difficult situations, and that are aimed at increasingly advanced and “clever” (note: not always a good thing) programs and programmers. We’ll address questions such as: How should we represent Pimpl types? How should we represent trees – what should the child and parent pointer types be, and (when) should they be unique and when shared? How should we deal with “intra-module” or “encapsulated” cycles when you control all the objects in the cycle, such as all the nodes within a Graph? And what about “inter-module” or “compositional” cycles when you don’t know in advance about all the objects that could be in the cycle, such as when combining libraries written by different people in a way that may or may not respect proper layering (notoriously, using callbacks can violate layering)? The answers focus on cases where we have solid guidance, and then move toward some more experimental approaches for potentially addressing the ~1% of cases that aren’t yet well covered by unique_ptr, shared_ptr, and weak_ptr.
By Meeting C++ | May 10, 2017 03:09 AM | Tags: conferences community basics
An update on the ongoing call for talks for Meeting C++ 2017:
Reaching out for new speakers at Meeting C++ 2017
by Jens Weller
From the article:
Maybe you can help in an ongoing effort for the C++ Community...
There is an ongoing effort, to ensure that everyone feels welcome at our C++ events...
By Adrien Hamelin | May 8, 2017 01:00 PM | Tags: experimental community
You want to know what happened?
ACCU 2017 trip report
by Anastasia Kazakova
From the article:
Hi,
We’ve just returned from ACCU 2017 in Bristol, UK. Being amazed by the event I decided to share some notes here, and hope Phil will also jump in and share his impression. There are also reports by Vittorio Romeo, Simon Brand and Samathy Barratt which you might find interesting...
By Jon Kalb | May 4, 2017 07:56 AM | Tags: cppcon community
The next CppCon conference is in Bellevue, Washington September 24-29.
Registration for CppCon 2017 is Open
From the announcement:
In addition to the regular conference program there will be keynotes, lightning talks, and panels. There are also twelve pre- and post-conference classes (both two-day and one-day are offered) as well as a field trip to Boeing's Future of Flight tour.