New Static Analysis Rule for Bounds Checking--Jordan Maples

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...

Italian C++ Conference 2021

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!

The Meeting C++ online job fair is next week!

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.

Finding Bugs with AddressSanitizer: Patterns from Open Source Projects--Kevin Cadieux

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...

How to speed up building ang analyzing of your project with IncrediBuild?

"How much longer are you going to build it?" - a phrase that every developer has uttered at least once in the middle of the night. Yes, a build can be long and there is no escaping it. One does not simply redistribute the whole thing among 100+ cores, instead of some pathetic 8-12 ones. Or is it possible?

How to speed up building ang analyzing of your project with IncrediBuild?

by Maxim Zvyagintsev

From the article:

At the same time, the build completed successfully, but something really bad happened now. I had to dig into the logs, or rather, the compilation dump. That's where I found the problem. The point was that these macros are declared in the local precompiled header, whereas we only want to preprocess the file. However, the include header that was used to generate the precompiled header is different from the one that is included to the source file! The file that is used to generate the precompiled header is a 'wrapper' around the original header included into the source, and this wrapper contains all of the required macros.

C++20 Coroutine: Under The Hood--Vishal Chovatiya

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...

Report from the virtual ISO C++ meetings in 2020 (core language)--Jason Merrill

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...