YoVDO

Identifying Monoids - Exploiting Compositional Structure in Code

Offered By: CppNow via YouTube

Tags

C++Now Courses C++ Courses API Design Courses Monoids Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the power of monoids in C++ programming through this comprehensive conference talk from C++Now 2019. Delve into the concept of composition as a fundamental aspect of code architecture and discover how monoids serve as an underutilized compositional pattern prevalent in various types of code. Learn to identify and leverage monoids to enhance large-scale code architecture, similar to how recognizing algorithms improves small-scale architecture. Examine numerous examples of monoids beyond std::accumulate with addition, and develop an intuition for recognizing this ubiquitous design pattern. Gain insights into thinking about code capabilities at a higher level and understand how monoid-based thinking can benefit API design, incremental computation, system state evolution, and work distribution. Explore C++ language and library features that support the implementation of monoids in code, covering topics such as strings, containers, heterogeneous collections, union and identity, configuration, optional operations, generic fold, HyperLogLog, CountMinSketch, and accumulation.

Syllabus

Introduction
Examples
Strings
Containers
Heterogeneous Collections
Union and Identity
Configuration
Identity
Optional
Any Operations
Generic Fold
HyperLog Log
CountMinSketch
Accumulation


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