Video & On-Demand

CppCast Episode 171: Compile Time Regular Expressions with Hana Dusíková

Episode 171 of CppCast the only podcast for C++ developers by C++ developers. In this episode Rob and Jason are joined by Hana Dusíková to discuss her compile time regular expressions library, the Prague user group and her proposal for implicit constexpr.

CppCast Episode 171: Compile Time Regular Expressions with Hana Dusíková

by Rob Irving and Jason Turner

About the interviewee:

Hana is working as a senior researcher in Avast Software. Her responsibility is exploring new ideas and optimizing existing ones. She also propagates modern C++ techniques and libraries in internal techtalks and gives talks at local C++ meetups.

She studied computer science at Mendel university and subsequently taught several courses there, including: Data Structures, Computability and Complexity, and Formal Languages and Automata.

CopperSpice: What Do You Do When Your Codebase Is Old Enough To Vote?

New video on the CopperSpice YouTube Channel:

What do you do when your codebase is old enough to vote?

by Barbara Geller and Ansel Sermersheim

About the video:

This video explains our perspective on the process of modernizing an old codebase. We discuss what a codebase is, what considerations you should keep in mind during the migration, and strategies to use during the migration process. We also look at which version of the C++ standard to target and why refactoring may not be a viable direction.

Please take a look and remember to subscribe!

Bjarne Stroustrup Interview at CppCon 2018—Steve Carroll, Augustin Popa

Cppcon videos are coming.

Bjarne Stroustrup Interview at CppCon 2018

by Steve Carroll, Augustin Popa

From the video:

We are back with footage from CppCon 2018, which occurred in Bellevue, Washington! In this special GoingNative episode, our host Steve Carroll chats with Gabriel Dos Reis and Bjarne Stroustrup, the creator of C++, who spoke this year about Concepts, an exciting new feature coming soon to C++!

CppCast Episode 170: WebAssembly and nxxm with Damien Buhl

Episode 170 of CppCast the only podcast for C++ developers by C++ developers. In this episode Rob and Jason are joined by Damien Buhl to discuss the current state of WebAssembly, nxxm and the belle::vue library.

CppCast Episode 170: WebAssembly and nxxm with Damien Buhl

by Rob Irving and Jason Turner

About the interviewee:

Damien was a Qt on Android Contributor which he presented at Droidcon 2011 in Berlin. He maintains ADAPT_STRUCT and Boost.Fusion. For a long time Damien worked for a 100 year old IoT company and now works on nxxm. He has a passion for C++ and JavaScript.

New Pluralsight Course: Introduction to Data Structures and Algorithms in C++—Giovanni Dicanio

A new course was published in the Pluralsight library:

Introduction to Data Structures and Algorithms in C++

by Giovanni Dicanio

From the article:

In this course, you’ll learn how to implement some fundamental data structures and algorithms in C++ from scratch, with a combination of theoretical introduction using slides, and practical C++ implementation code.

No prior data structure or algorithm theory knowledge is required. You only need a basic knowledge of C++ language features.



CppCon 2018: Spectre: Secrets, Side-Channels, Sandboxes, and Security—Chandler Carruth

cppcon2018-carruth.PNGThe CppCon 2018 closing keynote is now on YouTube:

Spectre: Secrets, Side-Channels, Sandboxes, and Security

by Chandler Carruth

From the description:

The discovery of speculative execution side-channel attacks (called "Spectre") fundamentally changes the security model of every modern superscalar microprocessor. Extracting secret data (credit cards, cryptographic keys) through side-channels is not new and has challenged the cryptographic community for decades. Despite this, the industry has often been complacent in our response, viewing these attacks as impacting a tiny amount of code and being nearly impossible to weaponize. But speculative execution attack techniques have fundamentally altered the ease and applicability of side-channels, making them a serious threat to computer security. Responding to these issues has impacted CPU design, compiler design, library design, sandbox techniques and even the C++ programming language and standard.

This talk will explain how these kinds of attacks work at a high level and provide a clear set of terminology to describe these classes of vulnerabilities and attacks. It will show how the different variants work at the low level of modern hardware to give a detailed and precise understanding of the mechanics involved on CPUs today.

