Modern Embedded C++ – Deprecation of volatile--Niall Cooling
Were you using it?
Modern Embedded C++ – Deprecation of volatile
by Niall Cooling
From the article:
Compiling the following, straightforward code...
September 13-19, Aurora, CO, USA
October 25, Pavia, Italy
November 6-8, Berlin, Germany
November 3-8, Kona, HI, USA
By Adrien Hamelin | May 20, 2021 12:38 PM | Tags: c++20
Were you using it?
Modern Embedded C++ – Deprecation of volatile
by Niall Cooling
From the article:
Compiling the following, straightforward code...
By Adrien Hamelin | May 20, 2021 12:36 PM | Tags: community
Will you try it?
New Static Analysis Rule for Bounds Checking
by Jordan Maples
From the article:
We have added a new experimental static analysis rule in Visual Studio 16.10 version Preview 3 – C26458, WARNING_PATH_SENSITIVE_USE_GSL_AT. The new warning is a more precise and less noisy version of warning C26446, WARNING_USE_GSL_AT. Both warnings analyse standard containers for unchecked element access and they both share the warning message: “Prefer to use gsl::at() instead of unchecked subscript operator (bounds.4).” This new warning, however, uses path sensitive analysis to track buffer size validation calls to provide a less noisy, more targeted warning compared to C26446...
By Marco Arena | May 20, 2021 09:46 AM | Tags: community
An online-only full day of C++:
Italian C++ Conference 2021
June 19, 2021
In a nutshell
The Italian C++ Conference is the biggest and most successful event series organized by the Italian C++ Community since 2013.
Here professionals, companies and students meet to share experience about C++ development and practices.The Italian C++ Conference 2021 is an online-only event, hosted on the Remo platform, consisting of live sessions and virtual networking.
Since the first edition back in 2016, the conference has hosted amazing speakers like Andrei Alexandrescu, Walter Brown, Michael Wong, James McNellis, Bartosz Milewski, Ivan Čukić, Jens Weller, Phil Nash, Anastasia Kazakova, Peter Sommerlad, Rainer Grimm, Marc Goodner, Vittorio Romeo, and many more.
What can I find in the Italian C++ Conference 2021?
We are scheduling:
- A never seen before keynote by Sean Parent
- 12 live tech talks about C++ development and practices
- all day long virtual networking
You can refer to the event page for more information.
How can I attend the virtual event?
The event will go live on June 19 from 8:30 AM CEST and will last for the entire day.
All the sessions will be hosted on our YouTube channel. However, only registered people can see session links in advance.
Virtual tables will be hosted on Remo, kindly made available by the Standard C++ Foundation. For invitation link and further details, you must register.
Who supports this event?
The event is totally organized by the Italian C++ Community and it is supported by the Standard C++ Foundation.
Do I need to register?
The Italian C++ Conference is totally free (as all the previous editions) but you must register to be invited to virtual tables and to receive session links in advance.
Direct link to (free) tickets here.
See you at the event, safely from home!
By Meeting C++ | May 19, 2021 09:38 AM | Tags: meetingcpp jobs community
Next week Tuesday and Wednesday Meeting C++ again organizes an online C++ job fair.
Meeting C++ online job fair
Meetup event for Tuesday afternoon (15-18:00 CEST)
Meetup event for Wednesday evening (20-23:00 CEST)
by Jens Weller
About the event:
The event gives the community the chance to get to know employers and companies searching for new hires in C++. The events will happen in remo, and are 3 hours long, you can come at any time to chat with the attending companies. Also you can share your CV with some of the companies via cvupload.meetingcpp.com
For employers, you still can book a free table or the listing in the CV Sharing form, which will also give you a bit more of visibility with the logo at meetingcpp.com.
By Adrien Hamelin | May 18, 2021 09:42 AM | Tags: community
New and improved.
Visual Studio 2019 v16.10 Preview Release Notes
From the article:
The Visual Studio 2019 Blog is the official source of product insight from the Visual Studio Engineering Team. You can find in-depth information about the Visual Studio 2019 releases in the following posts...
By Adrien Hamelin | May 18, 2021 09:40 AM | Tags: community
Are you using it?
Finding Bugs with AddressSanitizer: Patterns from Open Source Projects
by Kevin Cadieux
From the article:
AddressSanitizer (ASan) was officially released in Visual Studio 2019 version 16.9. We recently used this feature to find and fix a bug in the MSVC compiler itself. To further validate the usefulness of our ASan implementation, we also used it on a collection of widely used open source projects where it found bugs in Boost, Azure IoT C SDK, and OpenSSL. In this article, we present our findings by describing the type of bugs that we found and how they presented themselves in these projects. We provide links to the GitHub commits where these bugs were fixed so you can get a helpful look at what code changes were involved. If you are unfamiliar with what ASan is and how to use it, you may want to take a look at the AddressSanitizer documentation prior to delving into this article...
By Adrien Hamelin | May 18, 2021 09:37 AM | Tags: basics
Back to basics.
Function Templates
by Rainer Grimm
From the article:
A function template is a family of functions. In this post, I want to dive deeper into function templates.
By Adrien Hamelin | May 13, 2021 12:56 PM | Tags: c++20
Know how they work.
C++20 Coroutine: Under The Hood
by Vishal Chovatiya
From the article:
A coroutine is one of the major feature introduced with the C++20 standard apart from Module, Ranges & Concept. And you see how happy I am to unfold it. I already set the baseline on this topic with my previous article that Coroutine in C Language, where we saw, how suspension-resumption of execution works! With this article “C++20 Coroutine: Under The Hood”, we will see how compiler creates magic & standard library helps it with basic infrastructure making C++20 coroutine more sophisticated(yet complex) & scalable/customizable...
By Adrien Hamelin | May 13, 2021 12:53 PM | Tags: community
Did you attend?
Report from the virtual ISO C++ meetings in 2020 (core language)
by Jason Merrill
From the article:
C++ standardization was dramatically different in 2020 from earlier years. The business of the International Organization for Standardization (ISO) committee all took place virtually, much like everything else during this pandemic. This article summarizes the C++ standardization proposals before the Core and Evolution Working Groups last year...
By Adrien Hamelin | May 13, 2021 12:43 PM | Tags: c++20
The series continue.
C++ coroutines: Promise constructors
From the article:
So far, all of our coroutine promises have had only a default constructor. But the standard actually gives the promise access to the coroutine parameters, if it wants them...
A map through the three major coroutine series
From the article:
Our long national nightmare is not yet over: The three main coroutine series are now done, although that doesn’t mean I’m done with coroutines.Here’s a map through the main series, at least. There is a direct route and a number of scenic routes...
A subtle way your await_suspend can access the coroutine frame when it shouldn’t
From the article:
As we learned in the very start of the series on coroutines, the await_suspend method cannot access the coroutine frame once it arranges for the coroutine to resume because that creates a race condition where the coroutine might already be resumed and possibly even run to completion before await_suspend finishes...
by Raymond Chen