Video & On-Demand

CopperSpice: Lambdas In Action

New video on the CopperSpice YouTube Channel:

Lambdas in Action

by Barbara Geller and Ansel Sermersheim

About the video:

In this video, we discuss lambda expressions in detail and provide precise definitions of similar sounding terms like functor, function object, function pointer, and std::function. By explaining some real examples from our production code, we show how lambda expressions can be used to simplify complex operations by providing encapsulation for the implementation of a callback.

Please take a look and remember to subscribe!

CppCon 2018: Concepts: The Future of Generic Programming (the future is here)--Bjarne Stroustrup

We’re in the final countdown to this year’s CppCon, which starts on September 16. To whet your appetite for this year’s conference, here’s another of the top-rated talks from last year. Enjoy – and register today for CppCon 2019!

Concepts: The Future of Generic Programming (the future is here)

by Bjarne Stroustrup

Summary of the talk:

Concepts have arrived. They will change the way we think about programming. Implementations are available in GCC and Clang. Many fundamental concepts are in the standard committee’s working paper and the next generation of the STL depends critically on concepts.

After briefly introducing concepts, I consider their role in design. What makes a good/useful concept? How do you design good concepts and use them well?

From a language-technical point of view, concepts are a way of constraining template arguments. From a design perspective, they are a focus comparable to user-defined types (classes): The intent is for a concept to represent a fundamental concept in an applications domain (hence the name “concept”).

I will mention technical issues recently resolved  or currently being resolved in the committee, but my primarily focus is not concepts as a language mechanism but as a support for the development of good software.

Presenter Interviews: Kate Gregory--Kevin Carpenter

Discover the person presenting at CppCon.

Presenter Interviews: Kate Gregory

by Kevin Carpenter

From the article:

In this week’s presenter interview, Kevin Carpenter welcomes back Kate Gregory to preview her upcoming talk Naming is Hard: Let’s Do Better. Kate’s talk will discuss how bad we as C++ developers can be when it comes to naming things and how we could improve.

CopperSpice: Inline Namespaces

New video on the CopperSpice YouTube Channel:

Inline Namespaces

by Barbara Geller and Ansel Sermersheim

About the video:

In this video, we discuss the purpose of namespaces and the functionality C++11 added with the inline namespace syntax. Join us to find out how inline namespaces can help library developers maintain backward compatibility and how they work.

Please take a look and remember to subscribe!

Secure Coding in C/C++ with Robert C. Seacord of NCC Group

In episode 35 of The Secure Developer with Robert C. Seacord of NCC Group

 

Secure Coding in C/C++

with Robert C. Seacord of NCC Group

 

In episode 35 of The Secure Developer, Guy is joined by Robert C. Seacord of NCC Group, who champions the continued practice of coding security in C and C++, and offers practical advantages to using various programming languages in the Agile era.

Yuri Minaev - Don’t take on C++ programmers support

It's a kind of humorous talk about the life of a development team which also deals with supporting C and C++ programmers. Actually, working with programmers is a lot of fun, and it is very productive. Not only can they send you a memory dump, but sometimes even partially solve the problem themselves and give you a hint. However, there's a flip side. If they have a technical issue, be ready to consume pints of coffee and loads of cookies. I shall tell you about our interesting and funny experience related to technical support of the PVS-Studio analyser - for example, how the tool goes nuts when coming across a 26mb string literal.

Don’t take on C++ programmers support

by Yuri Minaev

Topics:

  • About tech support
  • We test a lot, but...
  • 9 circles of testing
  • Stories
  • Don't trust standard library functions (sprintf)
  • More on standard functions (isspace)
  • Preprocessor fairy tales
  • 26mb ought to be enough for anybody
  • On logics
  • Initialisation is easy
  • When robots get tired
  • Detour (#include in weird places)
  • WinAPI is fun
  • The scariest bug (warning filters)