It will also provide guidance about what makes applications and services vulnerable and how to analyze your software to understand the degree of its exposure. It will include an overview of the numerous different mitigation techniques available, how to deploy them, and what tradeoffs come with them. Some of these mitigations will be covered in detail: how they work at a hardware level, where they don't work, and what attack vectors remain.

Finally, the talk will show how traditional side-channel risks are made substantially easier to exploit due to speculative execution. This will cover how cryptographic and other libraries dealing in high-value secrets need to be adapted to correctly defend against these attacks. Further, it will introduce general problems of sandboxing untrusted code from secret data and the current best techniques in those circumstances.

This talk will be accessible to most C and C++ programmers. No deep background on CPUs, assembly, hardware instructions, Spectre, side-channels, or security is needed.

CppCon 2018: Thoughts on a more powerful and simpler C++ (5 of N)—Herb Sutter

cppcon2018-sutter.PNGThe CppCon 2018 Thursday plenary session is now on YouTube:

Thoughts on a more powerful and simpler C++ (5 of N)

by Herb Sutter

From the description:

Perhaps the most important thing we can do for C++ at this point in its evolution is to make sure we preserve its core strengths while also directing its evolution in ways that make it simpler to use. That is my own opinion at least, so this talk starts with a perspective question: What “is C++,” really? The language continues to evolve and change; as it does so, how can we be sure we’re picking C++ evolutionary improvements that not only don’t lose its “C++-ic” qualities, but make it a better C++ than ever?

At recent CppCons, I’ve spoken about several of my own personal C++ evolution efforts and experiments, and why I think they’re potentially important directions to explore for making C++ both more powerful and also simpler to use. The bulk of the talk is updates on two of these:

1. Lifetime and dangling: At CppCon 2015, Bjarne Stroustrup and I launched The C++ Core Guidelines in our plenary talks. In my part starting at 29:06, I gave an early look at my work on the Guidelines “Lifetime” profile, an approach for diagnosing many common cases of pointer/iterator dangling at compile time, with demos in an early MSVC-based prototype. For this year’s CppCon, I’ll cover what’s new, including:
    • use-after-move diagnoses
    • better support for the standard library out of the box without annotation
    • more complete implementations in two compilers: in MSVC as a static analysis extension, and in a Clang-based implementation that is efficient enough to run during normal compilation
    • the complete 1.0 Lifetime specification being released on the Guidelines’ GitHub repo this month

I’ll summarize the highlights but focus on what’s new, so I recommend rewatching that talk video as a refresher for background for this year’s session.

2. Metaclasses: In my CppCon 2017 talk, I gave an early look at my “metaclasses” proposal to use compile-time reflection and compile-time generation to make authoring classes both more powerful and also simpler. In this case, “simpler” means not only eliminating a lot of tedious boilerplate, but also eliminating many common sources of errors and bugs. For this year, we’ll cover what’s new, including:
    • an update on the Clang-based implementation, which now supports more use cases including function parameter lists
    • new examples, including from domains like concurrency
    • an updated P0707 paper, with more links to working examples live on Godbolt, being posted in the next few weeks for the pre-San Diego committee mailing

CppCon 2018: Simplicity: Not Just for Beginners—Kate Gregory

cppcon2018-gregory.PNGThe CppCon 2018 Wednesday keynote is now on YouTube:

Simplicity: Not Just for Beginners

by Kate Gregory

Kate Gregory has been using C++ since before Microsoft had a C++ compiler. She writes, mentors, codes, and leads projects, in both C++ and .NET, especially for Windows. Kate is a Microsoft Regional Director, a Visual C++ MVP, has written over a dozen books, and speaks at conferences and user groups around the world. Kate develops courses on C++, Visual Studio, and Windows programming for Pluralsight.

From the description:

Many people say that simple code is better code, but fewer put it into practice. In this talk I’ll spend a little time on why simpler is better, and why we resist simplicity. Then I’ll provide some specific approaches that are likely to make your code simpler, and discuss what you need to know and do in order to consistently write simpler code and reap the benefits of that simplicity.