About conditional breakpoints

A post on conditional breakpoints, including two surveys about their usage.

About conditional brealkpoits

by Jens Weller

From the article:

A few weeks ago someone asked me for advice on finding a specific bug in a larger C++ code base...

I don't remember much of the details, but one of the challenges was that at least some of the code based used public members, and in order to find the bug a change in these members is what they wanted to understand. Adding out put statements into a setter function wasn't possible, as the code did not have those. My suggestion was using a conditional breakpoint. And it also made me curious, if and how they're used with in our community.

PVS-Studio 7.20: Unreal Engine, SAST, SCA

The bug related to Unreal Engine's inability to find PVS-Studio by the default path is finally fixed. Starting from Unreal Engine 5.0.3. you you can analyze projects without any workarounds. We've also enhanced the analysis of UE projects: you'll see more true warnings and fewer false ones.

PVS-Studio 7.20: Unreal Engine, SAST, SCA

by Sergey Vasiliev

From the article:

New diagnostics for C, C++:

  • V1086. Call of the 'Foo' function will lead to buffer underflow.
  • V1087. Upper bound of case range is less than its lower bound. This case may be unreachable.
  • V1088. No objects are passed to the 'std::scoped_lock' constructor. No locking will be performed. This can cause concurrency issues.
  • V1089. Waiting on condition variable without predicate. A thread can wait indefinitely or experience a spurious wake up.

Seastar - Asynchronous C++ framework

A review of the Seastar framework

Seastar - Asynchronous C++ framework

By Roman Gershman

From the article:

Seastar shows the true potential of the hardware it utilizes. It has lots of pre-built constructs to cover many synchronization scenarios and I think it’s a perfect candidate to analyze how futures and continuations code might look in C++.

CppCon 2022 Diversity Dinner - Call for mini-talk proposals

CppCon 2022 is just a month away! Here's an update on the Diversity Dinner and workshop, with a CfP for mini-talks:

CppCon 2022 Call For Proposals Diversity Dinner

by Timur Doumler

From the announcement:

We’re happy to announce the Call For Proposals for our Diversity Dinner Event at CppCon 2022!

This year, CppCon’s Diversity Dinner, which will be held on-site at the Gaylord Rockies in Aurora on Wednesday, September 14th, will be expanded to include a workshop to discuss processes, experiences, and paths forward for improving diversity and inclusion in the C++ community.

We are planning a series of 10-minute mini-talks, and we would like you to present at the event! Please submit your mini-talk proposal here by 28 August 2022. You will be notified about the acceptance decision soon afterwards.

The 10-minute mini-talks should be relevant to our audience. While any proposals on the topic of diversity and inclusion in the C++ community are welcome, this year we would like to focus particularly on the empowerment of our attendees. For example, great topics would be anything from “What did I learn from my experience as a deaf software developer” to “How to negotiate to get a 30% raise” or “What’s the best way to get everyone’s input in a diverse team”. Feel free to share your experience, thoughts, and tips!

Whether you’d like to be a presenter, or just attend the Diversity Dinner, listen, and participate in the discussion, please make sure you register for CppCon and book your ticket for the Diversity Dinner. We look forward to seeing many of you there!

Talks and Speaker for Meeting C++ 2022 released

Since yesterday its possible to have a first look at the program of Meeting C++ 2022

A first view on the talks and speakers of Meeting C++ 2022

by Jens Weller

From the article:

I'm excited to release this update for Meeting C++ 2022: the talks and speakers for this years conference!

As you can see in the talk listing, this is still an ongoing process, getting the speaker pictures from the new speakers for this year will still take a while. Creating the schedule will also take a few weeks, as of now Tracks A and B are planned on site, with Tracks C and D being part of the online part.

CopperSpice: Is Virtual Of Value?

New video on the CopperSpice YouTube Channel:

Is Virtual Of Value

by Barbara Geller and Ansel Sermersheim

About the video:

Virtual methods have a specific meaning in C++. Are virtual destructors the same? Where does virtual have no meaning? Can using virtual cause UB? Watch our new video and find out if you really know the difference between delete and destroy.

Please take a look and remember to subscribe!

Adding a REST API with Pistache -- Richard Thomson

Utah C++ Programmers has released a new video:

Adding a REST API with Pistache

by Richard Thomson

From the video description:

Many times you need to integrate your C++ infrastructure with services written in other languages on other machines from other teams. In the past, this might have been accomplished with custom RPC (remote procedure call) networking services that exposed resource data in your application to authorized clients.

HTTP REST (representational state transfer) APIs have become a common architectural pattern for exposing resource data across the network. With SSL/TLS (secure socket layer/transport layer security) connections and the HTTPS protocol, the client/server exchange can be secured. Authentication can be implemented with a session mechanism or the built-in authentication mechanisms in HTTP itself.

This month, Richard Thomson will give us an introduction to pistache, a high-performance REST toolkit written in C++. After an overview of the library, we'll look at what it takes to implement an HTTP server that responds to resource requests.

https://www.youtube.com/watch?v=9BCO5W_Kw3Q