Generic Programming to Rescue Codebases with Multiple JSON Libraries
Offered By: CppCon via YouTube
Course Description
Overview
Explore a conference talk that delves into the challenges of managing multiple JSON libraries in a C++ codebase and demonstrates how generic programming techniques can provide an elegant solution. Learn how templating, SFINAE, and static assertions were used to abstract JSON functionality from JSON Web Token (JWT) logic, allowing for greater flexibility and interoperability between different JSON implementations. Discover the process of creating a JSON Traits system to handle various JSON types and operations, and understand the benefits and potential drawbacks of this approach. Gain insights into advanced C++ concepts such as compile-time type checking, concept-based programming, and library decoupling techniques that can be applied to similar challenges in software development.
Syllabus
Help! My Codebase has 5 JSON Libraries - How Generic Programming Rescued Me - Christopher McArthur
Taught by
CppCon
Related Courses
Boost.TMP - Your DSL for MetaprogrammingCppNow via YouTube The Detection Idiom - A Better Way to SFINAE
CppNow via YouTube Introduction to Modern C++ Techniques - Part II
CppNow via YouTube Introduction to Modern C++ Techniques - Part I
CppNow via YouTube Boost.tmp - Your DSL for Metaprogramming - Part 2 of 2
code::dive conference via YouTube