Dynamic C++
Offered By: CppNow via YouTube
Course Description
Overview
Explore the world of dynamic C++ in this comprehensive conference talk from CppNow. Dive into the challenges of handling diverse data types and datatype conversion in C++ programming. Learn how to effectively transfer data between different formats like relational databases, XML, JSON, and HTML while navigating C++'s type checking mechanism. Discover various type erasure techniques and compare popular C++ type erasure solutions, including historical approaches like ANSI C union, void*, MS COM Variant, and Boost libraries, as well as recent developments such as boost::type_erasure and Facebook's folly::dynamic. Examine the internals, design, capabilities, pros, and cons of solutions like boost::variant, boost::any, boost::type_erasure, folly::dynamic, and Poco::Dynamic. Gain insights into performance benchmarks and understand the balance between C++'s type safety and the necessity of type erasure in modern software development. Through detailed explanations and code examples, master the art of implementing dynamic data storage, operations support, and advanced techniques like variants, visitors, and placeholders in C++.
Syllabus
Introduction
Dynamic C
Existing Solutions
We need good libraries
Quality
Concerns
Dynamic Data Storage
Dynamic Data Operations Support
Ingredients
Variant
Visitors
Variant constructor
Variant storage
Variant summary
Variant not any
Comments
RelaxMatch
Placeholders
Conversion
Binding
Good catch
Storage
Summary
Facebook Dynamic
Taught by
CppNow
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube