Type-Safe Interfaces with Modern C++ [Video]

More Information
Learn
  • Use type system to your advantage
  • Create safe, rich and expressive interfaces
  • Use Pattern matching to implement metaprogramming
  • Real world scenarios to tackle programming tasks
About

In this course we’ll learn how to write correct, safe, and performant code by making use of C++’s type system. Firstly, we’ll learn about the Standard Library’s “algebraic data types” and how they can increase safety, performance, and readability of your application/library. We’ll then look at function interfaces. As an example, writing a function that takes a string in such a way that it performs optimally with both std::string and const char* seems like a daunting task. It gets even more tricky with functions taking other functions as input. Is it possible to generalize these issues and provide the “perfect” interface?

Style and Approach

This video course carefully guides the audience through an overview of the new C++17 language and library features, providing realistic usage examples. Implementations of novel utilities are also explained in a step-by-step fashion.

Features
  • Shows how to maximize the power of the latest C++17
  • Covers the usesge of algebraic datatypes to improve safety and performance
  • Implement function parameters and analyze its performance in depth
Course Length 2 hours 13 minutes
ISBN 9781788621960
Date Of Publication 27 Jun 2018

Authors

Vittorio Romeo

Vittorio Romeo is a Software Engineer at Bloomberg LP. He completed his Bachelor's degree in Computer Science at "Università degli Studi di Messina".

He began programming at a very young age and is now a C++ enthusiast. While following the evolution of the C++ standard and embracing the newest features, he worked on several open-source projects, including modern general-purpose libraries and free cross-platform games.

Vittorio is an active member of the C++ community: he participated as a speaker at CppCon 2014/2015/2016, ++it Florence 2015 and at his local Linux Day 2013/2014 events, as a Student/Volunteer at C++Now 2015/2016, at Meeting C++ 2015/2016.

He currently maintains a C++-related blog and a YouTube channel featuring well-received modern C++11 and C++14 tutorials.

When he's not writing code, Vittorio enjoys weightlifting and fitness-related activities, competitive/challenging computer gaming and good sci-fi movies/TV-series.