September 2021

Coercing deep const-ness--Barry Revzin

A complex problem.

Coercing deep const-ness

by Barry Revzin

From the article:

In C++, template deduction doesn’t allow for any conversion. A type matches the pattern, or it’s a deduction failure. But there’s one sort-of exception to this rule, and it’s an exception that everyone has taken advantage of...

CPPP call for proposal closes September 30th -- Fred Tingaud

The Call for Proposals for the CPPP conference that will be fully online December 1-3 2021 is open.

CPPP call for proposals is open until September 30th.

By Fred Tingaud

From the article:

The proposal portal at https://proposal.cppp.fr was designed with new speakers in mind and each field comes with advices on how to write your proposal to increase your chances. If you are thinking about proposing your first talk, we hope that it will encourage you to do it.

CppCon 2019 A C++ Approach to Physical Units--Mateusz Pusz

Registration is now open for CppCon 2021, which starts on October 24 and will be held both in person and online. To whet your appetite for this year’s conference, we’re posting videos of some of the top-rated talks from our most recent in-person conference in 2019 and our online conference in 2020. Here’s another CppCon talk video we hope you will enjoy – and why not register today for CppCon 2021 to attend in person, online, or both!

A C++ Approach to Physical Units

by Mateusz Pusz

Summary of the talk:

This talk presents a new C++20 library for Dimensional Analysis and Physical Units handling. The essential requirements of the library are user-friendliness, compile-time safety, no runtime overhead, and easy extensibility. The syntax of the library is built around a few easy to learn concepts and strictly checked at compile time, which makes it easy to learn and very forgiving for the novice.

The talk presents motivating examples of why we need such a library, compares the library with other similar products on the market, describes the basic usage and interface, and highlights the benefits of the design choices made.

The talk is also a great showcase of practical usage of new C++20 features that make the library interface easier to use, maintain, and extend. Concepts, contracts, class types provided as non-type template parameters, and other C++20 features make a huge difference in how we can design Modern C++ code.

C++20 Modules — Complete Guide--Šimon Tóth

Are you ready to use them?

C++20 Modules — Complete Guide

by Šimon Tóth

From the article:

Compilers and build systems are slowly starting to support C++20 modules. Perfect time for you to read this guide and benefit from the massive compilation speedups. This article reflects the state as of September 2021...

Ordering asynchronous updates with coroutines--Raymond Chen

Will you use it?

Ordering asynchronous updates with coroutines, part 1, part 2, part 3, part 4, part 5

by Raymond Chen

From the article:

I opined some time ago on the perils of holding a lock across a coroutine suspension point. But say you have a bunch of asynchronous activity that you want to serialize. How can you do that without a lock?

There are a few different scenarios in which you may need to protect asynchronous activity. We’ll look at them over the next few days...

Audio Programming with BASS -- Richard Thomson

Utah C++ Programmers has released a new video.

Audio Programming with BASS

by Richard Thomson

From the video description:

This month, Richard Thomson will give us an introduction to audio programming with the BASS library.  Specifically, we'll look at this library with an eye towards playing back MOD music and triggering events during playback in response to interesting things happening during the score.

BASS is an audio library for use in software on several platforms. Its purpose is to provide developers with powerful and efficient sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF, custom generated, and more via OS codecs and add-ons), MOD music (XM, IT, S3M, MOD, MTM, UMX), MO3 music (MP3/OGG compressed MODs), and recording functions. All in a compact DLL that won't bloat your distribution.

https://www.youtube.com/watch?v=-d4aDtBWB08

Meeting C++ 2021: choosing the online platform

Meeting C++ reveals on which online platform the conference and the online C++ User Group will be hosted this year.

Choosing Hubilo as an online platform for Meeting C++ 2021

by Jens Weller

From the article:

During July and August I did compare many online platforms, to choose the one to host this years online conference and the events of Meeting C++ online in. The winner is Hubilo.

Its been a difficult and time consuming process to compare the various platforms and get a feel for what online events will have a look and feel in 21/22 when choosing a certain platform. I'd like to be able to host all formats of the online User Group in one platform: the talks, the panels and especially the online fairs for C++ jobs/recruiting and tooling. This years conference will host all these event types too!