News

Handling errors is canceling operations--Andrzej KrzemieĊ„ski

Understand why it is done that way.

Handling errors is canceling operations

by Andrzej Krzemieński

From the article:

I actually covered this topic before, in this post, but given my recent experience I feel it needs reiterating and a bit of restructuring. It boils down to the observation that any error handling I have encountered — be it error codes, errno, exceptions, error monad — is about canceling operations that depend, directly or indirectly, on the function that reported failure. This has some consequences on how we look at our program flow and what principles we should follow when responding to failures in our programs...

The Rule of Zero in C++--Jonathan Boccara

What's your opinion?

The Rule of Zero in C++

by Jonathan Boccara

From the article:

Now that we’re clear on the Compiler-generated Functions, the Rule of Three and the Rule of Five, let’s put this to use to reflect on how to use the “= default” feature to have expressive and correct code...

ACCU 2019 Slides and Trip Report--Anthony Williams

Another one.

ACCU 2019 Slides and Trip Report

by Anthony Williams

From the article:

I attended ACCU 2019 a couple of weeks ago, where I was presenting my session Here's my number; call me, maybe. Callbacks in a multithreaded world.

The conference proper started on Wednesday, after a day of pre-conference workshops on the Tuesday, and continued until Saturday. I was only there Wednesday to Friday...

Second Annual C++ Foundation Developer Survey "Lite"

cpp_logo.pngThe Standard C++ Foundation's second annual global C++ developer survey is now open. As the name suggests, it's a one-pager:

2019 Annual C++ Developer Survey "Lite"

Please take 10 minutes or so to participate! A summary of the results, including aggregated highlights of common answers in the write-in responses, will be posted publicly here on isocpp.org and shared with the C++ standardization committee to help inform C++ evolution.

The survey closes in one week.

Thank you for participating and helping to inform our committee and community.

ACCU 2019 Videos Online -- ACCU

The ACCU held their yearly conference from 2019-04-10 to 2019-04-13 in Bristol, UK.

ACCU 2019 Videos Online

by ACCU

About the videos

Nearly all videos are in the meanwhile online. Within the 5 tracks were 3 with C++ content: E.g. the keynotes by Kate Gregory and Herb Sutter and sessions by Alisdair Meredith, Anthony Williams, John Lakos, Marshall Clow, Nial Douglass and many more.

How to Iterate Through Directories in C++

Do you know how to iterate through directories in modern C++? How to work with std::filesystem to solve this task?

How to Iterate Through Directories in C++

by Bartlomiej Filipek

From the article:

How would you implement a function that searches for files with a given extension? For example, finding all text files? or *.cpp files? To code that solution you need a way to iterate through directories. Is that possible in C++ out of the box using the standard library? Let’s see some techniques and new elements that C++17 added.

ACCU - Trip Report--Ori Ben-Shir

Another one.

ACCU - Trip Report

by Ori Ben-Shir

From the article:

I was attending this year ACCU conference, and I am very eager to share my impression of the conference. ACCU is an annual conference located in the lovely city of Bristol. The conference is mostly dedicated to C++ developer. While C++ developers are in mind, the conference is not limited to C++ material, and it includes talks for various topics and even some other programming languages. Yes, there was a Rust talk and even a workshop this year.
It was the first time I have attended a big conference. And I must admit it was a great pleasure! I’m in love with the concept of technical talks. I find it to be the most effective learning method for me. The opportunity to meet a lot of tech enthusiastic is both fun and enriching. Wrapping it all with a vacation for such a lovely city such as Bristol is immensely satisfying. If you have the opportunity, I encourage you to attend this conference next year. I also think the organizers did a great job. I genuinely like the extra social session. The pub quiz, for instance, was perfect, though some of the code samples from it were as far from perfect as possible.

I have a lot to say about the content itself. I tend to believe I have more to say than you want to read. So let’s focus on some of the talks I think are more relevant...